Skip to content
Browse files

boxes

  • Loading branch information...
1 parent 400d13f commit a54dd31213a3f7ce0a396a2844c92c69734793a3 @zevenwolf committed Feb 27, 2012
Showing with 29 additions and 0 deletions.
  1. +29 −0 createbox.py
View
29 createbox.py
@@ -0,0 +1,29 @@
+#import rhinoscript
+#import rhinoscriptsyntax as rs
+
+boxPointsList = []
+boxList = []
+
+box
+boxes = 0
+
+#layer = rs.StringBox("New layer name" )
+#if layer: rs.AddLayer( layer )
+
+#numberOfBoxes = rs.GetString("Number of boxes")
+numberOfBoxes = 2
+#print numberOfBoxes
+#show grid
+#
+
+for boxes in range(numberOfBoxes):
+ boxPattern = 0,0,0,0,2,0,2,2,0,2,0,0,0,0,2,0,2,2,2,2,2,2,0,2
+ for i in boxPattern:
+ boxTemp = i * boxes
+ boxPointsList.append(boxTemp)
+ #itterate throught box
+ #rs.AddBox(box)
+ boxList.append(boxPointsList)
+ boxList = []
+del boxList[0]
+print boxList

0 comments on commit a54dd31

Please sign in to comment.
Something went wrong with that request. Please try again.