Skip to content

Conversation

@webdevred
Copy link
Owner

  • Introduce --validate-beams (-b) CLI option to validate beams.
  • Implement JbeamEdit.Transformation.BeamValidation module:
    • Parses .jbeam files in the current directory.
    • Extracts vertices and beam nodes.
    • Ensures beams reference only existing vertices.
  • Refactor vertexConns to reuse extractBeams.
  • Update filterJbeamFiles to exclude multiple files.
  • Add anVertexName helper
  • Integrate validation into Main.hs when the flag is set.

GitHub discussion: #134
Roadmap for transformation code: #69

- Introduce `--validate-beams` (`-b`) CLI option to validate beams.
- Implement `JbeamEdit.Transformation.BeamValidation` module:
  * Parses .jbeam files in the current directory.
  * Extracts vertices and beam nodes.
  * Ensures beams reference only existing vertices.
- Refactor `vertexConns` to reuse `extractBeams`.
- Update `filterJbeamFiles` to exclude multiple files.
- Add `anVertexName` helper
- Integrate validation into `Main.hs` when the flag is set.
@webdevred webdevred merged commit 1fc103c into master Dec 30, 2025
13 checks passed
@webdevred webdevred deleted the beam-validation branch December 30, 2025 21:34
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.

2 participants