Auto add bCNC section blocks for each path operation in the gcode.
This enables bCNC user to easily highlight and move gcode blocks, for example arranging pieces for cutting layout, or dis/enable for optional cut/skip of blocks for example to make simpler tool change process.
There is no change to gcode produced, other than the bCNC comment blocks being added by default, and the standard comments disabled.
These are both controllable by parameters, so potentially this version could replace the standard grbl post processor, albeit with the bCNC option OFF by default.
parser.add_argument('--bcnc', action='store_true', help='output bCNC block headers (default)')
grbl Post processor for bCNC
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 328
- Joined: Tue May 28, 2019 10:51 am
grbl Post processor for bCNC
- Attachments
-
- grbl_bCNC_post.py
- (12.41 KiB) Downloaded 100 times
- roerich_64
- Veteran
- Posts: 1465
- Joined: Thu May 21, 2015 7:00 pm
- Location: Ostfriesland
Re: grbl Post processor for bCNC
Wow,
many thanks
I also works with bCNC, great tool
BR
Walter
many thanks
I also works with bCNC, great tool
BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar
-
- Posts: 328
- Joined: Tue May 28, 2019 10:51 am
Re: grbl Post processor for bCNC
Thanks.
Yes bCNC is really great. I am surprised a lot more people don't use it for it's gui drag'n'drop gcode editing, which combined with the operation blocks, provide a really easy way to drag things to cut and layout on the bed, as well as easy click de/selection of which operation blocks are to be cut - all without having to re/create many jobs.
All the above is super useful even if you do not use it as a controller/gcode sender and the other CAM generators are highly useful as well.
Yes shameless add for bCNC, just a happy user, not affiliated in any other way
Of course also a happy FreeCAD user.
Yes bCNC is really great. I am surprised a lot more people don't use it for it's gui drag'n'drop gcode editing, which combined with the operation blocks, provide a really easy way to drag things to cut and layout on the bed, as well as easy click de/selection of which operation blocks are to be cut - all without having to re/create many jobs.
All the above is super useful even if you do not use it as a controller/gcode sender and the other CAM generators are highly useful as well.
Yes shameless add for bCNC, just a happy user, not affiliated in any other way
Of course also a happy FreeCAD user.
- sliptonic
- Veteran
- Posts: 3459
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: grbl Post processor for bCNC
It looks like your bCNC post is derived from an older version of the grbl post. The regular grbl post has support for units which is pretty important.
Would you consider making your improvements to the base GRBL post and sending a pull request?
Would you consider making your improvements to the base GRBL post and sending a pull request?
-
- Posts: 328
- Joined: Tue May 28, 2019 10:51 am
Re: grbl Post processor for bCNC
Sure, and in fact pleased to be asked.
So I just make sure (I am a beginner 1x patch submitted, and ignored - dif project), steps I should do are:
So I just make sure (I am a beginner 1x patch submitted, and ignored - dif project), steps I should do are:
- clone the repo, following dev doc Source Code management
- edit src\Mod\Path\PathScripts\post\grbl_post.py <<This is correct file & version?
- follow Submitting patches
-
- Posts: 328
- Joined: Tue May 28, 2019 10:51 am
- sliptonic
- Veteran
- Posts: 3459
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: grbl Post processor for bCNC
Looks good to me. thanks for the PR.
Merged.
Merged.