Show messages: All
1
2-10
From: Frenchy Pilou (PILOU)
This one for your asked question...
script:moi.view.showHiddenLineCurves = !moi.view.showHiddenLineCurves; moi.view.showHiddenLineEdges = !moi.view.showHiddenLineEdges;
seems the above don't work for any reasons :( - this one yes! thx to Val2 :)
script:moi.view.showHiddenLines =! moi.view.showHiddenLines;
And this other one for that! ;)
​script:/* Toggle Wire / faces */var breps = moi.geometryDatabase.getObjects().getBReps(); var hide = true; for ( var i = 0; i < breps.length; ++i ) { var faces = breps.item(i).getFaces(); if ( i == 0 ) hide = !faces.item(0).hidden; faces.setProperty( 'hidden', hide ); }
From: val2
Thanks, I appreciate it.
val
From: mk (MARKY)
Cool!
From: Markog (MRAKGR)
The last one works, but the first one does not for me. It does not toggle the View -> Display hidden lines in the options, nor anything else that I can see.
From: val2
script:moi.view.showHiddenLines =! moi.view.showHiddenLines;
this one works.
Val
From: Markog (MRAKGR)
Thank you.
From: Frenchy Pilou (PILOU)
Corrected maybe an old one for previous version???
From: val2
Not really sure, when it didn't work I went to here
http://kyticka.webzdarma.cz/3d/moi/#ToggleHiddenLine and grabbed the command. You made me realize it had to already exist.
From: Frenchy Pilou (PILOU)
Yep it's from there that i put on my site many years ago! ;)
https://moiscript.weebly.com/ptr1.html
Show messages: All
1
2-10