Simple G-Code Generator

More
9 years 5 months ago #92903 by BigJohnT
Replied by BigJohnT on topic Simple G-Code Generator
I saved the file with linux line endings and it ran but I got a segmentation fault when editing a rectangle pocket. Same thing with 3.3.1.

You might add the option to set the default units and plane.

JT
The following user(s) said Thank You: Erik

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

More
9 years 5 months ago #92926 by Erik
Replied by Erik on topic Simple G-Code Generator
I think I fixed the segmentation fault issue. There were mandatory parameter checks (avoid endless loops) missing in three classes.

Version 3.3.2. is now available.

I am not sure if I understood your suggestion. Default units and plane for each object, or overall? For overall I got the preamble (custom code). I guess the metric default values are an issue, right? They can be edited in the code in the file <nclasses> class <Basedata>.

Found another issue on my LinuxCNC controller. I do not get axis-remote working from within the script when started stand-alone (the button <Save & LCNC Load> should be activated if LCNC is running.

Erik

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

More
9 years 5 months ago #92999 by BigJohnT
Replied by BigJohnT on topic Simple G-Code Generator
Aye a check box for units and plane would be nice. So you don't have to edit it each time.

JT

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

More
9 years 5 months ago #93036 by Erik
Replied by Erik on topic Simple G-Code Generator
I assume setting the units is only needed once. At the moment there are two ways possible:
1. edit the default preamble in the code <sgg.py> or...
2. put a g-code file named <preamble.ngc> into the directory of the script. This will be loaded as the default. Same works for the postamble.

Setting the plane makes sense for each object. Unfortunately the object classes are not written with this in mind. I will have a look on that...

Erik

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

More
9 years 2 months ago #97418 by RogerHq
Replied by RogerHq on topic Simple G-Code Generator
Hello Erik!
Tried your console version of multiline text2 gcode converter, works beautifully in linuxCNC emulated mode (have no HW interface for my Mori Seiki Junior yet but might build an interface sooner or later, depends on how long my FANUC 10M controller remains in shape...) So my question is: How do I create code for my 10M? It takes simple ISO, no advanced macro and/or program logic in the code afaik...
Greetings /Roger

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

More
9 years 2 months ago #97426 by Erik
Replied by Erik on topic Simple G-Code Generator
Hi Roger,
all object modules create g-code without subroutines except the subroutine module. So the resulting code might work with your 10M.
btw: just uploaded the latest version 3.6.0.
Erik

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

Time to create page: 0.433 seconds
Powered by Kunena Forum