I need to make a change to the M6 Path.Command to include all speeds defined in the ToolController as parameters.
I checked all post processors we have and it's not gonna be an issue except for phillips_post.py (I've contacted the original author to deal with that). All other post processors either ignore M6 entirely, ignore all parameters of M6 or just care about parameter 'T'.
In case you have your own post processor running, make sure M6 processing is resilient to arbitrary parameters. This is actually a general guideline - a post processor should only add to the output stream what it has explicitly processed - and never rely on the similarity between Path.Command and g-code!
Change to M6 command
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- sliptonic
- Veteran
- Posts: 3459
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: Change to M6 command
Let's also start a wiki page about writing/modifying post professors and include that excellent tip.
- sliptonic
- Veteran
- Posts: 3459
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: Change to M6 command
Let's also start a wiki page about writing/modifying post professors and include that excellent tip.
Re: Change to M6 command
That is an excellent idea - we should also include (document) the actual Path.Command names and their parameters that are used (and the FC version they were introduced/deprecated ....).
-
- Posts: 261
- Joined: Wed Jul 23, 2014 10:10 am
Re: Change to M6 command
I am the one, who's breaking all the postprocessing writing rules
Can you point me, where this change is made in the code, in witch branch, and where is leading to? I/m still don't have what to do while lying in the bed under thepills
Can you point me, where this change is made in the code, in witch branch, and where is leading to? I/m still don't have what to do while lying in the bed under thepills
Re: Change to M6 command
As it turned out I didn't need to make the change after all - so I decided to hold off on it for the time being. Sometime in the future we will have to rethink our current Path.Command structure and I'll pick it up again at that point.Konstantin wrote: ↑Fri Aug 18, 2017 9:04 am Can you point me, where this change is made in the code, in witch branch, and where is leading to? I/m still don't have what to do while lying in the bed under thepills