CadQuery / CadQuery/cadquery

Shell won't work if all but one faces are selected.

Open
#1,495 1 comment 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

Shell would build for 2 faces of extruded rect but wont build if leave only one face.

Its not much like a big practical problem, because I can draw thin rect instead of shell in this case, but I think it could work for consistency.

~~~python
import cadquery as cq

res = (
cq.Workplane("XY")
.rect(4, 9)
.extrude(3)
#.faces(">Y or X or Y or X or Z") # fail
.faces(">Y or Z") # ok
.shell(-0.5)
)

show_object(res)
~~~

![Снимок экрана от 2024-01-13 20-32-13](https://github.com/CadQuery/cadquery/assets/1653222/7ca3457d-ff0a-4217-8ac2-1acf9633e428)
![Снимок экрана от 2024-01-13 20-32-21](https://github.com/CadQuery/cadquery/assets/1653222/62c94ab3-b31c-4a15-b5f1-87dd6b45cbe5)
![Снимок экрана от 2024-01-13 20-32-28](https://github.com/CadQuery/cadquery/assets/1653222/16926056-8f4d-43b0-aaa4-a4f5bc56776b)

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.