script: /* Reduce Selection*/ var skipcount = 2; var objs = moi.geometryDatabase.getSelectedObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( i % skipcount == 0 ) { obj.selected = false; } }
If you want an another gap : just replace var skipcount = 2 by var skipcount = 3 etc...
Make a shortcut, or Press Tab and Copy Past, or make a file JS and put it ins the folder commands...
Something very cool by Michael!
Makes an alternate selection of somethings selected! (Lines, Curves, Surfaces, Objects...)
Works fine for this sort of thing!
2 arcs + lineWeb (or anything you want)
Select All - Unselect arcs
Call Script - Mountains = red
Inverse Selection - Unselect Arcs
Rivers = Blue
Export All as SVG and go to https://origamisimulator.org/
Import the SVG file
True candy!
Import the SVG inside https://origamisimulator.org/
(careful to save also the 3DM because import SVG inside Moi don't reload (for the moment) the colors!!!
if you want modify something! )
French version ; https://moiscript.weebly.com/seacutelection-alterneacutee.html
|