No problem, and without the image - which is only now visible here too - it is not easy to understand where a tombstone has place in this discussion.
exporting gcode in mmg file
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: exporting gcode in mmg file
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: exporting gcode in mmg file
I have changed config of fablin post procesor and it almost works but I can't get rapid feeds to be output as G00 instead of the defalt G0
Thanks for the time you so graciously spent to help me.
Re: exporting gcode in mmg file
I have changed config of grbl post processor and it almost works but I can't get rapid moves to be output as G00 instead of G0, I also need the spindle start command to Be M03 instead of M3 thank for any reply
Thanks for the time you so graciously spent to help me.
Re: exporting gcode in mmg file
In philips_post.py I do the inverse and remove the leading 0 (line 422).
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: exporting gcode in mmg file
I don't think I understand what you mean
Idon't see a leading zero
Idon't see a leading zero
Last edited by newtothis on Sat Dec 03, 2022 5:25 pm, edited 1 time in total.
Thanks for the time you so graciously spent to help me.
Re: exporting gcode in mmg file
I'm looking there for G01, G02, ... and change it to G1, G2, ... You have to do the opposite and look where G1, G2, ... come from and change their creation.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: exporting gcode in mmg file
Thank You I appreciate the Help.
Thanks for the time you so graciously spent to help me.
Re: exporting gcode in mmg file
That is much but it outputs command that I see no way of supressing
Thanks for the time you so graciously spent to help me.
Re: exporting gcode in mmg file
This is a slightly different topic than changing G0 to G00.
What commands are you trying to suppress?
If they are fixed commands in the preamble or postamble just strip those commands out of the postprocessor.
If they are part of the actual code from the model then you will need to trap them and remove them or change them as they come through. All model codes are addressed one-by-one in order. If you look at the postprocessor code carefully you will find the section that handles that sequential processing.
It does not take a lot of Python knowledge to make a few changes, but you can get help here if you give more details.
Gene
Re: exporting gcode in mmg file
N20 G18
N30 G90
N40 G51
N50 G52 (ersetze G55-G59)
N60 G54
N70 G00Z43.100
N80 (quarter inch endmill001)
N90 M6T2
I don't need any of it but I cant have any of it that is not in () exept N70 G00Z43.100
N30 G90
N40 G51
N50 G52 (ersetze G55-G59)
N60 G54
N70 G00Z43.100
N80 (quarter inch endmill001)
N90 M6T2
I don't need any of it but I cant have any of it that is not in () exept N70 G00Z43.100
Thanks for the time you so graciously spent to help me.