mcneel / rhino3dm

Libraries based on OpenNURBS with a RhinoCommon style
MIT License
574 stars 135 forks source link

Add bindings for File3dmObjectTable.Add( file3dmobject ) #517

Closed fraguada closed 6 months ago

fraguada commented 1 year ago

The js/py bindings have an add method that takes geometry and attributes. We should match the cs that has an overload for just adding the file3dmobject directly.

bindings: https://github.com/mcneel/rhino3dm/blob/main/src/bindings/bnd_extensions.h#L78

relevant discussion: https://discourse.mcneel.com/t/rhino-file3dm-objects-add-needs-two-arguments/157887/4?u=fraguada