Closed GoogleCodeExporter closed 8 years ago
I haven't used Mach3 so I'm unsure but I wondered if you thought it appropriate
to define a 'mach3.py' and 'mach3_read.py' file in a similar fashion to the
emc2.py and emc2_read.py files. The beauty with Python is that you can
'inherit' from the iso.py file and just replace those methods that are
different. eg: we can effectively have a 'mach3.py' post processor file that
does everything just like iso.py EXCEPT for those methods that have been added
to the mach3.py file.
I did this for EMC2 so that space characters could be included in the GCode. I
then based my machine's post processor on the emc2.py code rather than on
iso.py. In my case I mean the HM50.py post processor. In HM50.py, I replaced
the tool change command to include a rapid movement in machine coordinates so
that the Z axis was as high as my machine would allow before issuing the T2M6
tool change command. The scenario being the HM50 is just like EMC2 except for
the tool change command. The EMC2 processor is, in turn, just like iso.py
except for some other exceptions.
If the need to add the G43H? command is something that Mach3 requires then we
could add all Mach3-specific changes to that.
I would be happy to setup a mach3.py file as an example but I don't want to do
that if you believe I've missed the point. I should also mention that this is
just what I think. If you would prefer to leave it as you have it here then
that's fine with me too.
Original comment by David.Ni...@gmail.com
on 9 Aug 2010 at 3:09
David,
Yes, I think a 'mach3.py' and 'mach3_read.py' would be appropriate for him.
It would be great if you could add these.
Dan.
Original comment by danhe...@gmail.com
on 9 Aug 2010 at 6:59
Fillip,
I have gone ahead and added a mach3 post process pair of files. Feel free to modify them as you need.
David Nicholls
Original comment by David.Ni...@gmail.com
on 9 Aug 2010 at 1:10
Thanks for making this change. This makes total sense to create a machine type
for Mach3. Based on my usage so far I think this is the only change that is
needed to get the output to work with Mach3. If I discover anything more I
will let you know.
Original comment by filipmul...@q.com
on 10 Aug 2010 at 2:30
Original comment by David.Ni...@gmail.com
on 10 Aug 2010 at 3:52
Original issue reported on code.google.com by
filipmul...@q.com
on 9 Aug 2010 at 2:26Attachments: