# Residence — first floor. Grids, layered walls, four rooms.
# The intermediate grids are expression-defined: move D and watch B and C follow.
project "Maple St Residence"
units imperial
level L1 elev 0' height 9'-0"
grid A vertical at 0'
grid D vertical at 36'-0"
grid B vertical at grid.A + (grid.D - grid.A)/3 # thirds of the A-to-D span
grid C vertical at grid.B + (grid.D - grid.B)/2 # midway from B to the east wall
grid 1 horizontal at 0'
grid 2 horizontal at 12'-0"
grid 3 horizontal at 26'-0"
walltype EXT-1 layers [siding 1", sheathing 5/8", core: stud 6", gyp 5/8"]
walltype STUD4 width 4.5" note "3-5/8 stud + gyp ea side"
# The door schedule, as types (v0.3): entry + interior leaves, three window sizes.
doortype 3070 width 3'-0" height 7'-0"
doortype 2870 width 2'-8" height 7'-0"
windowtype W-5040 width 5'-0" height 4'-0"
windowtype W-6040 width 6'-0" height 4'-0"
windowtype W-4040 width 4'-0" height 4'-0"
# Perimeter clockwise, justify left: the drawn line is each wall's left
# face — the outside.
wall EXT-1 W1 from (grid.D,grid.1) to (grid.A,grid.1) justify left
wall EXT-1 W4 from (grid.A,grid.1) to (grid.A,grid.3) justify left
wall EXT-1 W3 from (grid.A,grid.3) to (grid.D,grid.3) justify left
wall EXT-1 W2 from (grid.D,grid.3) to (grid.D,grid.1) justify left
# Partitions.
wall STUD4 W5 from (grid.A,grid.2) to (grid.C,grid.2)
wall STUD4 W6 from (grid.B,grid.2) to (grid.B,grid.3)
wall STUD4 W7 from (grid.C,grid.1) to (grid.C,grid.2)
wall STUD4 W8 from (grid.C,grid.2) to (grid.C,grid.3) # closes BED 2 off the living room
# Front door opens into the living room.
door 3070 D1 in wall.W1 at 6' swing left
door 2870 D2 in wall.W7 at 6' swing left
door 2870 D3 in wall.W5 at 6' swing left
door 2870 D4 in wall.W5 at 18' swing right
window W-5040 WIN1 in wall.W1 at 30' sill 2'-6"
window W-5040 WIN2 in wall.W1 at 20' sill 2'-6"
window W-6040 WIN3 in wall.W2 at 13' sill 2'-6"
window W-4040 WIN4 in wall.W3 at 28' sill 3'-0"
window W-4040 WIN5 in wall.W3 at 10' sill 3'-0"
room 101 name "LIVING" at (30', 13')
room 102 name "KITCHEN" at (12', 6')
room 103 name "BED 1" at (6', 19')
room 104 name "BED 2" at (18', 19')