You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(core): #break, |→to, ≤≥≡≠, vector index .(expr)/.i, iterative solvers
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>
* style(preview): CalcPAD-look formules + geen horizontale slider
- `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>
* feat(desktop): Project + Library secties, projectgegevens, gevelkolom, 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>
* feat(desktop): persist source + load case values, bump to 0.1.4
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>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments