CutUp function

Hi all
I need function similar with RhinoCutUpSurface but to work on Brep or Mesh.
I am planning to write my own function but I need directions or suggestion how to start.

Hi Biljana,

What is it that you are trying to accomplish?

– Dale

Well, from a closed curve that lie on the Brep or Mesh, I want to get the area inside the curve as a new Brep/Mesh

Extrude the curve through the Brep and then use RhinoBrepSplit.

For meshes, you will need to mesh the extruded surface and then useRhinoMeshBooleanSplit.

See rhinoSdkUtilities.h for info on both functions.