How does sketchup know a circle is a circle?
-
I would love to know if anywhere, the API exposes how the Entity Info window knows that a circle is more than just 24 edges. I can find nothing that identifies a circle as more than that programmatically.
-
Sketchup knows it is part of a curve if edge.curve returns a curve entity and it knows it is an arc or circle if curve.is_a?(Sketchup::ArcCurve) returns true.
Advertisement