Skip to content

Do not recompute normals when converting to vtk#1167

Merged
jmwright merged 2 commits into
masterfrom
better-normals
Oct 6, 2022
Merged

Do not recompute normals when converting to vtk#1167
jmwright merged 2 commits into
masterfrom
better-normals

Conversation

@adam-urbanczyk
Copy link
Copy Markdown
Member

@adam-urbanczyk adam-urbanczyk commented Oct 4, 2022

Solves #1158

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 4, 2022

Codecov Report

Merging #1167 (13c1d09) into master (d5806e3) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1167   +/-   ##
=======================================
  Coverage   94.01%   94.01%           
=======================================
  Files          26       26           
  Lines        5411     5411           
  Branches      918      918           
=======================================
  Hits         5087     5087           
  Misses        193      193           
  Partials      131      131           
Impacted Files Coverage Δ
cadquery/occ_impl/shapes.py 92.65% <ø> (ø)
cadquery/occ_impl/exporters/vtk.py 100.00% <100.00%> (ø)

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

@mojca
Copy link
Copy Markdown

mojca commented Oct 5, 2022

Thank you very much, this seems to have solved the problem reported in #1158.

Copy link
Copy Markdown
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.

'box-has-back-face-culling-issues.wrl' before fix (here in blender with WeightedNormal):
image

with this PR:
image

Copy link
Copy Markdown
Member

@jmwright jmwright left a comment

Choose a reason for hiding this comment

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

Thanks @adam-urbanczyk Looks good.

@jmwright jmwright merged commit 25290e8 into master Oct 6, 2022
@jmwright jmwright deleted the better-normals branch October 28, 2025 20:16
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.

4 participants