Make It With MoI

 From:  Frenchy Pilou (PILOU)
4388.51 
@Magic
Maybe you can use these 2 colors scripts for some variations ;)
(all by Michael ;)

script: /* Assign random styles to solids */ var styles = moi.geometryDatabase.getObjectStyles(); var breps = moi.geometryDatabase.getObjects().getBReps(); for ( var i = 0; i < breps.length; ++i ) { var brep = breps.item(i); var style_index = Math.floor(Math.random() * styles.length); brep.styleIndex = style_index; }

script: /* Assign random styles to faces and edges */ var styles = moi.geometryDatabase.getObjectStyles(); var breps = moi.geometryDatabase.getObjects().getBReps(); for ( var i = 0; i < breps.length; ++i ) { var brep = breps.item(i); var edges = brep.getEdges(); for ( var j = 0; j < edges.length; ++j ) { edges.item(j).styleIndex = Math.floor(Math.random() * styles.length); } var faces = brep.getFaces(); for ( var j = 0; j < faces.length; ++j ) { faces.item(j).styleIndex = Math.floor(Math.random() * styles.length); } }

PS About the Random replacement component, inside SU there also a new little plugin
24 positions of a component also by Sdmitch ;) So you can take it as Source for some Target furious folishes with the Random replacement component :)
(here colors are post randomised)

EDITED: 27 Jul 2011 by PILOU

Attachments: