mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
243 stars 93 forks source link

Wish: #111

Closed dalefugier closed 12 years ago

dalefugier commented 12 years ago

I've added a new RhinoPlanarSrf() SDK function, which is similar to RhinoMakePlanarBreps, used by Rhino.Geometry.Brep.CreatePlanarBreps. But, RhinoPlanarSrf() works like Rhino's PlanarSrf command in that if an input curve is self-intersecting, then curve boolean processing will be used. For example, if you were to pass in a bow-tie, RhinoPlanarSrf() would return two surfaces, where RhinoMakePlanarBreps would only return one. I could use a RhinoCommon wrapper for this.

sbaer commented 12 years ago

Rhino.Geometry.Brep.CreatePlanarBreps now uses RhinoPlanarSrf() when running in V5 instead of RhinoMakePlanarBreps