mcneel / rhino3dm

Libraries based on OpenNURBS with a RhinoCommon style
MIT License
594 stars 134 forks source link

Add BrepObject.GetSubObjects() #351

Closed fraguada closed 1 year ago

fraguada commented 3 years ago

RhinoCommon: https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_DocObjects_RhinoObject_GetSubObjects.htm

A BrepObject can be composed of several subobjects, each with their own material. BrepObject.GetSubObjects() returns the parts of each BrepObject, each with their attributes and material id.

(If there is an alternative way of getting the subobject attributes, then that would be ok as well)

mcneel-build commented 3 years ago

Linked with RH3DM-136

fraguada commented 1 year ago

DocObjects are not part of rhino3dm