Hey there,
I'm using this script right now:
script: /* switch selection from a face to its edges */ var gd = moi.geometryDatabase; var faces = gd.getSelectedObjects().getFaces(); gd.deselectAll(); for ( var i = 0; i < faces.length; ++i ) faces.item(i).getEdges().setProperty( 'selected', true );
I would love a variation of this script that does more.
1. Switch the selection from the face to its edges (current script)
2. Do a join so the edges now form a closed curve
3. Remove the original face
So it would be something more like "Switch selection from a face to a wireframe"
Would save me a lot of time :)
Thanks in advance, it's always a pleasure to use MoI everyday at work !
|