Repository navigation
Conversation
Replace the PyQt interface with an egui and wgpu application, and run CadQuery scripts in an isolated Python worker. Rebuild the editor, 3D viewer, debugger and panels; add process recovery, export support, updated documentation and CI. Remove the legacy GUI and packaging.
Move Rust and Python tests into purpose-based directories under tests/. Add coverage for editor state, scene geometry, worker protocol, script isolation, exports, and process recovery. Update CI and documentation for the new layout. The suite now contains 79 Rust and 127 Python tests.
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
This PR rebuilds the CQ-editor interface in Rust using egui and wgpu. CadQuery scripts run in a separate Python worker that communicates with the GUI through JSON messages.
The rewrite includes the code editor, GPU-based 3D viewer, navigation cube, debugger, object inspector, console, preferences, and model export. Running or crashing scripts no longer take down the interface, and the worker can be restarted.
Documentation and CI have been updated for the new architecture. The regression suite is organized by application area under
tests/and contains 79 Rust tests and 127 Python tests.Compatibility and migration
Verification
Passed locally on Windows:
cargo test— 79 testscargo fmt --checkcargo clippy --all-targetsPYTHONPATH=worker python -m pytest tests/worker— 127 testsblack --check worker tests/workerThis is a substantial architectural change. Feedback on the direction and scope is welcome.