GRBL new post processor with drill cycles G81..G83

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Gauthier
Posts: 123
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: GRBL new post processor with drill cycles G81..G83

Post by Gauthier »

Hi all,

Yesterday, I published the Grbl post processor with G81..G83 drill cycles translations on my Github account here : grbl_G81_post
This more efficient updated version (full rewrite) is ready for Python 3 (work in Python 2.7 and Python 3), and it is able to handle the speed units convertion beetwen FreeCAD (mm/s) and Grbl gCode standard (mm/mn).

On this Github, you can also found my Grbl fork: grbl-Mega-5X
This is a Grbl-Mega enhancement wich add the ability to :
  • handle 3 to 6 axis,
  • chose the name of each axis from X, Y, Z, A, B or C,
  • clone one axis name movement to 2 or more motors drivers (by chosing the same name for more than one axis),
Finally, you will also find on my Github account, the cn5X++ control panel, a new 5/6 axis Grbl control panel whose purpose is to implement all the grbl-Mega-5X capabilities...
Image
cn5X ++ is still in active development, but it is starting to be used to drive a CNC mahine.

I hope this will interest the community, and this lay a first stone of 5 axis CNC milling with FreeCAD...

Regards, @++;
Gauthier.
Last edited by Gauthier on Wed Dec 12, 2018 10:05 am, edited 1 time in total.
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

Re: GRBL new post processor with drill cycles G81..G83

Post by freman »

Thanks for making this work available. 5 axis is part of my aims so this will probably be useful.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: GRBL new post processor with drill cycles G81..G83

Post by sliptonic »

Gauthier wrote: Wed Dec 12, 2018 9:55 am Hi all,

Yesterday, I published the Grbl post processor with G81..G83 drill cycles translations on my Github account here : grbl_G81_post
I've only glanced through the code, not actually tried running it but this looks good. I would suggest preparing a pull request so we can test it formally and discuss merge.

Nice work!
User avatar
Gauthier
Posts: 123
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: GRBL new post processor with drill cycles G81..G83

Post by Gauthier »

sliptonic wrote: Wed Dec 12, 2018 4:09 pm I would suggest preparing a pull request so we can test it formally and discuss merge.
Pull request here : https://github.com/FreeCAD/FreeCAD/pull/1837

@++;
Gauthier.
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

Re: GRBL new post processor with drill cycles G81..G83

Post by freman »

Did this every get merged? I don't find this in my 0.19 src.

Is the file attached to post #1 here, the current version to use?

thx. ( great work BTW )
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: GRBL new post processor with drill cycles G81..G83

Post by chrisb »

I have grbl_G81 here.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16822 (Git)
Build type: Release
Branch: master
Hash: 243aebf2dfbfe192b5bbd067020a5318a0fa8d0d
Python version: 3.7.3
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

Re: GRBL new post processor with drill cycles G81..G83

Post by freman »

Thanks, it was a misunderstanding on my part. I thought this was intended to replace the old "grbl" which does not produce code suitable for GRBL. I did not realise that it had been installed in parallel as a separate post processor. Sorry for the noise.
User avatar
Gauthier
Posts: 123
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: GRBL new post processor with drill cycles G81..G83

Post by Gauthier »

Hi @freman,

Latest version of grbl_G81_post (some small bugs corrected and inches conversion option added) is not already merged because I think it need some more test.
See : https://forum.freecadweb.org/viewtopic.php?f=15&t=35208

you can find it alone on my github here : https://github.com/fra589/grbl_G81_post

Thanks to test and report :)
@++;
Gauthier.
User avatar
freman
Veteran
Posts: 2201
Joined: Tue Nov 27, 2018 10:30 pm

Re: GRBL new post processor with drill cycles G81..G83

Post by freman »

thanks, I've dropped that into place, I'll let you know if see anything wrong.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: GRBL new post processor with drill cycles G81..G83

Post by sliptonic »

What is the rationale for maintaining both a grbl and a grbl_g81 post processor?

Can your work be merged into the main grbl post to avoid confusion?
Post Reply