better cutting, accounting for shell thickness

This commit is contained in:
Roberto Alsina 2023-03-31 12:56:03 -03:00
parent 1b17c1e585
commit 56c880ffe8
1 changed files with 3 additions and 2 deletions

View File

@ -90,8 +90,9 @@ def add(
cq.Sketch().polygon(
[
[0, front_thickness],
[actual_height, back_thickness],
[actual_height, 1000],
[shell_t, front_thickness],
[actual_height + shell_t, back_thickness],
[actual_height + shell_t, 1000],
[0, 1000],
[0, front_thickness],
]