Check if a point inside a Brep Meshod

Hi all,
I am Looking for a method inside the Ironpython documentation to check if a Point is inside a Brep or not. Something similar to the Grasshopper componant. Is there something similar ?

Hello - see

in RhinoCommon

and the rhinoscriptsyntax function r.IsPointInSurface()

Does that help?


1 Like

Is there also possibility to Export geometry to a new file through the API ?

I want to automate creating files for geometries from Rhino without the Need of using the Rhino Export command.

You can write Rhino .3dm files via the RhinoCommon Rhino.FileIO class. Any other format has to go through scripting the Rhino -_Export command.

1 Like