mcneel / rhino3dm

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

Expose `Plane` property on BND_Arc #480

Closed coditect closed 1 year ago

coditect commented 1 year ago

This pull request exposes the Plane and Normal properties of Arc objects, as well as a setter for the Arc property of ArcCurve.

sbaer commented 1 year ago

I would remove Arc.Normal and ArcCurve.Arc (setter). I'm trying to keep this library as close to what we have in RhinoCommon as possible. https://developer.rhino3d.com/api/RhinoCommon/html/Properties_T_Rhino_Geometry_Arc.htm https://developer.rhino3d.com/api/RhinoCommon/html/P_Rhino_Geometry_ArcCurve_Arc.htm

coditect commented 1 year ago

I'll remove them for the sake of consistency, but I think they would be worthwhile additions to RhinoCommon because:

sbaer commented 1 year ago

Documentation for this project is created by scraping the RhinoCommon API documentation. If we add properties, we need to start with RhinoCommon and then add them to this project. It really is just a matter of consistency.