Grasshopper

algorithmic modeling for Rhino

how to draw lines/surfaces with known equations

Hi,everyone!

I need your help!

I use the function OnUtil.ON_Get3dConvexHull to get the convex hull of a set of points and the equations of the sides of the convex hull are appended to the list of ArrayOnPlaneEquation.

So how can I draw the convex hull with the ArrayOnPlaneEquation?

I use Rhino .net SDK and C#.

 

Thanks a lot!!!!!!

Views: 455

Replies to This Discussion

Hi Q-dada,

 

you're using the old SDK, I think there's fewer and fewer people who'll be able to help out with that.

ON_Get3dConvexHull isn't wrapped yet in the new SDK, so that's not much help unfortunately. Also the implementation in OpenNurbs appears to be very slow.

 

You may have to consider implementing your own version of QuickHull or Divide-And-Conquor for this.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks for your help!!!

So if I know the equations that define the contour of a polycurve, is there a method/function to draw the polycurve or surface through the equations? I found that the Overload List of polycurve or surface does not contain such a method. 

 

Thanks a lot.

 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service