Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
06c8546
Rebuild CQ-editor with Rust GUI and Python worker
igors93 Oct 21, 2026
c19de0c
Organize and expand regression tests
igors93 Oct 21, 2026
0d26ee5
Add precise topological entity picking
igors93 Oct 21, 2026
4d2f238
Optimize large assembly geometry handling
igors93 Oct 21, 2026
8fc58f9
Prevent autoreload from discarding unsaved code
igors93 Oct 21, 2026
b6cdde9
Make document saves atomic and recoverable
igors93 Oct 21, 2026
80ac356
Add project documentation and refresh the README
igors93 Oct 21, 2026
fa6fe5b
Format worker sources with black
igors93 Oct 21, 2026
b62c412
Keep scene keys unique across Python restarts
igors93 Oct 21, 2026
60c7ba5
Keep the object tree visible above the property sheet
igors93 Oct 21, 2026
1c08cda
Make breakpoints follow their lines through edits
igors93 Oct 21, 2026
c715204
Correct the completion documentation
igors93 Oct 21, 2026
f2921cd
Make 3D navigation precise and add zoom controls
igors93 Oct 21, 2026
d4f087e
Show navigation cursors while moving the 3D view
igors93 Oct 21, 2026
8886f14
Add enforceable original compatibility contract
igors93 Oct 21, 2026
dce5732
Format compatibility fixture with CI Black version
igors93 Oct 21, 2026
555e45c
Add exact OCCT topology measurements
igors93 Oct 21, 2026
ddd9323
Index scene parts, edges and vertices for fast picking
igors93 Oct 21, 2026
7d86983
Keep worker meshes available for whole requests and reuse them
igors93 Oct 21, 2026
5c9d198
Pick on the display triangles instead of a second triangle set
igors93 Oct 21, 2026
b7fb6c0
Report where each run spends its time, stage by stage
igors93 Oct 21, 2026
b6f7e5c
Resolve the open roadmap bugs and those found in a full review
igors93 Oct 22, 2026
31781d7
Define and test CadQuery/OCP compatibility
igors93 Oct 22, 2026
06e5305
Validate glTF face mappings against OCCT geometry
igors93 Oct 22, 2026
34e323b
Bound worker output and protocol messages
igors93 Oct 22, 2026
eeaa6a5
Tie mesh ids to their mesher and split the app state by concern
igors93 Oct 22, 2026
58a63f3
Close the everyday gaps of the roadmap
igors93 Oct 22, 2026
9e7d9ef
Add a square-tube workbench example
igors93 Oct 22, 2026
600f7a7
Release 0.8.0 with self-contained installers
igors93 Oct 22, 2026
150db5c
Fix macOS package installation path
igors93 Oct 22, 2026
8f5f690
Generate CadQuery selectors for picked entities (FEAT-B1)
igors93 Oct 23, 2026
5ec2767
Return the picked entities from selected() in the console (FEAT-B2)
igors93 Oct 23, 2026
2019eeb
Add a Parameters panel that edits the script's numbers (FEAT-B3)
igors93 Oct 23, 2026
a84d8c9
Go from objects and inspector steps to their source line (FEAT-B4)
igors93 Oct 23, 2026
daf2578
Complete the measure tool with bounding boxes and copy as code (FEAT-B5)
igors93 Oct 23, 2026
c3c899e
Add a section plane that cuts the model and fills the cut (FEAT-C1)
igors93 Oct 23, 2026
e1a8546
Add an exploded view and isolation for assemblies (FEAT-C2)
igors93 Oct 23, 2026
bb689e6
Add X-ray and hidden-line display modes and per-object edges (FEAT-C3)
igors93 Oct 23, 2026
2d853cc
Save named views per file (FEAT-C4)
igors93 Oct 23, 2026
91e9371
Add large and transparent screenshots and turntable exports (FEAT-C5)
igors93 Oct 23, 2026
e439a64
Add a large-model mode with culling, simplified meshes and cancellabl…
igors93 Oct 23, 2026
d375c60
Add a ground grid and a scale bar with named units (FEAT-C7)
igors93 Oct 24, 2026
6a78d0c
Restore the original stereo projections and stereo modes (FEAT-C8)
igors93 Oct 24, 2026
2ffe2b9
Show the 3D view on OpenGL, where textures cannot change format
igors93 Oct 24, 2026
d88c39b
Support OCP 8 in selection tests and exact bounding boxes
igors93 Oct 24, 2026
95ef2a2
Stop scripts gently with KeyboardInterrupt before restarting Python (…
igors93 Oct 24, 2026
bd474be
Profile scripts line by line, with times in the gutter (FEAT-E2)
igors93 Oct 24, 2026
c14db47
Manage Python environments from the preferences (FEAT-E3)
igors93 Oct 24, 2026
2ad4b18
Check for newer CQ-editor releases, by hand and once a day (FEAT-E5)
igors93 Oct 24, 2026
47cd51b
Add bounded rich console output
igors93 Oct 24, 2026
ba886dd
Harden runtime boundaries and quality gates
igors93 Oct 24, 2026
763be35
Clip docked panels to their tab bounds
igors93 Oct 24, 2026
de777ac
Improve 3D reference guides and ground grid
igors93 Oct 24, 2026
50d6646
Restore scene depth for world axes
igors93 Oct 24, 2026
b1650a4
Refresh documentation screenshots
igors93 Oct 24, 2026
16e0368
Open files in tabs and folders in a Project panel (FEAT-D1)
igors93 Oct 24, 2026
74c1535
Add a command palette, maximized panels and a toolbar overflow menu
igors93 Oct 25, 2026
0a86c22
Rewrite the roadmap after the October 2026 review
igors93 Oct 26, 2026
44be5d1
Ask before a save replaces a version written by another program (BUG-33)
igors93 Oct 26, 2026
00741e1
Give a file one local history however its path is written (BUG-41)
igors93 Oct 26, 2026
266ccc0
Keep shortcuts and conflicts with the dialog that asks (BUG-34)
igors93 Oct 26, 2026
7b5ed2a
Never replace another file when only the case of a name changes (BUG-35)
igors93 Oct 26, 2026
3510d0e
Bring a closed Editor panel back when a file or line is shown (BUG-36)
igors93 Oct 26, 2026
cceb29f
Export assembly parts where and how the view shows them (BUG-37)
igors93 Oct 26, 2026
d638ddb
Stop the debugger when the paused script's tab closes (BUG-38)
igors93 Oct 26, 2026
50e4c15
Explain a result too large to transfer instead of blaming CadQuery (B…
igors93 Oct 26, 2026
830bf0c
Never lose a run to one non-finite number (BUG-40)
igors93 Oct 26, 2026
3f4a758
Correct REQ-12: releases already publish checksums and lockfiles
igors93 Oct 26, 2026
0b0844e
REQ-01 Check disk versions when focus returns
igors93 Oct 26, 2026
e77d6fe
REQ-02 Bind local history to its document
igors93 Oct 26, 2026
8e00ffc
REQ-03 Restore panels required by actions
igors93 Oct 26, 2026
d2eaddc
REQ-04 Preserve model structure in expanded exports
igors93 Oct 26, 2026
412c06c
REQ-05 Carry model units into exported files
igors93 Oct 26, 2026
a8cd810
REQ-06 Validate geometry before export
igors93 Oct 26, 2026
d6194db
Fix the clippy errors that fail CI
igors93 Oct 26, 2026
522696a
Make the lighting of the 3D view configurable
igors93 Oct 26, 2026
7f3c16c
Draw only sharp edges, or an outline, on request
igors93 Oct 26, 2026
ff1d18d
Shade objects as materials: plastics, metals and wood
igors93 Oct 26, 2026
a57fab4
Add a Presentation display mode for showing a model
igors93 Oct 26, 2026
6084e83
Mention Presentation and materials in the interface guide
igors93 Oct 26, 2026
3cb51ce
Lay a soft shadow on the ground in the Presentation mode
igors93 Oct 26, 2026
a5bde1f
REQ-07 Show named faces and materials from assemblies
igors93 Oct 26, 2026
627a27d
REQ-08 Trace and profile project modules
igors93 Oct 26, 2026
5be12d4
REQ-09 Stream and validate model parts
igors93 Oct 26, 2026
b064812
REQ-10 Build and check models without a window
igors93 Oct 26, 2026
4cd7388
REQ-11 Support Python 3.11 through 3.14
igors93 Oct 27, 2026
c2c58bf
REQ-12 Sign and notarize release installers
igors93 Oct 27, 2026
c375fe2
REQ-13 Test UI and protocol seams and type-check worker
igors93 Oct 27, 2026
ee3b907
Fix build script Clippy warning on non-Windows hosts
igors93 Oct 27, 2026
ec6e201
Stabilize GPU rendering assertions across backends
igors93 Oct 27, 2026
cf67cea
Check worker dependencies only on supported CI lanes
igors93 Oct 27, 2026
a3d74d3
Exercise annotated face color away from front view
igors93 Oct 27, 2026
9007fdc
Prepare CQ-editor 0.9.0 release
igors93 Oct 27, 2026
6aac6af
Detect exact interference between placed solids
igors93 Oct 28, 2026
5b0d413
Classify contact and inconclusive geometry checks
igors93 Oct 28, 2026
d37b8aa
Report assembly interference in GUI and CLI
igors93 Oct 28, 2026
cb42a76
Gate exports on assembly interference
igors93 Oct 28, 2026
6c2700f
Check worst-case cylindrical fits in scripts
igors93 Oct 28, 2026
322c6b5
Certify declared assembly motion paths
igors93 Oct 28, 2026
18056d0
Diagnose assembly constraints and solved interference
igors93 Oct 28, 2026
033774b
Add material beam and tool-access checks
igors93 Oct 28, 2026
34bb36c
Highlight exact shared volume for interfering parts
igors93 Oct 28, 2026
c6421fd
Allow declared intentional interference per part pair
igors93 Oct 28, 2026
bb94bb8
Ignore stale interference overlay replies
igors93 Oct 28, 2026
e76e682
Build 0.9.0 installers without signing credentials
igors93 Oct 28, 2026
499ecf3
Shrink the executable and the installers without losing features
igors93 Oct 28, 2026
01bea31
Add 12 editor, panel, viewer, and screenshot usability improvements
igors93 Oct 28, 2026
fb5cf7b
Add script-level CAD requirements to GUI and headless checks
igors93 Oct 28, 2026
ffe2906
Restore formatting and Clippy checks after UI improvements
igors93 Oct 28, 2026
debf181
Preview literal CadQuery selectors in the viewport
igors93 Oct 28, 2026
e5943ed
Explain common CAD failures beside the original traceback
igors93 Oct 28, 2026
8c3dac8
Add static code navigation across project files
igors93 Oct 28, 2026
2309d70
Make the ground grid a floor under the model
igors93 Oct 29, 2026
60fb9f4
Orbit around the model point under the pointer
igors93 Oct 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 0 additions & 11 deletions .coveragerc

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/build.yml

This file was deleted.

141 changes: 141 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
name: CI

on:
push:
branches: [master]
pull_request:
workflow_dispatch:

jobs:
packaging:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5

- uses: actions/setup-python@v6
with:
python-version: "3.12"

- name: Validate release packaging
run: python -m unittest discover -s tests/packaging -p "test_*.py"

rust:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5

- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2

- name: Install Linux system dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libxkbcommon-dev libgtk-3-dev

- name: Format
run: cargo fmt --all -- --check

- name: Lint
run: cargo clippy --locked --all-targets --all-features -- -D warnings

- name: Test
run: cargo test --locked
env:
# The rendering tests draw on WARP, the software adapter every
# Windows has; elsewhere they skip when no adapter is found.
CQ_EDITOR_REQUIRE_GPU: ${{ runner.os == 'Windows' && '1' || '' }}

worker:
name: Worker (${{ matrix.name }})
continue-on-error: ${{ matrix.experimental }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- name: Python 3.11 / CadQuery 2.7 / OCP 7.8
python: "3.11"
cadquery: "cadquery==2.7.0"
ocp: "cadquery-ocp==7.8.1.1.post1"
expected_cadquery: "2.7.0"
expected_ocp: "7.8.1.1"
experimental: false
- name: Python 3.11 / CadQuery 2.8 / OCP 7.9
python: "3.11"
cadquery: "cadquery==2.8.0"
ocp: "cadquery-ocp==7.9.3.1.1"
expected_cadquery: "2.8.0"
expected_ocp: "7.9.3.1.1"
experimental: false
- name: Python 3.12 / CadQuery 2.8 / OCP 7.9
python: "3.12"
cadquery: "cadquery==2.8.0"
ocp: "cadquery-ocp==7.9.3.1.1"
expected_cadquery: "2.8.0"
expected_ocp: "7.9.3.1.1"
experimental: false
- name: Python 3.13 / CadQuery 2.8 / OCP 7.9
python: "3.13"
cadquery: "cadquery==2.8.0"
ocp: "cadquery-ocp==7.9.3.1.1"
expected_cadquery: "2.8.0"
expected_ocp: "7.9.3.1.1"
experimental: false
- name: Python 3.14 / CadQuery 2.8 / OCP 7.9
python: "3.14"
cadquery: "cadquery==2.8.0"
ocp: "cadquery-ocp==7.9.3.1.1"
expected_cadquery: "2.8.0"
expected_ocp: "7.9.3.1.1"
experimental: false
- name: Python 3.12 / CadQuery master / OCP 8.0
python: "3.12"
cadquery: "cadquery @ git+https://github.com/CadQuery/cadquery.git@master"
ocp: "cadquery-ocp==8.0.1.1.0"
expected_cadquery: "2.9.0.dev"
expected_ocp: "8.0.1.1"
experimental: true
steps:
- uses: actions/checkout@v5

- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: worker/pyproject.toml

- name: Install dependencies
run: |
python -m pip install "${{ matrix.cadquery }}" "${{ matrix.ocp }}" jedi pytest black coverage ruff mypy==2.4.0
python -m pip install --no-deps --editable worker

- name: Check supported dependencies
if: ${{ !matrix.experimental }}
run: python -m pip check

- name: Report environment
run: python -c "from cq_worker.environment import summary; print(summary())"

- name: Format
run: black --check worker tests/worker tests/packaging packaging/constructor/prepare_macos_icon.py

- name: Lint
run: ruff check --isolated --select E4,E7,E9,F worker tests/worker tests/packaging packaging/constructor/prepare_macos_icon.py

- name: Type check worker
run: mypy --config-file worker/pyproject.toml worker/cq_worker

- name: Test
run: |
python -m coverage run --branch --source worker/cq_worker -m pytest tests/worker
python -m coverage report --show-missing --fail-under=85
env:
PYTHONPATH: worker
CQ_EDITOR_EXPECT_CADQUERY: ${{ matrix.expected_cadquery }}
CQ_EDITOR_EXPECT_OCP: ${{ matrix.expected_ocp }}
100 changes: 0 additions & 100 deletions .github/workflows/constructor.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/lint.yml

This file was deleted.

Loading