algorithmic modeling for Rhino
Sorry if this is a really stupid question but I tried searching for "create UV curve" already.
Is there a way to create a UV curve and apply a UV curve like you can in Rhino?
The closest I could find in grasshopper for apply UV is the map to surface component, but that requires a target plane, so if I want to apply curves to a curvy surface I'm screwed right?
Tags:
The input box is for the original curve as the surface domains are for the morphed curve. Put a box tightly around your input curve to make it go onto the entire surface.
--
David Rutten
david@mcneel.com
Hi David,
I am trying to do a similar thing but with text wrapping onto the sphere. Somehow the text wrap in a weird direction. Is there a way to fix that? please see the rhino and grasshopper file attached.
Thanks
Hi JS,
It's an old thread though. I came across the same question today trying to apply patterns precisely to a trimmed surface (to trim the pattern in parameter space in advance so that it would fit the trimmed surface perfectly) and have found the precise matches (if you meant them) for rhino command "create UV curve" and "apply UV curve" in grasshopper.
In RhinoCommon, Surface.Pushup Method (Curve, Double) works exactly as "apply UV curve", while Surface.Pullback Method (Curve, Double) is for "create UV curve". I have experimented them on a trimmed edge and the result is precise (with a max curve deviation of e-13).
If not familiar with script, the original components would still do the work:
However, the trimming curve I morphed back is not as precise as the script, Maximum deviation = 0.000951109, still below the absolute tolerance (I guess surface morph just take absolute tolerance as a parameter by default).
Mark
Sorry, Pullback method dose not work as precisely for exact surface edges, I was using Brep.Curves2D for creating UV edge curves instead, which returns edge curves in parameter space directly.
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