Why do you need to convert the type to use it


[x, y, z] is a list of three integer numbers, whereas pt is a Rhino.Geometry.Point3d instance. They are distinct types.

pt = [x, y, z] would only be possible, if the =-operator of the Rhino.Geometry.Point3d struct or class would be overridden to change the internal point coordinates to the list values, which currently doesn’t seem to be the case, at least for Pythonic lists. And that’s not something that you can change. Only one of the developers could integrate this into the API.

If you haven’t seen the documentation here: Rhino - Points in Python (rhino3d.com), it’s worth a look.

Should be the implicit operator. Assignment operator cannot be overloaded.

OK, I don’t know anything about C#. In C++, you can override anything. :wink: