algorithmic modeling for Rhino
Hello,
I'm trying to rebuild a trimmed surface in Python, but in the process the surface is always untrimmed. How do I stop that from happening?
My code:
import Rhino as rc
eps = rs.SurfaceEditPoints(srf)
udist = eps[0].DistanceTo(eps[2])
vdist = eps[0].DistanceTo(eps[1])u = int(udist/resolution)
v = int(vdist/resolution)rebuilt = srf.Rebuild(3,3,u,v)
Cheers,
Max
Tags:
Perfect, thanks!
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
© 2024 Created by Scott Davidson. Powered by