- Posts: 3410
- Thank you received: 0
G code Generators
5 years 5 months ago #210675
by BigJohnT
G code Generators was created by BigJohnT
Around December 2007 I started writing the Simple G code Generators in Python and Tkinter. I'm re-writing them with Python 3 and PyQt5. I have the facing routine done AFAIK if anyone would like to test it that would help. There is a deb that will install a menu item in the LinuxCNC menu if it is there, otherwise it goes in Utilities I think.
github.com/jethornton/gcode
JT
github.com/jethornton/gcode
JT
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 5 months ago #210686
by tommylight
what am i missing ?
Replied by tommylight on topic G code Generators
Attachment not found
what am i missing ?
Please Log in to join the conversation.
5 years 5 months ago #210689
by BigJohnT
Replied by BigJohnT on topic G code Generators
My guess is units and a proper preamble... and cut depth and step depth are not negative but if it makes more sense they could be...
Thanks for testing.
Edit: gnipsel.com/linuxcnc/gcode/face.html
JT
Thanks for testing.
Edit: gnipsel.com/linuxcnc/gcode/face.html
JT
Please Log in to join the conversation.
5 years 5 months ago #210690
by BigJohnT
Replied by BigJohnT on topic G code Generators
And it looks like I'd be better off using Python decimal numbers instead of floats.
JT
JT
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 5 months ago #210697
by tommylight
Replied by tommylight on topic G code Generators
Milling uses negative values for everything Z under the top of the material that is 0, and positive for above the material top and safe height and rapid moves.
Please Log in to join the conversation.
5 years 5 months ago #210702
by BigJohnT
Replied by BigJohnT on topic G code Generators
Ok, I'll change that. I added units to the first page and uploaded a new deb.
Thanks again for testing and input.
JT
Thanks again for testing and input.
JT
Please Log in to join the conversation.
5 years 5 months ago #210792
by BigJohnT
Replied by BigJohnT on topic G code Generators
You can save the settings now and I've fixed the precision to 4 places.
JT
JT
Please Log in to join the conversation.
5 years 4 months ago #210798
by BigJohnT
Replied by BigJohnT on topic G code Generators
What type of path should a pocket routine use? Just G1 or an arc in the corners?
JT
JT
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 4 months ago #210806
by tommylight
Replied by tommylight on topic G code Generators
It works ! 
Also tested on a sim, everything looks good, might need more testing.
Also tested on a sim, everything looks good, might need more testing.
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.371 seconds
