Hi
Qcad professional 3.29.6
Imac sequola 15.1.1
Please can you advise on reducing the number of NODES .
When shapes are not straightforward and made up of many arcs and lines covering only short distances.
Thanks--Ross
reducing nodes
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.
-
ross
- Full Member
- Posts: 59
- Joined: Wed Sep 30, 2015 2:11 pm
reducing nodes
- Attachments
-
- Screenshot 2024-12-04 at 9.38.10 PM.png (42.03 KiB) Viewed 7168 times
- andrew
- Site Admin
- Posts: 8816
- Joined: Fri Mar 30, 2007 6:07 am
Re: reducing nodes
You can use
Draw > Polyline > Simplify
which uses a sophisticated algorithm (Ramer–Douglas–Peucker) to retain the overall shape while reducing the number of nodes.
Draw > Polyline > Simplify
which uses a sophisticated algorithm (Ramer–Douglas–Peucker) to retain the overall shape while reducing the number of nodes.
-
CVH
- Premier Member
- Posts: 4995
- Joined: Wed Sep 27, 2017 4:17 pm
Re: reducing nodes
Hi,
When the origin are splines then you can increase the approximation tolerance when exploding to Polylines.
Meaning: Less precise and coarser approximation.
At some point the overall shape may no longer be preserved well.
As in the picture:
Polylines with bulging segments (Arcs) are not simplified with Polyline .. Simplify (OS)
That would work on Polylines with line segments.
But an interpolation of an arc with small straight segments are typically more nodes.
From the picture you are already near the edge of simplification.
One could manually replace some smaller Arcs with inserting a larger Arc spanning from start to end.
Explode the Polyline to individual Arc shapes, replace, select contour and create a new Polyline from the selection.
Regards,
CVH
When the origin are splines then you can increase the approximation tolerance when exploding to Polylines.
Meaning: Less precise and coarser approximation.
At some point the overall shape may no longer be preserved well.
As in the picture:
Polylines with bulging segments (Arcs) are not simplified with Polyline .. Simplify (OS)
That would work on Polylines with line segments.
But an interpolation of an arc with small straight segments are typically more nodes.
From the picture you are already near the edge of simplification.
One could manually replace some smaller Arcs with inserting a larger Arc spanning from start to end.
Explode the Polyline to individual Arc shapes, replace, select contour and create a new Polyline from the selection.
Regards,
CVH