Commit graph

7 commits

Author SHA1 Message Date
325cb43323 Merge pull request 'concrete-beam-section' (#1) from concrete-beam-section into main
Reviewed-on: #1
2026-09-21 19:24:39 -04:00
e129c1e87c Use concise dynamic rebar labels in beam section
Render bar-group callouts as (n) #size and stirrups as #size @ spacing,
driven entirely by the input values.
2026-09-21 19:23:14 -04:00
759d5e3bae Refine beam section figure and derive As from bars
- Derive As from the provided longitudinal bars instead of taking it as
  input; drop the redundant As_bars output and update tests.
- Draw a fixed schematic 1 in cover and pin the bottom bars to the
  stirrup's bottom leg so the figure no longer depends on cover or d.
- Fixed stirrup stroke with a rounded 3 pt corner radius.
- Right-align the figure, constrain its caption to the image width, and
  shorten the caption to "Beam cross-section".
- Document input.yaml fields.
2026-09-21 19:16:57 -04:00
25f66bb4da Add generated beam cross-section figure to concrete-beam
Add reinforcement inputs (cover, stirrup size/spacing, longitudinal and
top bar size/count) and emit the derived bar geometry from calc.py.
beam_section.py renders a native Typst drawing of the section to
assets/beam-section.typ, which concrete-beam.typ imports as a figure.
Effective depth d remains authoritative for the tension-steel position.
2026-09-21 14:25:16 -04:00
8f91baee41 Use Pint and unit-free variable names in concrete-beam
Convert input parsing to Pint (matching the other calculations), carry
units in the YAML values, and drop unit suffixes from input keys, local
variables, results keys, the Typst sheet, and tests.
2026-09-21 12:44:28 -04:00
27a9cdd707 Remove concrete-beam2 and unused shore-post-brace assets 2026-09-21 12:33:13 -04:00
d5ac3fca7e Add structural calculation worksheets
Collection of engineering calculation projects (Python + Typst), each with
input, calc script, tests, results, and generated PDF where available.
2026-09-21 12:19:20 -04:00