Hi there all!,

im writing a re-topologizing script which is basically bridging and merging 
a load of specific edges on a large mesh. I have a long list of all the 
separate sets of edges that need merging. The problem is if i want to 
modify the code at an earlier stage, or change which edges to merge, it 
will throw out all the other edges on the list. Suddenly edge number 47 has 
become edge 53 or something. you get me!?

Also every time i use the command polyBridgeEdge. it selects the edges that 
were just bridged. Meaning next time i use the polyBridgeEdge command it 
wont execute until i clear the selection. So i have to do a ridiculous list 
like this:
 
cmds.polyBridgeEdge( 'Mesh.e[155]', 'Mesh.e[823]', divisions=1 )
cmds.select( clear=True )

cmds.polyBridgeEdge( 'Mesh.e[146]', 'Mesh.e[436]', divisions=1 )
cmds.select( clear=True )

cmds.polyBridgeEdge( 'Mesh.e[123]', 'Mesh.e[523]', divisions=1 )
cmds.select( clear=True )

cmds.polyBridgeEdge( 'Mesh.e[123]', 'Mesh.e[522]', divisions=1 )
cmds.select( clear=True )

i was wondering if anyone else has done a script which requires bridging 
loads of different edges. Is there a smart way to do this?. Bearing in mind 
as i develop and refine my script i am constantly changing which edges i am 
bridging and merging. So it makes the development of my script very 
tedious, to constantly update the remaining list so that the bridge/merge 
edge commands aren't picking the wrong edges.



thanks alot guys!x

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/b2d8fbde-872b-4121-a011-5a2d74bc8d10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to