Suggestion: ce.getVertices

08-30-2012 12:27 PM
New Contributor III
Why would ce.getVertices return an unstructured list of floating point numbers?

Is it assumed that when returning from a shape the coord listings are in vertex order so we can structure as needed?

Personally I see this to be more useful if it returned a dict with vertex number(key) and tuple in the format (x,y,z)

I guess this is another case of lists are more approachable for people new to python.
Tags (3)
0 Kudos
1 Reply
Frequent Contributor
it's not unstructured ..

it's { xVtx0, yVtx0, zVtx0, xVtx1, yVtx1, zVtx1,  xVtx2, yVtx2, zVtx2, .. }

so the xyzs are for increasing vertex IDs..
0 Kudos