algorithmic modeling for Rhino
:(
You can use Plane CP to map xyz coordinates onto uvw coordinates. Or you can use the Orient component to convert xyz coordinates into x'y'z' coordinates.
Ignore John, he's a dick.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Ah, this is posted in the VB/C# forum, are you looking for a programmatic solution? If so, which language?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Visual basic, yes I am learning scripting and i'm trying to do as much in VB as I can
It's very similar in VB, you can use Plane.ClosestParameter to get the u and v parameters (or s and t if you want). Then use Plane.Distance to get the w value.
Or you can create a Transform matrix that defines a ChangeBasis transformation.
Dim pt As Point3d = ....
pt.Transform(Transform.ChangeBasis(Plane.WorldXY, targetPlane))
--
David Rutten
david@mcneel.com
Poprad, Slovakia
why does life have you down sir?
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