Running Linux Mint 20, Qcad/Cam 3.27.8
We would like to make a post that will output distance and degrees, vs traditional X-Y coordinates. I note that in the bottom window, this information is shown. Currently we are programming a lathe with live tooling using this display, it would be easier If I could write some post to do it for me. Attached pics. The dimensions I refer to is directly above the OBS box in the tray.
Thanks
Posting in degrees
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Indicate the post processor used.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Indicate the post processor used.
Attach drawing files and screenshots.
Post one question per topic.
Posting in degrees
- Attachments
-
- Qcad_degrees_2.png (451.99 KiB) Viewed 8066 times
-
- Qcad_degrees_1.png (464.01 KiB) Viewed 8066 times
Re: Posting in degrees
n_spect_r,
QCAD/CAM export can indeed be fully customized.
As example it can export in DXF, HP-GL or HTML (structure) ... Aside several G-code dialects.
I understand a relative polar notation for G0 and G1.
What with I&J for G2/3 instructions?
What with motions in Z?
You could register two extra variables for pLength and pAngle.
The name RADIUS (arcRadius) is bespoken.
Then I would source the polar notation from this.currentEntity in the writeEntity based function.
Once these values are set it is a question of formatting the outputs of:
https://www.qcad.org/rsforum/viewtopic. ... 429#p28790
Regards,
CVH
QCAD/CAM export can indeed be fully customized.
As example it can export in DXF, HP-GL or HTML (structure) ... Aside several G-code dialects.
I understand a relative polar notation for G0 and G1.
What with I&J for G2/3 instructions?
What with motions in Z?
You could register two extra variables for pLength and pAngle.
The name RADIUS (arcRadius) is bespoken.
Then I would source the polar notation from this.currentEntity in the writeEntity based function.
Once these values are set it is a question of formatting the outputs of:
- rapid moves
linear moves
circular moves
tool compensations
....
https://www.qcad.org/rsforum/viewtopic. ... 429#p28790
Regards,
CVH