Wrong ArcCurve center coords

Hi
As you can see in the attached file, the document contains (among other curves) a couple of circles.
My plugin needs to obtain the circles center coordinates and use them for some calculations.
The question arised when my code stopped working if executed in this document.
After some investigations, I found that the circles center coordinates are… Wrong!
I mean that if you read circles center coordinates via Rhino properties panel → Details, you can easily read wrong values!
The same wrong values I can read in my code.
But…
If you copy and paste geometries in a new file, they are pasted in a different position, a position that matches “wrong” coordinates.
The file was created using Rhino7 but you can experience the same behaviour in Rhino7 or Rhino8.
Can someone please explain how this is possible?
And, maybe, how it can be solved?
Thanks

Wrong ArcCurve Center Coords.3dm (2.8 MB)

You need to explain what value you think is right and what you think is wrong.

There are two different coordinate systems. There is the Cplane coordinates and the World coordinates.

When I evaluate the center of one of the circles I get:

Point in world coordinates = 46.000,0.000,0.000
CPlane coordinates = -60.289,-120.559,0.000

Is that what you are asking about?

1 Like

Yes! The CPlane was modified. Problem solved restoring CPlane to default.
Thanks!