algorithmic modeling for Rhino
Here's a link that shows how to get Rhinoscript through a VB.net plugin. I imagine this could be modified to work from the GH script component.
http://wiki.mcneel.com/developer/sdksamples/rhinoscriptfromdotnet
Chris
Yeah ,Cool!
But I still have two question,one is what the algorithm of the SurfaceCurvatureAnalysis Function?And how to get use Rhinoscript from .Net plugin in Rhino 5?
I've been looking at the code for this, but I'm not great at reading C++. It seems to me though that the algorithm is nothing more advanced than creating an analysis mesh for the surface (or using the one that already exists) and then just finding the highest and lowest curvature of all mesh vertices. Analysis meshes in Rhino store curvature data.
This basically amounts to just sampling the curvature a lot and then finding the extreme samples.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Here's another link from the developer page. The code is C# but it shows the method.
http://wiki.mcneel.com/developer/sdksamples/principalcurvature
Chris
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by