add edge by script fails
| Date : Wed, 12 Dec 2007 15:06:28 -0500 |
| To : XSI(at)Softimage.COM |
| From : "Ponthieux, Joey" <j.ponthieux(at)nasa.gov> |
| Subject : add edge by script fails |
CreatePrim("Cube", "MeshSurface", null, null);
ApplyTopoOp("AddEdge", "cube.pnt[2];cube.edge[-1];cube.poly[4]", null, null, null);
AddPointInteriorToPolygon("cube.polymsh.addedgeop", 0, 0, 1, 2, 0.301210900245083, 0.366440890303661, 0.332348209451256, null);
TerminateAddEdgeWithInteriorPoints("cube.polymsh.addedgeop", 4, 11, null);
If I copy this to script editor dialog box and run it, it fails starting at the ApplyTopoOp. I've not edited anything this is verbatim what was produced by the log.
However this works:
CreatePrim("Cube", "MeshSurface", null, null);
AddEdge("cube.pnt[2];cube.edge[LAST];", 45.7073555139773, siPersistentOperation, null, null);
and so does this:
CreatePrim("Cube", "MeshSurface", null, null);
SplitEdge("cube.edge[1]", 51.7771523174187, false, true, siPersistentOperation, null);
AddEdge("cube.pnt[LAST];cube.edge[11];", 39.4032756141395, siPersistentOperation, null, null);
It appears any single edge created from edge to edge, edge to vertex, vertex to vertex will work. But any multiple edge creation with an extra vertex in the new edge run fails as a script. Anybody seen this before? Any idea how to get around this?
-- Joey Ponthieux NCI Information Systems Inc. NASA Langley Research Center ____________________________________________________________ Opinions stated here-in are strictly those of the author and do not represent the opinions of NASA or any other party.
--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: RE: nVidia goes mental: nRay?
- Next by Date: RE: nVidia goes mental: nRay?
- Previous by Thread: RE: nVidia goes mental: nRay?
- Next by Thread: RE: nVidia goes mental: nRay?
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |