Grasshopper

algorithmic modeling for Rhino

I have been testing the "Planar Surface Component".  If the surface proves to be planar, it is obvious the plane output is the plane containing the surface analyzed.  However, if the surface proves to be non-planer an output plane is still output.  I am trying to determine what plane is output from the Planer Surface command when the surface tested is NOT Planar. 

I might also suggest another helpful plane output when the surface proves non-planer.  It would be helpful to output a plane similar to the "Fit Plane Component" ...where the plane output for NON-planer surfaces would return a plane that minimizes the maximum deviation from the surface.

Stan

Views: 851

Replies to This Discussion

It depends. If the Interior option is set to false, I merely call TryGetPlane on the surface with a ridiculously high tolerance. If Interior is set to true, then I collect the control-points of a bunch of UV isocurves that are trimmed with the surface boundary and I fit a plane to these points.

--
David Rutten
david@mcneel.com
Seattle, WA
Thank you David.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service