Utilizing Rhino Common SDK with python

Does anyone know how to implement Rhino common methods within python scripts ? I see many interesting methods like Curve.CreateFilletCurves but am not sure how they are implemented and all the examples are in VB or C.

Thanks !

Just import the namespace you are interested in:

import Rhino.Geometry

point = Rhino.Geometry.Point3d(1, 2, 3)
# etc...

See for instance


Unfortunately not all methods have a Python example, but this one has. As you can see the code isn’t that different, barring for the grammatical differences.


Also you can use the source code of the rhinoscriptsyntax module for inspiration

Thanks for the reply I did not know it was that simple ! This opens a whole new door to me !