Grasshopper

algorithmic modeling for Rhino

Hey,

How do I untrim a surface with rhinocommon? I am trying to do "closest point to surface" and then "curve on surface" but the former is not working because my surface is supposedly a brep (when doing rhino.geometry.surface.closestpoint()), even though ghcomp.surfaceclosestpoint is working with that surface (but I am trying to avoid ghcomp for performance reasons). I had been using ghcomp.untrim(), but what is the equivalent with rhinocommon? And while we are on the topic, how do I do "curve on surface" in rhinocommon. I am using python by the way.

Thanks

Views: 1823

Replies to This Discussion

Thanks for the help. How do you find out about methods such as mesh.Faces.GetFaceCenter? The way I have been going about finding commands is typing out Rhino.Geometry.... and seeing what pops up in the list- GetFaceCenter is not even listed.

http://4.rhino3d.com/5/rhinocommon/

...and if you want to know more about Grasshopper's SDK then launch GH and go to Help > Download SDK Help

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