From 56c880ffe830edfc89a908ed752484dd24251017 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Fri, 31 Mar 2023 12:56:03 -0300 Subject: [PATCH] better cutting, accounting for shell thickness --- notebook_nueva/keyboard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/notebook_nueva/keyboard.py b/notebook_nueva/keyboard.py index 65a51a9..df41c68 100644 --- a/notebook_nueva/keyboard.py +++ b/notebook_nueva/keyboard.py @@ -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], ]