Skip to content

Instantly share code, notes, and snippets.

@berniebernie
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save berniebernie/ec96849dab0f98cdc3f1 to your computer and use it in GitHub Desktop.

Select an option

Save berniebernie/ec96849dab0f98cdc3f1 to your computer and use it in GitHub Desktop.
Add edge loops from single selected rings edges http://i.imgur.com/PiVJ350.gif
string $singleEdges[] = {};
string $sel[] = `ls -sl -fl`;
for($o in $sel){
select -r $o;
SelectEdgeRingSp;
polySplitRing -ch 0;
string $sel2[] = `ls -sl -fl -hd 1`;
$singleEdges[size($singleEdges)] = $sel2[0];
}
select -r $singleEdges;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment