Rhinoscriptsyntax.AddMesh - texture coordinates


#1

Hi @stevebaer , there is probably a small typo in the rhinoscriptsyntax under rs.AddMesh, in this line shouldn`t it create two floats as arguments instead of three ?

tcs[i] = Rhino.Geometry.Point2f(tc[0], tc[1], tc[2])

greetings,
c.


(Steve Baer) #2

Thanks! I just fixed this bug and pushed the changes up to github. This fix will be in SR6; you can also use the fixed script before SR6 if you just get the module from
https://github.com/mcneel/rhinopython/blob/master/scripts/rhinoscript/mesh.py


#3

Thank you, it works.

c.