Problem with exporting vertices from edge selection set
Hi all - I have simple script to print vertices that forms selection set edges... Seems to work, but not all coords are printed correctly. Anyone can say what is wrong with that code? Thx!
tmesh = snapshotAsMesh selection[1] for n = 1 to ($.selectedEdges.count) do ( --pick the edges from the array and get the vertices that define it edge_verts = (meshop.getVertsUsingEdge tmesh $.selectedEdges[n]) as array vertsPos = for v in edge_verts collect (getVert tmesh v) print vertsPos print "==========================" )