Commit Graph

3 Commits

Author SHA1 Message Date
Maxim
5e010bd2b6 Fillet concave V-notches in busbar preview
At every vertex (cell or waypoint) where two capsule segments meet, the union of the
rectangles and pad discs left a sharp inward V on the concave side. Canvas lineJoin
only smooths the convex side, so added an explicit tangent-arc region per concave
corner: intersect the inner offset lines to find the notch tip, place the arc center
on the angle bisector at radius padRadius, and fill the curved-triangle bounded by
the two tangent points and the arc. The added subpath unions into the existing fill.
2026-04-22 18:40:48 +02:00
Maxim
15388f681a Redraw busbar overlay during pan and zoom
Pan/zoom handlers redraw the cell holder canvas but skipped the busbar overlay, which was only drawn from updatePreview(). Cache the last draw args and expose redrawBusbarOverlay() so the overlay stays visible during wheel, drag, and touch interactions.
2026-04-22 17:16:43 +02:00
Maxim
ea030930cc Initial commit: cell holder generator + busbar builder
- 3D printable cell holder with STEP export (grid/honeycomb/vertical layouts)
- Configurable BMS holes (half circles, full circles, edge tabs)
- Busbar builder: click cells to define busbars, auto-routed with bend fallback
- Compound STEP export bundles holder + busbars
- OpenCascade.js (wasm) vendored for 3D modeling
2026-04-22 16:16:46 +02:00