Hey All,
I've created a custom CAM export configuration, and now I'd like to be able to go the other direction (import the generated g-code as geometry). Should this be possible with the built-in CAM import feature? Or do I need to edit a script or the source code? When I try to use the cam import tool with my g-code, I don't get any error, the layers show up in the layer editor, but no geometry appears in the graphics window.
Thanks,
Pete
OS: Windows 7 & 10
QCAD version: 3.15, CAM trial
CAM import for alternative CAM export configurations
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.
-
- Newbie Member
- Posts: 6
- Joined: Thu May 26, 2016 7:18 pm
Re: CAM import for alternative CAM export configurations
No. The CAM importer only reads plain, simple G-Code (G0 for rapid moves, G1 for linear moves, G2 & G3 for circular arcs).Peter York wrote:I've created a custom CAM export configuration, and now I'd like to be able to go the other direction (import the generated g-code as geometry). Should this be possible with the built-in CAM import feature?
Depending on how different your output is from this, you'd likely have to create an entirely new importer for that format.
-
- Newbie Member
- Posts: 6
- Joined: Thu May 26, 2016 7:18 pm
Re: CAM import for alternative CAM export configurations
Thanks, Andrew-- turns out if I rename the axes in my gcode from GX/GY/Z to X/Y/Z the built-in importer works just fine (which makes sense, I think). Is there a way to edit the CAM importer to look for GX/GY instead of X/Y? Do I need to buy the non-trial version of QCAM to access these files?
Thanks a lot!
Pete
Thanks a lot!
Pete
Re: CAM import for alternative CAM export configurations
QCAD/CAM 3.15.2 comes with some configuration options to configure the regular expressions used for parsing G, X, Y, I and J values in G-Code. The default expression is also more relaxed than in previous versions, so this might just work out of the box for you:
http://www.qcad.org/en/qcad-downloads-trial
http://www.qcad.org/en/qcad-downloads-trial
-
- Newbie Member
- Posts: 6
- Joined: Thu May 26, 2016 7:18 pm
Re: CAM import for alternative CAM export configurations
Thanks, Andrew! Worked great out-of-the-box for me!
Cheers,
Pete
Cheers,
Pete