CustomSurfaceObject?

Hi everyone,

I’m building a composite model out of a bunch of CustomBrepObject/CustomMeshObject in C# (i need to enforce some spatial relationships, and do lots of checks on the objects) but I’m not sure how to build a custom Surface object.

I noticed there is no custom class for any of the surface classes in the Rhino.DocObjects.Custom namespace, so I was wondering how to go about this: should I create my own custom object class that inherits from SurfaceObject? is this even possible since it does not provide a constructor? Or should i just use the CustomBrepObject class for this purpose?

Cheers,

Luke.

SurfaceObjects are actually not very common in Rhino. Typically these are just brep objects.