Skip to content

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

Open
@shimwell

Description

@shimwell

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()))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions