see attached 3dm file.
The curves look fine, but they are all degree 1 and much too many: Garbage.3dm (492.1 KB)
The only chance I see is a manual selecting, joining, degree changing, rebuilding.
As with the red egg-shaped contour.
This is very cumbersome.
Is there a smarter way?
It would help if there were a selection tool which traces such contours with respecting an angle deviation to the next element, similar to the selection chain.
Hi Charles - you need each roundy part separately from the sort of base curve, I guess you can work with SelChain, Direction=Both, Continuity=Tangency AngleTolerance=5, then Join, Rebuild. I don’t see any need for ChangeDegree, if I follow. e.g.
I found an old script that rebuilds polylines but keeps corners sharper than a certain angle. You have to play with it a bit - in the attached I first made a copy of the original for comparison, and made the red segment back into a polyline and joined everything into one (the script only works on polylines). Then I ran the script a few times and found that it works OK with an angle of 25 and a point reduction factor of 0.25. There are still a couple of spots to adjust after.