home *** CD-ROM | disk | FTP | other *** search
- '
- ' Create a grid using cylinders
- ' Breeze Designer Macro
- ' Written by Neville Richards
- '
- GridSize = 4
- GridOrientation = 0
-
- py = 0.0
- pz = 0.0
- ph = GridSize/2.0
- px = ph*-1.0
-
- new
-
- if GridOrientation = 1 then upright
-
- for m = 0 to GridSize
- SetCursor( px, pz, py )
- CreateDefaultObject( CYLINDER )
- Scale( 0.1, ph, 0.1 )
- Rotate( 90, 0, 0 )
-
- SetCursor( pz, py, px )
- CreateDefaultObject( CYLINDER )
- Scale( 0.1, ph, 0.1 )
- Rotate( 0, 0, 90 )
-
- px = px+1.0
- next
- end
-
- :upright
-
- for m = 0 to GridSize
- SetCursor( px, py, pz )
- CreateDefaultObject( CYLINDER )
- Scale( 0.1, ph, 0.1 )
-
- SetCursor( py, px, pz )
- CreateDefaultObject( CYLINDER )
- Scale( 0.1, ph, 0.1 )
- Rotate( 0, 0, 90 )
-
- px = px+1.0
- next
-