Skip to content

v0.1.4 — #break, solvers, project/library sidebar, gevelkolom + windverband#7

Merged
DutchSailor merged 4 commits into
mainfrom
release/v0.1.4
May 22, 2026
Merged

v0.1.4 — #break, solvers, project/library sidebar, gevelkolom + windverband#7
DutchSailor merged 4 commits into
mainfrom
release/v0.1.4

Conversation

@DutchSailor

Copy link
Copy Markdown
Collaborator

Highlights

  • #break werkt als echte loop-exit — 2259-Intertek foundation kiest nu [5,8,4,5] gelijk aan de CalcPAD-PDF (was [9,9,6,6]).
  • expr | unit target-unit operator wordt vertaald naar to unitp_ground = F/A | kN/m^2 werkt nu.
  • Iteratieve oplossers: \$Find, \$Root, \$Solve (Newton-Raphson), \$Sup, \$Inf (golden-section).
  • Vector-index name.(expr) en name.i worden correct vertaald naar name[expr] / name[i].
  • ≤ ≥ ≡ ≠ symbolen werken nu in ALLE expressies (waren conditional-only).
  • Project + Library sidebar met section-headers.
  • Projectgegevens sheet (Eurocode-uitgangspunten met @select dropdowns).
  • Stalen gevelkolom sheet met alle 42 IPE/HEA, kipcontrole (§6.3.2.4), schema + M/V-lijn SVG.
  • Verticaal windverband sheet — trekstaaftoetsing van strippen/hoeklijnen, schema is rechthoek+kruis met krachtdriehoek-ontbinding.
  • Persistentie van source + load case values via Tauri store.
  • CalcPAD-stijl preview — geen grijze blokken/blauwe streep om formules, geen "1" voor units (235 N/mm² ipv 235 1 N/mm²), geen horizontale slider.

Resultaat 2259-Intertek

148 assignments · 0 NaN · 0 errors · types [5, 8, 4, 5] = PDF.

DutchSailor and others added 4 commits May 22, 2026 09:13
…lvers

Brings the engine in line with real-world CalcPAD usage:

- `#break` is now a true loop-exit (BreakNode in AST, scope-flag in
  evaluator). The Intertek 2259 foundation calc now produces the same
  pile-type choices [5, 8, 4, 5] as the CalcPAD PDF, which previously
  iterated all 9 attempts and ended on type 9.
- `expr | unit` is now interpreted as the CalcPAD target-unit operator
  → mathjs `expr to unit`. Eliminated the NaN cascade in `p_ground`.
- `≤ ≥ ≡ ≠` symbols normalized to `<= >= == !=` for ALL expressions
  (was conditional-only).
- Vector-index `name.(expr)` and `name.i` (single-letter index) now
  rewrite to `name[expr]` / `name[i]`. Fixes the 5.1 drawFloor schema
  where `aaa1.i` / `aaa1.(i+1)` were folded to a single identifier.
- Iterative solver directives lifted into helper functions:
  `$Find{f(x) @ x = lo:hi}` → bisection
  `$Root{...}`              → alias for $Find
  `$Solve{f(x) @ x = guess}` → Newton-Raphson
  `$Sup{f(x) @ x = lo:hi}`  → golden-section max
  `$Inf{f(x) @ x = lo:hi}`  → golden-section min

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- `unitPartToLatex` herschreven zonder mathjs round-trip — geen leading
  "1" meer voor units. `235 N/mm²` ipv `235 1 N/mm²`.
- `.calc-line` heeft niet meer de grijze achtergrond + blauwe linker-
  streep. Foutregels behouden hun rode visuele indicator.
- `.calc-preview-content` zet `overflow-x: hidden` + `overflow-wrap:
  anywhere`. Lange KaTeX-formules wrappen naar de volgende regel
  ipv een horizontale scrollbar te tonen.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…, windverband

ProjectBrowser splitst nu in twee secties met section-headers:
  • PROJECT (boven): klikbare projectgegevens + de calc-sheets
  • LIBRARY (onder): Books / Standards / CalcPAD-voorbeelden

Nieuwe sheets onder Project:
  • Projectgegevens — Eurocode-uitgangspunten (CC-klasse, K_FI,
    windgebied, terreincategorie, sneeuwbelasting, grondsoort,
    geotechnische categorie) via @select dropdowns.
  • Stalen gevelkolom (wind + N + kip) — alle 42 IPE/HEA, matrix-
    lookup van h, b, t_w, t_f, A, W_el,y, I_y. Toets buiging
    §6.2.5, dwarskracht §6.2.6, druk §6.2.4, kip §6.3.2.4 (vereen-
    voudigde slankheidsmethode met n_kipsteunen), gecombineerd
    §6.2.9, en BGT-verplaatsing §7.2. Schema + M/V-lijn SVG.
  • Verticaal windverband — trekstaaftoetsing (strip of hoeklijn).
    Schema is een rechthoek + kruis (XZ-aanzicht) met krachtdriehoek
    die de wind ontbindt in F_h, F_v en F_t,Ed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
documentStore (source + filePath) en loadCaseStore (cases + activeId +
valuesByCase) hydrateren nu uit de Tauri-store bij app-boot en
auto-saven debounced (250–500 ms) bij elke wijziging. Open je calc na
herstart en je dropdown-/prompt-keuzes staan er weer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@DutchSailor DutchSailor merged commit 9f5c914 into main May 22, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant