Language reference
Stages and revisions
STAGE 1 Existing structure
# everything below belongs to stage 1
STAGE 2 Proposed change
# re-ADD the same ID to revise it without
# destroying its stage-1 definition
REMOVE MEMBER C
# hides C from this stage onward unless
# a later stage defines C again
Linear members / framing roles
ADD COLUMN A
SECTION 2x4 NOMINAL
MATERIAL pine
FROM (0, 0, 0)
TO (0, 34, 0)
ORIENTATION stud
ADD COLUMN B
SECTION 2x4 NOMINAL
MATERIAL pine
FROM (30, 0, 0)
TO (30, 34, 0)
ORIENTATION stud
ADD LINTEL C
SECTION 2x4 NOMINAL
MATERIAL pine
FROM (-0.75, 34.75, 0)
TO (30.75, 34.75, 0)
BEARS ON top(A), top(B)
ORIENTATION flat
Roles include:
column, post, stud, king-stud, jack-stud,
trimmer, beam, girder, header, lintel, joist,
rafter, purlin, ledger, sill, plate, blocking,
brace, strut, tie, member.
Planes, slabs and membranes
ADD SLAB COUNTERTOP
MATERIAL plywood
ORIGIN (0, 34, 0)
SIZE 60 x 25
PLANE xz
THICKNESS 1.5
# Or define an arbitrary quadrilateral:
ADD MEMBRANE M1
CORNERS (0,0,0); (20,0,0);
(20,12,8); (0,12,8)
THICKNESS 0
Joints and supports
JOIN top(A) TO bearing(C,A)
TYPE bearing
FASTENER diagonal-screws
RIGIDITY semi-rigid
# Other useful connection words include:
# butt, seated, half-lap, housed, mortise-tenon,
# notch, scarf, hanger, post-cap, angle-bracket.
# “flush” describes alignment; “bearing” describes
# the load-transfer/contact relation.
SUPPORT bottom(A)
TYPE l-bracket
TO floor
RESTRAIN x y z
Material properties
MATERIAL pine
E 1200000 psi
COMPRESSION 1000 psi
TENSION 600 psi
DENSITY 0.018 lb/in3
# No strength numbers are assumed merely
# because a species name is supplied.
Forces (stored, not solved yet)
FORCE A
AXIAL -250 lbf
LOAD C
TYPE point
MAGNITUDE 100 lbf
AT 0.5
DIRECTION -y