Hi,
I started to use CAM module in QCAD. My CNC machine is controlled by grbl software therefore I declare grbl (offset) [mm] postprocessor.
I found that CAM configuration does not allow for much control of the generated g-code. I found that many g-codes are not necessary for rgbl controller.
Moreover, numbering of the lines causes that the code can not be simulated in CAMotics software.
I would like to ask to add the following options in the "CAM configuration" dialog:
- "do not number lines of code"
- "Do not use G80 at the beginning of the code"
- "Do not use G49 at the beginning of the code"
Best
Konrad
CAM tools improvement suggestion
Moderator: andrew
Re: CAM tools improvement suggestion
Konrad,
You could configure a custom grbl postprocessor ...
What is extra in the "CAM configuration" dialog is also configured in a postprocessor.
In a copy of GrblMM.js e.g. GrblMM-noLN.js
G80 and G49 can be cleared from this.header = [...]
Line numbers can be cleared by removing the [N] placeholders.
But you are not out of the woods if you only do that in your custom post.
All because GrblMM.js is based on Grbl.js and that is based on GCodeBase.js
One should never edit the build in posts directly
These are overwritten by installing a new release ...
Instead have a look at LaserGrbl.js
Including this in your custom post would render line numbers to an empty string:
Ensure that you adapt the display name too.
Regards,
CVH
You could configure a custom grbl postprocessor ...
What is extra in the "CAM configuration" dialog is also configured in a postprocessor.
In a copy of GrblMM.js e.g. GrblMM-noLN.js
G80 and G49 can be cleared from this.header = [...]
Line numbers can be cleared by removing the [N] placeholders.
But you are not out of the woods if you only do that in your custom post.
All because GrblMM.js is based on Grbl.js and that is based on GCodeBase.js
One should never edit the build in posts directly
These are overwritten by installing a new release ...
Instead have a look at LaserGrbl.js
Including this in your custom post would render line numbers to an empty string:
Code: Select all
// disable line numbers:
this.empty = "";
this.registerVariable("empty", "N", true, "", 0);
Regards,
CVH
Re: CAM tools improvement suggestion
I didn't know that. Thank you very much for explanation and help.
Best Regards
Konrad
Best Regards
Konrad