- Longitudinal bars 4 #8 bottom / 2 #8 top; stirrups #3 @ 8 in. - Move the section figure after Loads and Beam Demand. - Add concrete-beam/README.md. - Regenerate results.json, assets/beam-section.typ, and the PDF. Note: the example-value tests (test_example_flexure, test_reinforcement_geometry) are not updated for the new input and currently fail.
30 lines
2.1 KiB
Typst
30 lines
2.1 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: 121pt, circle(radius: 4.75pt, fill: black))
|
|
#place(dx: 74pt, dy: 121pt, circle(radius: 4.75pt, fill: black))
|
|
#place(dx: 88.5pt, dy: 121pt, circle(radius: 4.75pt, fill: black))
|
|
#place(dx: 103pt, dy: 121pt, circle(radius: 4.75pt, fill: black))
|
|
#place(dx: 59.5pt, dy: 39.5pt, circle(radius: 4.75pt, fill: black))
|
|
#place(dx: 103pt, dy: 39.5pt, circle(radius: 4.75pt, 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: (107.8pt, 44.25pt), end: (129pt, 42pt), stroke: 0.5pt + rgb("#626b73")))
|
|
#place(dx: 106.2pt, dy: 42.75pt, circle(radius: 1.5pt, fill: black))
|
|
#place(dx: 132pt, dy: 37pt, text(size: 7pt, "(2) #8"))
|
|
#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 @ 8″"))
|
|
#place(line(start: (107.8pt, 125.8pt), end: (129pt, 128pt), stroke: 0.5pt + rgb("#626b73")))
|
|
#place(dx: 106.2pt, dy: 124.2pt, circle(radius: 1.5pt, fill: black))
|
|
#place(dx: 132pt, dy: 123pt, text(size: 7pt, "(4) #8"))
|
|
]
|
|
}
|