Grasshopper

algorithmic modeling for Rhino

Hi all,

Is there a pull point (pull) method in C#, similar to the GH component with the same name?

I went through RhinoCommon SDK and only found the BrepFace.PullPointsToFace method, which couldn't be implemented with just any other type of "Geometries" like the GH component.

I am trying to pull points to a sphere created by fitting those points, but not sure how to do it in C#. The inputs are simply the list of points p, and the sphere sph:

Sphere sph = Sphere.FitSphereToPoints(p);

Thanks a lot,

Tim

Views: 423

Replies to This Discussion

Would that basically just mean to get the closest point on the sphere?

Thanks again,

Tim

Hey Tom,

Thank you!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service