Specifying number of points when converting spline to polyline

Specifying number of points when converting spline to polyline

Anonymous
Not applicable
1,266 Views
1 Reply
Message 1 of 2

Specifying number of points when converting spline to polyline

Anonymous
Not applicable

Hello folks,

 

I'm using the 'splinedit' command to convert some splines to polylines, which requires specifying a precision value P that correlates to the number of points N in the automatically generated polyline. However, the relationship between P and N depends on the nature of the spline (the number of inflection points, etc.).

 

For my project, it would be ideal if I instead had control directly over the number of points N. Is there a way to achieve this with AutoCAD or other software? (I'm a student using AutoCAD 2023.)

 

Screen Shot 2022-08-26 at 12.35.53 PM.png

0 Likes
1,267 Views
1 Reply
Reply (1)
Message 2 of 2

AVCPlugins
Advisor
Advisor

I have dealt a lot with the topic of converting curves to polylines. And I came to the conclusion that I don't care how many dots or segments I get. I need to be able to set the allowable deviation from the original spline. What to know for sure that the polyline will have a minimum of segments but will not visually differ. I had to write a separate plugin for this. See descriptions here and here. Perhaps this option will work for you too.


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
0 Likes