Skip to content

Project points onto located edge curves - #2137

Open
aevumworks wants to merge 2 commits into
CadQuery:masterfrom
aevumworks:fix/located-curve-projection
Open

aevumworks wants to merge 2 commits into
CadQuery:masterfrom
aevumworks:fix/located-curve-projection

Conversation

@aevumworks

Copy link
Copy Markdown

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.86%. Comparing base (37f9043) to head (8bac958).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2137   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files          30       30           
  Lines        9661     9661           
  Branches     1463     1463           
=======================================
  Hits         9262     9262           
  Misses        245      245           
  Partials      154      154           

☔ 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

This branch has not been deployed

No deployments
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