Rounding Polylines

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Rounding Polylines

Post by CVH » Tue May 25, 2021 7:09 am

All, Andrew,
Replying here: https://qcad.org/rsforum/viewtopic.php?f=89&t=8455
I in fact replied myself on an old feature request that I had.
Just couldn't make it functional before with a 'new RAddObjectsOperation()' (Leaving out the details :oops: )
It is rather a monkey task to use RN, edge by edge, on a polyline with numerous segments.
(What sometimes fails)

Can/may we exploit this further?
It already works out for geometrically closed forms that are logically open.
Thinking out loud ....
... On all selected polylines
... When the minimum distance between all vertices (segment length or chord length) is somewhat over 2 times the radius.
... Reporting flaws with the polyline like distance=zero ... Z=non-zero ... Or auto adapt
... Removing the old entity/-ies afterwards, off course

Or is there a catch 22?

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Rounding Polylines

Post by andrew » Tue May 25, 2021 11:29 am

CVH wrote:
Tue May 25, 2021 7:09 am
Or is there a catch 22?
It does not work reliably with arc segments.

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Rounding Polylines

Post by CVH » Tue May 25, 2021 12:26 pm

Andrew, are you referring to this:
https://qcad.org/rsforum/viewtopic.php?f=33&t=7321
CVH

Post Reply

Return to “Chat”