CadQuery / CadQuery/cadquery

extrude(until="next") should respect faces with holes

Open
#1,080 2 comments 0 reactions 0 assignees View on GitHub
OCC kernel issue
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

```python
box = (cq.Workplane("XY")
.box(10,10,10)
.faces(">Z")
.shell(1)
)
box_with_sketch = (box.faces(">Z")
.sketch()
.circle(5)
.rect(1,4, mode="s")
.rect(4,1, mode="s")
.finalize()
)
extrude_value = box_with_sketch.extrude(-10)
extrude_next = box_with_sketch.extrude(until="next")
show_object(extrude_value)
show_object(extrude_next.translate((13,0,0)))
```

I would expect both these boxes to look the same. But the one using `until="next"` ignores the cross and extrudes a fully filled circle.

![20220505_131705](https://user-images.githubusercontent.com/3884820/166921806-f519d3ff-59db-46e2-88eb-9157c721bde7.png)

Please make `until="next"` respect the form that is being extruded. (It seems that occt does not really say if this is supported or not https://dev.opencascade.org/doc/refman/html/class_b_rep_feat___make_d_prism.html but could perhaps be solved by CQ?)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.