G code Generators

More
30 May 2021 13:47 #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

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

More
30 May 2021 15:35 #210686 by tommylight
Replied by tommylight on topic G code Generators

what am i missing ?
Attachments:

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

More
30 May 2021 16:07 - 30 May 2021 16:09 #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
Last edit: 30 May 2021 16:09 by BigJohnT.

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

More
30 May 2021 16:11 #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

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

More
30 May 2021 17:03 #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 or Create an account to join the conversation.

More
30 May 2021 17:21 #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
The following user(s) said Thank You: tommylight

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

More
31 May 2021 12:13 #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

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

More
31 May 2021 13:59 #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

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

More
31 May 2021 17:09 #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.
Attachments:
The following user(s) said Thank You: BigJohnT

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

More
04 Jun 2021 12:47 #211153 by BigJohnT
Replied by BigJohnT on topic G code Generators
Finally making progress on the pocket routine.


JT
Attachments:
The following user(s) said Thank You: tommylight

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

Time to create page: 0.269 seconds
Powered by Kunena Forum