- Sample simple shoebox model-

- Corner/node numbers -

GEO-file written without any of the tools available i.e. "just numbers":

CORNERS
;floor corners
 1 -5  0 0
 2 -5 24 0
 3  5 24 0
 4  5  0 0
;ceiling corners
11 -5  0 8
12 -5 24 8
13  5 24 8
14  5  0 8

PLANES

[1 floor      /  4  3  2  1 / <40 50 60 70 80 80> L <30 40 50 60 70 80> ]
[2 ceiling    / 11 12 13 14 / <15 13 10 9 8 7> L <30 30 30 30 30 30> ]
[3 stage wall /  1 11 14  4 / <15 13 10 9 8 7> L <30 30 30 30 30 30> ]
[4 rear wall  /  3 13 12  2 / <15 13 10 9 8 7> L <30 30 30 30 30 30> ]
[5 left wall  /  2 12 11  1 / <15 13 10 9 8 7> L <30 30 30 30 30 30> ]
[6 right wall /  4 14 13  3 / <15 13 10 9 8 7> L <30 30 30 30 30 30> ]
;                              absorption 125-4k, diffusion 125-4k



GEO-file written using symbolic constants, surface property names and colors:

;constant declarations
LOCAL  h  =  8 ;hall height
LOCAL  w  = 10 ;hall width
GLOBAL d  = 24 ;hall depth

;aborption and diffusion factors 125Hz to 4kHz [%] {R G B}
ABS audience = <40 50 60 70 80 80> L <30 40 50 60 70 80> {0 202 101}
ABS wood     = <15 13 10 9 8 7> L <30 30 30 30 30 30> {233 222 86}

CORNERS
;floor corners
 1 -w/2 0 0
 2 -w/2 d 0
 3  w/2 d 0
 4  w/2 0 0
;ceiling corners
11 -w/2 0 h
12 -w/2 d h
13  w/2 d h
14  w/2 0 h

PLANES

[1 floor / 4 3 2 1 / audience ]
[2 ceiling / 11 12 13 14 / wood ]
[3 stage wall / 1 11 14 4 / wood ]
[4 rear wall / 3 13 12 2 / wood ]
[5 left wall / 2 12 11 1 / wood ]
[6 right wall / 4 14 13 3 / wood ]
 
 


- Chosen surface color/shading -


A slightly more complex case

GEO-file written using some of the additional features (really not needed for a simple model but very valuable for making maintainable and accurate complex models).

;constant declarations
LOCAL  h  =  8 ;hall height
LOCAL  w  = 10 ;hall width
GLOBAL d  = 24  ;hall depth

;aborption and diffusion factors 125Hz to 4kHz [%]
ABS audience = <40 50 60 70 80 80> L <30 40 50 60 70 80> {0 202 101}
ABS wood     = <15 13 10 9 8 7> L <30 30 30 30 30 30> {233 222 86}
ABS heavyabs = absoflex ; absoflex defined in abs. library

; creates mirror corners (100 added) and planes (10 added)
MIRROR 100 10

CORNERS

;help corner for lock() since mirrored corners are not created yet
 0 0 0 h

;left side floor corners, MIRROR creates 101 and 102
 1 -w/2 0 0
 2 x(1) d 0  ; x(1) returns the x-value of corner 1

;left side ceiling corners, MIRROR creates 103 and 104
 3 x(1) d h+3  ; creates a sloped ceiling
 4 x(1) 0 h

;lock() automatically handles the sloped ceiling
 5 x(1) 0.3*(y(1)+y(2)) lock(0 3 4)

PLANES

[1 floor / 2 1 101 102 / audience ]

;the sloped ceiling is divided in two parts with different properties
[2 ceiling / 4 5 3 103 105 104 /
   (hard / 4 5 105 104 / wood)
   (soft / 5 3 103 105 / heavyabs) ]

[3 stage wall / 1 4 104 101 / wood ]
[4 rear wall / 2 102 103 3 / wood ]

;MIRROR will create the right side wall as plane 5+10=15
[5 side wall / 1 2 3 4 / wood ]


- Chosen surface color/shading, view from below -



Additional directives and functions not shown here are e.g.: INCLUDE, GLOBAL, GETLOCAL, GETGLOBAL, OBJECT, ROTATE, TRANSLATE, SAY, BREAK, DEBUG, RETURN, cut(), math functions: (cos(), sin(), arctan() etc.) , OFFSETPL, OFFSETCO