Polysurface to mesh in python?

hi guys,

is there any way to convert a polysurface into a mesh in python?

test.gh (8.9 KB)

Hi samphi,

I am using an older release of Rhino 5, so I haven’t checked if this works (rs.AddSpiral has been introduced since SR7).
test2.gh (10.3 KB)

Rhino.Geometry.Mesh.CreateFromBrep(brep, meshingParameters) ?


thank you verry much!
it works! (but i think you already know :wink: )