algorithmic modeling for Rhino
Hi All,
Can anyone help me access a surface's control points and edit points (greville points) in VB Rhinocommon for Grasshopper? I've tried everything that I can think of...
It seems like there is a NurbsSurfacePointList under Rhino.Collections, but I'm not sure how to implement it.
Thanks!
Tags:
If you have a Surface object, it looks like you can use the Surface.ToNurbsSurface() method, which should give you a NurbsSurface object. If you get the NurbsSruface.Points attribute, it should return a NurbsSurfacePointList object.
if 'srf' is a Surface (in Python, sorry, my VB is rusty):
nurbsSrf = srf.ToNurbsSurface()
pointList = nurbsSrf.Points
u, v = 1, 3
ctrlPoint = pointList.GetControlPoint(u, v)
I hope that helps
Hi Andre,
if you have a NurbsSurface, you can access the Control-points and Greville-points via the Points property:
Dim srf As NurbsSurface = blahblahblah
srf.Points.XXXX
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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