Boolean operation for breps

Hi guys,

I have two breps which are both solids, I want to subtract one brep from another. Is it possible with the “opennurbs”? I search the brep header in opennurbs, I didn’t find such tools I need.

I use visual studio 2022 & c++ based on rhino 8 to do the development.

Regards
John

OpenNURBS is the file format, it doesn’t contain the geometry operations you can find in Rhino.

You’ll have to use the Rhino SDK (and thus Rhino) to be able to do such things.

An example: rhino-developer-samples/cpp/SampleCommands/cmdSampleBooleanUnion.cpp at 8 · mcneel/rhino-developer-samples · GitHub

thank you.