File to Edit to add backplot tabs

More
19 Jul 2011 14:08 #11648 by piasdom
BigJohnT wrote:

I'd say you have your path wrong... I'm guessing that it is /home/mill/emc2/nc_files/slot.ngc
John


i set it to that folder(i changed it before) and still the same error.
could the files be corrupt ?

The search function on this forum sucks and I never use it anymore. I use instead Google site search like this

Open up google and use this in the search bar.

stuff I'm searching for site:http://www.linuxcnc.org

This has the advantage of also searching the wiki site and other EMC resources.
John


Thanks, i'll use dat from now on !

Please Log in or Create an account to join the conversation.

More
19 Jul 2011 14:34 #11650 by BigJohnT
If you can open them up in Axis or Gedit with File/Open I'd say they are good.

John

Please Log in or Create an account to join the conversation.

More
19 Jul 2011 14:43 #11651 by piasdom
i did have trouble before with opening any sub file. i had stop trying to get it to work.
subs work fine as long as they're in the file. can't call from outside.

Please Log in or Create an account to join the conversation.

More
19 Jul 2011 15:25 #11653 by piasdom
when i do slot, it gives the error but loads in the bottom panel.
so i can see what it would do. it has my parameters that
i entered under the tab before finalizing. all the file
paths are correct. attached is the file "slot" tab created.

File Attachment:

File Name: auto.ngc
File Size:1 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
19 Jul 2011 16:30 #11655 by BigJohnT
Your probably missing the helper files used by slot.ngc, look in the ngcgui README file for info on what files are needed by slot.ngc.

John

Please Log in or Create an account to join the conversation.

More
19 Jul 2011 19:03 - 19 Jul 2011 19:07 #11658 by piasdom
i read the whole readme file and got everything as said. maybe i got
an old readme file.


File Attachment:

File Name: README-d6f...34f0.txt
File Size:17 KB
Attachments:
Last edit: 19 Jul 2011 19:07 by piasdom.

Please Log in or Create an account to join the conversation.

More
19 Jul 2011 20:12 #11659 by BigJohnT

Subfiles:
gosper.ngc Recursive-calls example (adapted from flowsnake.ngc)
The inputs for gosper specify the two end points
of a line that are one side of an equilateral triangle
* helix.ngc Helix (inside/outside, cw/ccw) Also does D Shape.
* helix_rtheta.ngc Invoke helix.ngc with center specified as r,theta
* hole_circle.ngc Invoke helix.ngc for holes milled on a circular pattern
*+ slot.ngc Slot (inside, ccw) (adapted from useful-subroutines.ngc)
*+ iquad.ngc inside quadrilateral (cw/ccw)
*+ oquad.ngc outside quadrilateral (cw/ccw)
*+ ihex.ngc inside regular hexagon (cw/ccw)
*+ ohex.ngc outside regular hexagon (cw/ccw)
hw.ngc Text from truetype-tracer
Generated with the following shell commands:
cat <<eof >|hw.ngc
o<hw> sub
#<zsafe> = #1
#<zcut> = #2
#<scale> = #3 (=0.0003)
#<feed> = #4
eof
truetype-tracer HelloWorld | grep -Eiv =\|m2\|m02 >>hw.ngc
echo "o<hw> endsub" >>hw.ngc

xyz.ngc Axis exerciser-- test program for running x,y,z axes
in simple patterns useful for servo tuning etc.
backlash.ngc Use for backlash measurements with indicator on x,y,or z axis

Postamble Files:
bye.ngc Simple example postamble with user message


Helper files (these contain utility routines used by the Subfiles above):
gosper_sub.ngc Recursive function used with gosper.ngc
dir.ngc Determine direction for polygon traversal
entry.ngc Compute a quarter-arc preentry and radius vector
cross.ngc Cross product for two vectors
dot.ngc Dot product and cosine for two vectors
line.ngc Compute length, angle, cos, and sin for a line
move.ngc Compute coordinants for rotation, scale, and offset
ostop.ngc Insert optional stop with continue message
spin.ngc Startup message for user to set spindle speed
M110 Clear notifications in axis-gui


Do you have all the Helper files listed above in your nc_files directory?

John

Please Log in or Create an account to join the conversation.

More
20 Jul 2011 09:56 #11676 by piasdom
i have all the files and helpers in the listed directory. do they need
to be in the default directory listed below? i tried to use
/home/mill/emc2/nc_files/ and had the same result so i just used my
directories.

default dir=
NGCGUI_SUBFILE = /home/username/emc2/nc_files/slot.ngc
NGCGUI_SUBFILE = /home/username/emc2/nc_files/simp.ngc

my directories =
USER_COMMAND_FILE = /home/mill/emc2/configs/Axis/tkapp.py
NGCGUI = /home/mill/emc2/configs/Axis/ngcgui.tcl
TKAPP = /home/mill/emc2/configs/Axis/ngcgui_app.tcl
TKAPP = /home/mill/emc2/configs/Axis/ngcgui_ttt.tcl
NGCGUI_FONT = Courier -10 normal
NGCGUI_PREAMBLE = /home/mill/Gcode(Linux)/in_std.ngc
NGCGUI_SUBFILE = /home/mill/Gcode(Linux)/slot.ngc
NGCGUI_SUBFILE = /home/mill/Gcode(Linux)/simp.ngc
NGCGUI_SUBFILE = /home/mill/Gcode(Linux)/iquad.ngc
NGCGUI_SUBFILE = ""
NGCGUI_POSTAMBLE = /home/mill/Gcode(Linux)/m2.ngc

Please Log in or Create an account to join the conversation.

More
20 Jul 2011 11:26 #11683 by BigJohnT
The "username" part is just a placeholder you need to use your actual path.

John

Please Log in or Create an account to join the conversation.

More
20 Jul 2011 11:39 #11684 by piasdom
i know, that's not the one i'm using right now.
it's /home/mill/emc2/configs/Axis/ and /home/mill/Gcode(Linux)/.
was just showing defaults that came with the program.

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum