diff --git a/notebook_nueva/base.py b/notebook_nueva/base.py index 8beeff8..00619b9 100644 --- a/notebook_nueva/base.py +++ b/notebook_nueva/base.py @@ -1,13 +1,13 @@ import cadquery as cq from cq_warehouse.drafting import Draft -import audio_plug -import battery_holder -import hdmi_out -import keyboard -import screen_pillars -import usb_hub -import zero_holder as cpu_holder +import components.audio_plug as audio_plug +import components.battery_holder as battery_holder +import components.hdmi_out as hdmi_out +import components.keyboard as keyboard +import components.screen_pillars as screen_pillars +import components.usb_hub as usb_hub +import components.zero_holder as cpu_holder import dimensions as dim from utils import export diff --git a/notebook_nueva/components/__init__.py b/notebook_nueva/components/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/notebook_nueva/audio_plug.py b/notebook_nueva/components/audio_plug.py similarity index 100% rename from notebook_nueva/audio_plug.py rename to notebook_nueva/components/audio_plug.py diff --git a/notebook_nueva/battery_holder.py b/notebook_nueva/components/battery_holder.py similarity index 100% rename from notebook_nueva/battery_holder.py rename to notebook_nueva/components/battery_holder.py diff --git a/notebook_nueva/hdmi_out.py b/notebook_nueva/components/hdmi_out.py similarity index 100% rename from notebook_nueva/hdmi_out.py rename to notebook_nueva/components/hdmi_out.py diff --git a/notebook_nueva/keyboard.py b/notebook_nueva/components/keyboard.py similarity index 98% rename from notebook_nueva/keyboard.py rename to notebook_nueva/components/keyboard.py index a0359d3..57c040b 100644 --- a/notebook_nueva/keyboard.py +++ b/notebook_nueva/components/keyboard.py @@ -1,6 +1,7 @@ import cadquery as cq import math +# TODO: move dimensions to dimensions.py # Size of the kbd board kbd_height = 95.5 kbd_width = 305 diff --git a/notebook_nueva/screen_pillars.py b/notebook_nueva/components/screen_pillars.py similarity index 100% rename from notebook_nueva/screen_pillars.py rename to notebook_nueva/components/screen_pillars.py diff --git a/notebook_nueva/simple_lid.py b/notebook_nueva/components/simple_lid.py similarity index 100% rename from notebook_nueva/simple_lid.py rename to notebook_nueva/components/simple_lid.py diff --git a/notebook_nueva/usb_hub.py b/notebook_nueva/components/usb_hub.py similarity index 100% rename from notebook_nueva/usb_hub.py rename to notebook_nueva/components/usb_hub.py diff --git a/notebook_nueva/zero_holder.py b/notebook_nueva/components/zero_holder.py similarity index 100% rename from notebook_nueva/zero_holder.py rename to notebook_nueva/components/zero_holder.py diff --git a/notebook_nueva/dimensions.py b/notebook_nueva/dimensions.py index 502091a..a9a88bb 100644 --- a/notebook_nueva/dimensions.py +++ b/notebook_nueva/dimensions.py @@ -1,5 +1,5 @@ -import audio_plug -import usb_hub +import components.audio_plug as audio_plug +import components.usb_hub as usb_hub ## Standard things (TODO move to separate file) diff --git a/notebook_nueva/hinged_lid.py b/notebook_nueva/hinged_lid.py index 382d7a2..70b0c82 100644 --- a/notebook_nueva/hinged_lid.py +++ b/notebook_nueva/hinged_lid.py @@ -1,7 +1,7 @@ import cadquery as cq import dimensions as dim -import keyboard +import components.keyboard as keyboard from utils import export mounting_pillar_positions = [(x, -y) for x, y in dim.mounting_pillar_positions] diff --git a/notebook_nueva/lid.svg b/notebook_nueva/lid.svg deleted file mode 100644 index 19f9445..0000000 --- a/notebook_nueva/lid.svg +++ /dev/null @@ -1,1269 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/notebook_nueva/tandy_lid.stl b/notebook_nueva/tandy_lid.stl index 21602db..f281c8e 100644 Binary files a/notebook_nueva/tandy_lid.stl and b/notebook_nueva/tandy_lid.stl differ diff --git a/notebook_nueva/tandy_lid_left.stl b/notebook_nueva/tandy_lid_left.stl index 80cdd6d..622fdc5 100644 Binary files a/notebook_nueva/tandy_lid_left.stl and b/notebook_nueva/tandy_lid_left.stl differ