Hi PILOU,
I did name Pentagonal faces, So, later I could select them with more ease! But I don't understand what you want me to do now?
> script: /* Select by Length */ var min = 1.0, max = 5.0; var crvs = moi.geometryDatabase.getObjects().getCurves(); for ( var i = 0; i < crvs.length; ++i ) { var crv = crvs.item(i); var len = crv.getLength(); if ( len>= min && len <= max ) { crv.selected = true; } }
What does the above script do? ( I suppose it will select curves with lengths between 1 & 5) but it did not work. And how it is going to make it easier to put stiches in their desired place?
->I have other question now ( Where did you learn to write MOI scripts? How can I learn it?)
How people create plug-ins for MOI? Why plug-ins usually are accompanied by *.htm file? what does this *.htm file do? I thought only *.js file would be enough.
:)
|