Just found a problem going from G41 to G42 .
After two years I'm still coming to terms with G40-42.
Every rapid will now set the path back to G40. A 'A" (angle in) entity will setup the offset set in the following entity.
So closed contours will need the Ramp On from center option in the dialog for offset cutting. "CO" Cut outer parts will have the ramp on turned around automatically.
srl
Layers and Offset codes.
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.
Re: Layers and Offset codes.
- Attachments
-
- GCodesrl.js
- v.152
- (21.4 KiB) Downloaded 901 times
Re: Layers and Offset codes.
At last here is some real testing with the above file.
The three shapes are all the same. The first has 'CO6' (cut outer 6mm) in the layer name. The second 'CI6' (inner). The third has CI with P6 for pocket. The Z levels are also set. You can get the dxf file at the end of this post. You must set the direction in the CAM dialog, in this case clock wise. Here is the generated path.
The LinuxCNC sim.
Here you can see the G41 and G42 path as it is all in the same direction. In my latest file you can set the direction of closed contours by putting CW or CCW in the layer name or custom properties. The real thing after a quick vacuum.
The first part cut out fits into the second cut. It over ran at the end as I didn't set the Ramp Off.
It also fits the third, but not all the way of course as it was milled to half its thickness 1.5mm.
The three shapes are all the same. The first has 'CO6' (cut outer 6mm) in the layer name. The second 'CI6' (inner). The third has CI with P6 for pocket. The Z levels are also set. You can get the dxf file at the end of this post. You must set the direction in the CAM dialog, in this case clock wise. Here is the generated path.
The LinuxCNC sim.
Here you can see the G41 and G42 path as it is all in the same direction. In my latest file you can set the direction of closed contours by putting CW or CCW in the layer name or custom properties. The real thing after a quick vacuum.
The first part cut out fits into the second cut. It over ran at the end as I didn't set the Ramp Off.
It also fits the third, but not all the way of course as it was milled to half its thickness 1.5mm.
- Attachments
-
- srltest.ngc
- (2.69 KiB) Downloaded 714 times
-
- srltest.dxf
- Qcad file
- (85.18 KiB) Downloaded 715 times
Re: Layers and Offset codes.
Hi srl,
WOW - I'm impressed! I hope Andrew is watching this very carefully ...
I'm not (yet) a cnc guy but you really catches my curiosity.
First off all - a couple questions ...
- Could I create a template drawing with a couple default cutting layer like a tool list? If yes - would your app ignore unused layer or do I have to delete them?
- Could I alternative use the Custom Property's in the Property editor instead the layer solution?
- Different depths for Z for each entity are possible? (start depth different to end depth),
- QCAD CAM Simulation will show me the correct cutting path (inside, center, outside)?
- export also as .plt or .stl possible?
Sorry for stu... questions!
WOW - I'm impressed! I hope Andrew is watching this very carefully ...
I'm not (yet) a cnc guy but you really catches my curiosity.
First off all - a couple questions ...
- Could I create a template drawing with a couple default cutting layer like a tool list? If yes - would your app ignore unused layer or do I have to delete them?
- Could I alternative use the Custom Property's in the Property editor instead the layer solution?
- Different depths for Z for each entity are possible? (start depth different to end depth),
- QCAD CAM Simulation will show me the correct cutting path (inside, center, outside)?
- export also as .plt or .stl possible?
Sorry for stu... questions!
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Layers and Offset codes.
Thanks for questions.
Trying to think up documentation is painful.
Firstly all invisible layers are ignored.
Yes custom properties can be used for nearly every thing. I need to go over it and fix which has priority, I feel that properties will have it.
I have the "A" that changes the Z level from the previous to the following entity. maybe I can add something like "ZE(float)" to set the end point depth.
Qcad Cam Sim is good but only for direction. To see path compensation and that the Gcode works you need the program itself. Its not too hard to set up the sim version on VirtualBox.
And sorry I've only looked at standard GCode for linux cnc.
srl
Trying to think up documentation is painful.
Firstly all invisible layers are ignored.
Yes custom properties can be used for nearly every thing. I need to go over it and fix which has priority, I feel that properties will have it.
I have the "A" that changes the Z level from the previous to the following entity. maybe I can add something like "ZE(float)" to set the end point depth.
Qcad Cam Sim is good but only for direction. To see path compensation and that the Gcode works you need the program itself. Its not too hard to set up the sim version on VirtualBox.
And sorry I've only looked at standard GCode for linux cnc.
srl
Last edited by srl on Thu Mar 20, 2014 11:40 am, edited 1 time in total.
Re: Layers and Offset codes.
srl - thank you for the answers
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."