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.
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
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: 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 466 times
Re: Convert Spline / Polyline with bulges
tukuyomi: Please indicate what version of QCAD you are using, thanks.
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.
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