Repository navigation
Conversation
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #243. Relates to #139, the earlier STEP export feasibility issue.
This draft proposes a path to editable STEP export for Tracefinity. The implementation and testing below address the concerns raised in #139 about maintaining a second geometry backend, adding a heavy runtime CAD dependency, and keeping generation fast enough for larger bins. I think the results make this a practical starting point for STEP support, and I'd welcome feedback on the approach.
Build the bin once as a boundary-representation solid in a Rust worker. The 3D preview renders the mesh tessellated from that solid, STL downloads the same mesh, and STEP serializes the same solid's faces and edges. The preview and export requests carry the same geometry revision. The contrast insert follows the same path as a separate solid.
make geometry. Open CASCADE is used for independent test readback.allow_wall_cutoutswhen present in saved settings. The editor toggle is tracked in Allow opt-in wall cutouts for tools and finger reliefs #248.Generation timings
Local Apple M6, seven alternating HTTP requests per backend after warm-up. Fresh generation includes outline preparation, solid construction, tessellat 8000 ion, file writes and the response. The legacy path generates STL and any configured mesh outputs. The Rust path also writes STEP during generation.
Fresh generation took 1.22–2.21× the legacy time on these fixtures. Across the seven paired exports, the outer dimensions agreed to 0.0001 mm and the legacy and Rust STL volumes differed by less than 0.1%. Each Rust STL matched its STEP volume within 0.007%. Raw timing samples
Side-by-side previews
The rotated slot in the interior-island fixture follows the 2D layout angle in the Rust export. In the combined-feature fixture the Rust model joins two half-grid feet to the bridge, so it exports as one solid.
Verification
make geometry, 944 backend tests, 299 frontend tests, and all five browser accuracy tests passed.make lintpassed with nine existing frontend warnings.