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

Different number of faces in latest OCP 7.7 based CQ master #1229

Open
shimwell opened this issue Jan 13, 2023 · 1 comment · May be fixed by #1237
Open

Different number of faces in latest OCP 7.7 based CQ master #1229

shimwell opened this issue Jan 13, 2023 · 1 comment · May be fixed by #1237

Comments

@shimwell
Copy link
Contributor

Thanks for continuing to develop and improve CQ.

I just wanted to mention that I noticed a small change in behavior recently.

The CQ master with on OCP 7.6.1.alpha-py39_0 would return 3 faces (which I believe is correct) for the following example

The latest CQ master with OCP 7.7.0.alpha-py39_0 returns 4 faces

This only happens when both is set to True in the extrude.

Perhaps a non issue but I just wanted to mention it in case

Here is a minimal example to reproduce

import cadquery as cq

wire = cq.Workplane('XY').circle(15)

# added combine and clean here but also getting 4 faces without these two set to True explicitly
solid = wire.extrude(until=40, both=True, combine=True, clean=True)

# prints 3 with 7.6.1.alpha-py39_0
# prints 4 with 7.7.0.alpha-py39_0
print(len(solid.faces().all()))
@lorenzncode
Copy link
Member

FWIW, issue reported upstream: OCCT 33313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants