Hello !
Qcad has tools to explode Splines in straight segments, but not in arcs.
Is anyone familiar with an algorithm to convert spline to Arcs --with a bit of tolerance, of course?
Thanks
Convert Spline / Polyline with bulges
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Active Member
- Posts: 48
- Joined: Mon Aug 09, 2010 6:15 pm
- Husky
- Moderator/Drawing Help/Testing
- Posts: 5054
- Joined: Wed May 11, 2011 9:25 am
- Location: USA
Re: Convert Spline / Polyline with bulges
Hi,
Explode a Polyline = Lines and Arcs - whenever possible,
Explode a Spline = Polyline,tukuyomi wrote:Qcad has tools to explode Splines in straight segments, but not in arcs.
Explode a Polyline = Lines and Arcs - whenever possible,
Work smart, not hard: QCad Pro
QcadPro, QcadCam, Win11/64, 64GB RAM, 10-Core, SSD
If a thread is considered as "solved" pls. change the title of the 1. post to "[solved] Title..."
QcadPro, QcadCam, Win11/64, 64GB RAM, 10-Core, SSD
If a thread is considered as "solved" pls. change the title of the 1. post to "[solved] Title..."
-
- Active Member
- Posts: 48
- Joined: Mon Aug 09, 2010 6:15 pm
Re: Convert Spline / Polyline with bulges
Am I missing some settings here ?
Please consider the attached drawing. If I explode the splines here, I only get straight segments.
Even if I select minimal values in App Preferences > Modify > Explode, I still get too much straight segments, meaning too much G01 gcode to write to my old Laser cutting machine.
What I would like is the possibility to explode Splines as Lines and Arcs --as Ellipses do--, with some kind of tolerance.
By the way, the function that draws those Splines is a Sine function.
I'm trying to write with a script based --not on splines this time, but-- on Polylines with bulges values, but those are tricky to find/calculate :p
Please consider the attached drawing. If I explode the splines here, I only get straight segments.
Even if I select minimal values in App Preferences > Modify > Explode, I still get too much straight segments, meaning too much G01 gcode to write to my old Laser cutting machine.
What I would like is the possibility to explode Splines as Lines and Arcs --as Ellipses do--, with some kind of tolerance.
By the way, the function that draws those Splines is a Sine function.
I'm trying to write with a script based --not on splines this time, but-- on Polylines with bulges values, but those are tricky to find/calculate :p
- Attachments
-
- test0.dxf
- (101.62 KiB) Downloaded 936 times
- andrew
- Site Admin
- Posts: 8772
- Joined: Fri Mar 30, 2007 6:07 am
Re: Convert Spline / Polyline with bulges
tukuyomi: Please indicate what version of QCAD you are using, thanks.
-
- Active Member
- Posts: 48
- Joined: Mon Aug 09, 2010 6:15 pm
Re: Convert Spline / Polyline with bulges
Oops I updated to 3.15.5, and indeed, Splines are exploded to polylines and arcs ! Thanks !
I increased the Spline Tolerance in the Apps Preferences, but I still get too much entities ; weird, using the drawing I posted above, on the bottom spline, there are far more arcs toward the left.
Is it possible to increase the tolerance more ? I tried to put a big value (10 and even 100), but it did not have effect on the exploded spline.
I increased the Spline Tolerance in the Apps Preferences, but I still get too much entities ; weird, using the drawing I posted above, on the bottom spline, there are far more arcs toward the left.
Is it possible to increase the tolerance more ? I tried to put a big value (10 and even 100), but it did not have effect on the exploded spline.
- andrew
- Site Admin
- Posts: 8772
- Joined: Fri Mar 30, 2007 6:07 am
Re: Convert Spline / Polyline with bulges
I've issued a report at:
http://www.qcad.org/bugtracker/index.ph ... sk_id=1479
http://www.qcad.org/bugtracker/index.ph ... sk_id=1479