Explode circle to lines/points

Explode circle to lines/points

Anonymous
Not applicable
7,385 Views
4 Replies
Message 1 of 5

Explode circle to lines/points

Anonymous
Not applicable
How? Any idea?
Thanks.

--
Kaunas
D.Z.
Mondeo 2006
Escort 1986
OOOO80 1987
0 Likes
7,386 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
not clear what do you want?
to replace circle with closed polygonal curve?
0 Likes
Message 3 of 5

Anonymous
Not applicable
To explode to small lines or like you mentioned.
--
Kaunas
D.Z.
Mondeo 2006
Escort 1986
OOOO80 1987
wrote in message news:5843691@discussion.autodesk.com...
not clear what do you want?
to replace circle with closed polygonal curve?
0 Likes
Message 4 of 5

Anonymous
Not applicable
according to acad vba help there is no circle explode method
instead, you need to create polygon
find center, find radius, find number of sides, calculate central segment angle [2*pi/n], using sin() and cos() functions calculate each vertex and finaly insert line between each two vertices
additionaly, yiu may create point array, then polyline from that array, and then explode polyline. this may be faster method since rely more on acad's built in engine
0 Likes
Message 5 of 5

jbooth
Advocate
Advocate
[quote] Re: Explode circle to lines/points
according to acad vba help there is no circle explode method
instead, you need to create polygon
find center, find radius, find number of sides, calculate central segment angle [2*pi/n], using sin() and cos() functions calculate each vertex and finaly insert line between each two vertices
additionaly, yiu may create point array, then polyline from that array, and then explode polyline. this may be faster method since rely more on acad's built in engine [/quote]


This.

You pretty much need to draw an approximated polygon yourself.

Why not create an inscribed polygon with the number of segments you want, and explode that? (also delete the original circle).
0 Likes