Wednesday, January 26, 2011
Casestudies_v1.
Ok. I'll lets be realistic, I'm not in studio and all the scripts thought of have been written. What I'm really doing is beating a dead horse, making something pretty and trying to gain some insight on computation while doing it.
So here I present you Circles! its all the about the color. ;D
Things studied/developed,
:Cases
:rhino.commands
'script portion
+++++++++++++++++++++++++++++++++++++++++++++
ColorChoice = CInt(Rnd*4)
do while ColorChoice = prevCC
ColorChoice = CInt(Rnd*4)
loop
Select Case ColorChoice
Case 0
Rhino.CurrentLayer("red")
Case 1
Rhino.CurrentLayer("yellow")
Case 2
Rhino.CurrentLayer("blue")
case 3
Rhino.CurrentLayer("green")
case 4
Rhino.CurrentLayer("white")
End Select
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment