Render bar-group callouts as (n) #size and stirrups as #size @ spacing, driven entirely by the input values.
28 lines
1.9 KiB
Typst
28 lines
1.9 KiB
Typst
// Generated by beam_section.py from input.yaml - do not edit by hand.
|
|
#let beam-section() = {
|
|
box(width: 180pt, height: 180pt)[
|
|
#place(dx: 48pt, dy: 28pt, rect(width: 76pt, height: 114pt, fill: rgb("#f2f2f2"), stroke: 1pt + black))
|
|
#place(dx: 58.5pt, dy: 38.5pt, rect(width: 55pt, height: 93pt, radius: 3pt, stroke: 2pt + black))
|
|
#place(dx: 59.5pt, dy: 124.6pt, circle(radius: 2.969pt, fill: black))
|
|
#place(dx: 106.6pt, dy: 124.6pt, circle(radius: 2.969pt, fill: black))
|
|
#place(dx: 59.5pt, dy: 39.5pt, circle(radius: 2.375pt, fill: black))
|
|
#place(dx: 107.8pt, dy: 39.5pt, circle(radius: 2.375pt, fill: black))
|
|
#place(line(start: (48pt, 158pt), end: (124pt, 158pt), stroke: 0.6pt + black))
|
|
#place(line(start: (48pt, 155pt), end: (48pt, 161pt), stroke: 0.6pt + black))
|
|
#place(line(start: (124pt, 155pt), end: (124pt, 161pt), stroke: 0.6pt + black))
|
|
#place(dx: 48pt, dy: 161pt, box(width: 76pt, align(center, text(size: 7pt)[$b_w = 8 " in"$])))
|
|
#place(line(start: (42pt, 28pt), end: (42pt, 142pt), stroke: 0.6pt + black))
|
|
#place(line(start: (39pt, 28pt), end: (45pt, 28pt), stroke: 0.6pt + black))
|
|
#place(line(start: (39pt, 142pt), end: (45pt, 142pt), stroke: 0.6pt + black))
|
|
#place(dx: 0.5pt, dy: 82pt, text(size: 7pt)[$h = 12 " in"$])
|
|
#place(line(start: (110.1pt, 41.88pt), end: (129pt, 42pt), stroke: 0.5pt + rgb("#626b73")))
|
|
#place(dx: 108.6pt, dy: 40.38pt, circle(radius: 1.5pt, fill: black))
|
|
#place(dx: 132pt, dy: 37pt, text(size: 7pt, "(2) #4"))
|
|
#place(line(start: (113.5pt, 85pt), end: (129pt, 82pt), stroke: 0.5pt + rgb("#626b73")))
|
|
#place(dx: 112pt, dy: 83.5pt, circle(radius: 1.5pt, fill: black))
|
|
#place(dx: 132pt, dy: 77pt, text(size: 7pt, "#3 @ 6″"))
|
|
#place(line(start: (109.5pt, 127.5pt), end: (129pt, 128pt), stroke: 0.5pt + rgb("#626b73")))
|
|
#place(dx: 108pt, dy: 126pt, circle(radius: 1.5pt, fill: black))
|
|
#place(dx: 132pt, dy: 123pt, text(size: 7pt, "(2) #5"))
|
|
]
|
|
}
|