Show messages: All
1-12
13-20
From: Frenchy Pilou (PILOU)
else i have a bug with the "sub-object" ?
From: Frenchy Pilou (PILOU)
else does this normal ?
after boolean Diff of a blue sphere from a Red Cube i have the "generative arc circle" on the result ?
So 2 "facetts" on the result!
From: Michael Gibson
Hi Pilou,
re:
> else i have a bug with the "sub-object" ?
It looks like that's from your changes with editing the comment part of the code, script code can only have ascii characters in it.
- Michael
From: Michael Gibson
Hi Pilou,
re:
> else does this normal ?
>
> after boolean Diff of a blue sphere from a Red Cube i have the "generative arc circle" on the result ?
>
> So 2 "facetts" on the result!
That's a normal result if that was where the closing "seam" edge of the sphere was at.
- Michael
From: Frenchy Pilou (PILOU)
"Seam's sphere" yes it's :)
So i suppose to rotate it before boolean Diff can solve this little disturb...
else
I correct the "sub object bug" in pasting your "English script" inside the "ShortCut" Moi editor and change comments directly !
(even with accents)
That works! :) I had previously copy / past the text from another prog... maybe this explain that! :)
From: neilwilson3412
hi Michael,
can you make another script to do the same for edges that get assigned a style.
From: Michael Gibson
Hi Neil, re:
> can you make another script to do the same for edges that get assigned a style.
Sure, please give this one a try:
script: /* Expand selection over same styles on edge sub objects */ var styles = new Array(); var parents = new Array(); var sel = moi.geometryDatabase.getSelectedObjects(); for ( var i = 0; i < sel.length; ++i ) { var obj = sel.item(i); if ( obj.selected ) { styles[obj.styleIndex] = true; } if ( !obj.isTopLevelObject ) { var par = obj.getTopLevelParent(); parents[par.id] = par; } } for ( var i in parents ) { var subobjs = parents[i].getSubObjects(); for ( var j = 0; j < subobjs.length; ++j ) { var subobj = subobjs.item(j); if ( subobj.isEdgeCurve && styles[subobj.styleIndex] ) subobj.selected = true; } }
- Michael
From: neilwilson3412
nailed it thank you!
Show messages: All
1-12
13-20