Upgrade Curve to ArcCurve


#1

Hi,

Is there any other way to create an ArcCurve( arc or circle) than
entities.add_circle
entities.add_arc ?

something like:

curve = entities.add_curve [0,0,0], [0,1,0], [1,1,0], [1,0,0], [0,0,0]  
a = curve.to_arc # pseudo code
p a.class => Sketchup::ArcCurve

Thnx

Liquid


#2

No. An ArcCurve approximates a segment of a circular arc, whereas a Curve is what many other apps call a “polyline”, a series of Edges that join end-to-end. There is no restriction that the Edges in a Curve approximate a circular arc, which would have to be validated to do the conversion you seek.


#3

Hi Steve,

It’s a pitty but thanks for your answer.

By the way, the subject line of this question on the start page is greyed out. Why?


#4

If you mean on the overview list of topics, that means there are no new posts since you last viewed it. If you mean on the messages list for this topic itself, I have no idea…it’s dark on my browser.


#5

They show grey on my browser if there are no new posts since the last time I read the thread.


#6

@Steve: yep, its about the overview list of topics… I got it!!

Thnx Guys!