generative modeling for Rhino
Hi all.
Anyone know how to flip the UV directions of a surface within a C# script component? I can't seem to find the apropiate method...!
Thanks
Jose Luis
Tags:
Permalink Reply by Andrew Heumann on November 28, 2011 at 4:54pm Surface.Transpose(), if memory serves
Permalink Reply by Garcia del Castillo on November 28, 2011 at 6:00pm Yeah, that's what I thought, but can't really make it to work
private void RunScript(Surface x, bool y, ref object A)
{
Surface s = x;
if(y) x.Transpose();
A = s;
}
Permalink Reply by Andrew Heumann on November 29, 2011 at 10:33am try this:
private void RunScript(Surface x, bool y, ref object A)
{
Surface s = x;
if(y) s = x.Transpose();
A = s;
}
Permalink Reply by Garcia del Castillo on November 29, 2011 at 5:35pm Oh my God, I'm such a noob... hehe.
Thanks a lot Andrew, it's working perfectly now.
© 2012 Created by Scott Davidson.
Powered by