Grasshopper

algorithmic modeling for Rhino

Is there a way I could use the GH geomoetric solvers from within a scripting component?

I tried digging a bit into
Grasshopper.Kernel.Geometry.Voronoi.Cell2
Grasshopper.Kernel.Geometry.Voronoi.Solver
and Geometry.Node2

but it seems like the core functionality has not been exposed.
Is that really the case, or am I just looking in the wrong place?

Views: 568

Replies to This Discussion

It should be exposed. You need to use the Shared (static in C#) functions on the Solver class. BruteForce is slow (although not that slow on only a few points), Connectivity requires you to calculate a delaunay connectivity map first.

The functions are exposed, but they weren't written with easy-access in mind.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service