Skip to content

Add engineering, data exchange, forms, symbols and panel production features - #4

Merged
nilres merged 1 commit into
masterfrom
feature/structure-cables-wires
Oct 21, 2026
Merged

nilres merged 1 commit into
masterfrom
feature/structure-cables-wires

Conversation

@nilres

@nilres nilres commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Summary

Closes most of the gap to EPLAN that was identified (points 1–10 of the feature list):

Engineering

  • Structure identifiers: pages get function (=) and location (+); devices inherit them, tags are stored complete and shown relative to the page.
  • Cables with cores (assign wires to cores), cable overview / cable diagram reports, cables in the BOM.
  • Wire numbering: sequential, page/column or potential based; manual numbers are kept.
  • Macros: window and page macros with placeholders and value sets, stored in the app, JSON import / export.
  • Terminal strip editor (order, renumbering, jumpers, spare terminals) and PLC overview (addressing, symbol table CSV export / import).
  • Revisions: page snapshots, change list, revision marks, released (locked) pages, revision overview report.

Data exchange

  • PDF export with bookmarks and clickable cross references, DXF export (R12, layers), production wire list (CSV).

Forms and symbols

  • Title block editor with placeholders ({project}, {page}, {prop:Name} …), per project and per page; report forms (columns, order, rows per page).
  • Symbol editor for user symbols (stored in the project, library files); new libraries: NFPA / JIC, fluid power (ISO 1219), single-line / overview, black boxes / PLC boxes.

Panel production (Pro Panel)

  • Busbar systems and cutouts, drilling pattern of rails / ducts / busbar holders / screwed devices, NC export (DXF / CSV) per plate and door.
  • Enclosure door with door devices, generated door cutouts (Ø22.5 or from part data), wiring over the hinge; mounting layout page shows plate and door.
  • Collision check with the parts' 3D models (not just their boxes), also door devices against the plate equipment; clearance and door clearance checks.
  • Wire end treatment (stripping length, DIN 46228-4 ferrules) in the wire list and BOM.
  • Wire harnesses per point-to-point connection: harness data report, connectors with pin assignment, bundle diameter, simplified KBL (VDA 4964) export.

The demo project uses most of it (structure, cable -W1, wire numbers, door devices, harness -WH1).

Not included

  • DWG and EPLAN EDZ (proprietary formats); KBL is a subset (no formboard / segment topology).
  • Team / enterprise features (point 11).

Test plan

  • cargo test --workspace (149 tests)
  • cargo clippy --workspace --all-targets – no warnings
  • cargo clippy -p openecraft -p openecraft-parts-manager --target wasm32-unknown-unknown – no warnings
  • Web build checked in the browser: PDF output, terminal strips, PLC overview, revisions, macros, symbol editor, title block editor, mounting page with door, harness report
  • Desktop build checked visually
  • Panel door / busbar / cutout tools clicked through in the UI (covered by unit tests only)

🤖 Generated with Claude Code

…eatures

- Structure identifiers (=function +location) per page, relative tags
- Cables with cores, wire numbering (sequential, page/column, potential)
- Macros (window / page) with placeholders and value sets
- Terminal strip editor (order, jumpers, spares) and PLC overview with
  symbol table export / import
- Revisions with page snapshots, change marks and released (locked) pages
- PDF export (bookmarks, links), DXF export, production wire list
- Title block editor with placeholders, report forms (columns, rows)
- Symbol editor for user symbols; NFPA, fluid power, single-line and
  black box / PLC box libraries; overview function
- Panel production: busbars, cutouts, drilling pattern, NC export
  (DXF / CSV), wire end treatment with ferrules, clearance checks
- Enclosure door with door devices and door cutouts, wiring over the hinge
- Collision check with the parts' 3D models instead of their boxes
- Wire harnesses per point-to-point connection: harness data report,
  connectors, bundle diameter, simplified KBL export

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nilres
nilres merged commit a507fef into master Oct 21, 2026
8 checks passed
@nilres
nilres deleted the feature/structure-cables-wires branch October 25, 2026 17:30
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