-
Notifications
You must be signed in to change notification settings - Fork 295
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
Wrong face orientation when exporting assemblies to VRML #1158
Comments
Currently VRML export is based on VTK and it uses VTK-based normal calculation. In 7.6 it is possible to use the normals from OCCT. This line would have to be modified. cadquery/cadquery/occ_impl/assembly.py Line 194 in 259cc7b
So long story short - let's wait till 7.6 is merged and try to fix it there. |
If I understand correctly: someone needs to finalize support for Open CASCADE version 7.6.0 in CadQuery and then you'll be able to test an alternative approach to export to VRML and see if it works better? (It's not totally unambiguous what version 7.6 refers to.) Thank you for checking this out. |
Indeed, [OCCT/OCP] 7.6. See: #1156 |
What is the best way to install CadQuery in a proper way, so that I will be able to test that change? (I would prefer to stick with Something like this? |
This or clone the repo and use |
Thank you, that seems to work fine (both the installation and rendering a complex model). |
This leaves two remaining "issues" related to KiCad:
But those are pretty unrelated and I'll probably open a new issue for those. |
Ok, open new issues @mojca, but please use more quantitative language than "something is heavily unoptimized". |
Solved by #1167 |
I'm not yet "proficient in interpreting VRML files", but it seems that the assemblies exported into VRML end up with wrong face orientation.
I first reported the issue to KiCad:
and prepared the files with a minimum example here:
@jmwright
The text was updated successfully, but these errors were encountered: