From 7217c7bc3b5ecaa498270f9526fed63efb5ef179 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sat, 15 Apr 2023 19:21:03 -0300 Subject: [PATCH] Moved specific keyboard sizes and positions to dimensions.py --- notebook_nueva/Makefile | 8 ++- notebook_nueva/base.py | 2 +- notebook_nueva/components/keyboard.py | 84 ++++++++++++-------------- notebook_nueva/dimensions.py | 29 +++++++-- notebook_nueva/hinged_lid.py | 8 +-- notebook_nueva/tandy_lid.stl | Bin 268284 -> 268284 bytes notebook_nueva/tandy_lid_left.stl | Bin 144484 -> 144484 bytes 7 files changed, 73 insertions(+), 58 deletions(-) diff --git a/notebook_nueva/Makefile b/notebook_nueva/Makefile index b078272..2ccbfc6 100644 --- a/notebook_nueva/Makefile +++ b/notebook_nueva/Makefile @@ -1,11 +1,13 @@ STL_FILES = base.stl hinged_lid.stl simple_lid.stl tandy_lid.stl -all: $(STL_FILES) .lint +all: $(STL_FILES) lint -%.stl: %.py dimensions.py utils.py +%.stl: %.py dimensions.py utils.py components/*py python $< -.lint: *.py +lint: .lint + +.lint: **.py flake8 touch .lint diff --git a/notebook_nueva/base.py b/notebook_nueva/base.py index 19ca435..b5936b2 100644 --- a/notebook_nueva/base.py +++ b/notebook_nueva/base.py @@ -118,7 +118,7 @@ def model(): bottom_face="Ia{;w;`F=TO!15@+iiWAT5W;! p;Z7!1Cf3yl4(>IW{`E2B?1Mk zz`?ySmuI*EF#%||nYaO60Re2c_qhR!0Rf1YgS!D|0W+8Dy8$f)z+J1nBDWp90Y`XL COC}Hi delta 101 zcmV-r0Gj{g=m_NK2!ON!@GF-hECEKB1S|m_m+&hA6t`$B0ZvQ-gtxbN0fjvQgttAm z0VM(jtH8m%Fqdbz0Wkq-x0$#BT>$}WxA(aLiva$?Fh1;1UZydk$8 Hya7jex$Y*=