Thanks for the hints.
Copilot wrote the python script. I modified it a bit and it works:
import rhinoscriptsyntax as rs
import Rhino
def extract_uv_points(mesh):
if not rs.IsMesh(mesh):
return []
uv_points = []
for i in range(mesh.Vertices.Count):
uv = mesh.TextureCoordinates[i]
uv_points.append(Rhino.Geometry.Point3d(uv.X, uv.Y, 0))
return uv_points
uv_points = extract_uv_points(mesh)
Wait Rhino 9 has a component called ‘Texture Evaluator’
texture_evaluate_uv.gh (13.9 KB)