Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for incorrect tapered extrude height found in #1383 #1388

Merged
merged 2 commits into from
Aug 19, 2023
Merged

Conversation

jmwright
Copy link
Member

Closes #1383

It seems that LocOpe_DPrism is introducing the issue fround in #1383 where the extrude height requested by the user is not respected. I compensated for this in the code and then added a test so we can detect if the behavior ever changes in OCCT.

@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Merging #1388 (2bf2d27) into master (56c9bda) will decrease coverage by 0.01%.
Report is 4 commits behind head on master.
The diff coverage is 100.00%.

❗ Current head 2bf2d27 differs from pull request most recent head 94a00f8. Consider uploading reports for the commit 94a00f8 to get more accurate results

@@            Coverage Diff             @@
##           master    #1388      +/-   ##
==========================================
- Coverage   94.12%   94.12%   -0.01%     
==========================================
  Files          27       27              
  Lines        5671     5670       -1     
  Branches      961      961              
==========================================
- Hits         5338     5337       -1     
  Misses        199      199              
  Partials      134      134              
Files Changed Coverage Δ
cadquery/occ_impl/shapes.py 92.84% <100.00%> (-0.01%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@adam-urbanczyk adam-urbanczyk left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Member

@lorenzncode lorenzncode left a comment

Choose a reason for hiding this comment

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

Thanks @jmwright!

@jmwright jmwright merged commit 8b43449 into master Aug 19, 2023
3 checks passed
@jmwright jmwright deleted the taper_fix branch August 19, 2023 11:53
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.

Extrude with taper on any Workplane return a wrong extrude length
3 participants