Skip to content

Project points onto located edge curves - #2137

Merged
jmwright merged 2 commits into
CadQuery:masterfrom
aevumworks:fix/located-curve-projection
Nov 30, 2026
Merged

jmwright merged 2 commits into
CadQuery:masterfrom
aevumworks:fix/located-curve-projection

Conversation

@aevumworks

Copy link
Copy Markdown
Contributor

I reproduced a projection failure on an edge translated from its local coordinates. positionAt returns the translated point, but paramAt and params projected onto the curve in its original coordinate system.

I use OCCT's located edge curve for both point-projection methods. The regression checks a translated edge and a translated single-edge wire by projecting points returned from positionAt back to their curve parameters.

The full suite passed locally with 935 tests passed and 3 skipped.

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.87%. Comparing base (37f9043) to head (5205940).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2137   +/-   ##
=======================================
  Coverage   95.86%   95.87%           
=======================================
  Files          30       30           
  Lines        9661     9710   +49     
  Branches     1463     1472    +9     
=======================================
+ Hits         9262     9309   +47     
- Misses        245      246    +1     
- Partials      154      155    +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread tests/test_shapes.py Resolved

@jmwright jmwright left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aevumworks !

@jmwright
jmwright merged commit c3486d1 into CadQuery:master Nov 30, 2026
7 checks passed
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.

3 participants