CadQuery / CadQuery/cadquery

Inner shell is built for extruded polyline solid but outer shell is not built for same solid

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

I have solid extruded from polyline. If I make a shell for it with inner thickness (-0.5), it is built ok. If try to build outer shell (0.5 thickness), I get "Brep_API: command not done".

Maybe there is a reason for it, but looks like a bug or missing feature to me.

~~~python
import cadquery as cq

_plate = (
cq.Workplane("XY")
.lineTo(3, 0)
.lineTo(5, 1)
.lineTo(6, 1)
.lineTo(6, 4)
.lineTo(0, 4)
.mirrorY()
.extrude(3)
.faces("Z")
.shell(-0.5) # ok
#.shell(0.5) # fail
)

show_object(_plate)
~~~
![Снимок экрана от 2024-01-13 20-04-55](https://github.com/CadQuery/cadquery/assets/1653222/4bfc68bd-0311-4956-8543-d89f06c7cd11)
![Снимок экрана от 2024-01-13 20-10-08](https://github.com/CadQuery/cadquery/assets/1653222/c03daf36-5a89-4c22-945f-ba7cdd102480)

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.