Repository navigation
Order of arc vertices #907
Unanswered
eriksorngard
asked this question in
Q&A
Replies: 2 comments
|
Hi @eriksorngard, Exploding arcs individually it doesn't give any clue of which vertice should go first, try this extension method:
It should return a list of points in drawing order. Let me know if this helps. |
0 replies
|
Thank you for pointing to This works as expected, but the reason for exploding the polyline, was to be able to calculate the number of vertices required for keeping the tolerances for each arc within a chosen value (sagitta). The solution for now is to temporarily explode the polyline, calculate number of required vertices for each arc, and use the maximum value as the parameter for |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When exploding a polyline into lines and arcs, the order of the vertices returned by the
Arc.PolygonalVertexesmethod is often reversed compared with what I expect, making it difficult to merge the vertices for each segment into a single combined polyline.The two parallel polylines below contains three curves each, and one of them is reversed. How can I prevent or compensate for this?
All reactions