Move components into package
This commit is contained in:
parent
e6b08d2fa4
commit
1a60b2327e
@ -1,13 +1,13 @@
|
|||||||
import cadquery as cq
|
import cadquery as cq
|
||||||
from cq_warehouse.drafting import Draft
|
from cq_warehouse.drafting import Draft
|
||||||
|
|
||||||
import audio_plug
|
import components.audio_plug as audio_plug
|
||||||
import battery_holder
|
import components.battery_holder as battery_holder
|
||||||
import hdmi_out
|
import components.hdmi_out as hdmi_out
|
||||||
import keyboard
|
import components.keyboard as keyboard
|
||||||
import screen_pillars
|
import components.screen_pillars as screen_pillars
|
||||||
import usb_hub
|
import components.usb_hub as usb_hub
|
||||||
import zero_holder as cpu_holder
|
import components.zero_holder as cpu_holder
|
||||||
import dimensions as dim
|
import dimensions as dim
|
||||||
|
|
||||||
from utils import export
|
from utils import export
|
||||||
|
0
notebook_nueva/components/__init__.py
Normal file
0
notebook_nueva/components/__init__.py
Normal file
@ -1,6 +1,7 @@
|
|||||||
import cadquery as cq
|
import cadquery as cq
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
# TODO: move dimensions to dimensions.py
|
||||||
# Size of the kbd board
|
# Size of the kbd board
|
||||||
kbd_height = 95.5
|
kbd_height = 95.5
|
||||||
kbd_width = 305
|
kbd_width = 305
|
@ -1,5 +1,5 @@
|
|||||||
import audio_plug
|
import components.audio_plug as audio_plug
|
||||||
import usb_hub
|
import components.usb_hub as usb_hub
|
||||||
|
|
||||||
## Standard things (TODO move to separate file)
|
## Standard things (TODO move to separate file)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import cadquery as cq
|
import cadquery as cq
|
||||||
|
|
||||||
import dimensions as dim
|
import dimensions as dim
|
||||||
import keyboard
|
import components.keyboard as keyboard
|
||||||
from utils import export
|
from utils import export
|
||||||
|
|
||||||
mounting_pillar_positions = [(x, -y) for x, y in dim.mounting_pillar_positions]
|
mounting_pillar_positions = [(x, -y) for x, y in dim.mounting_pillar_positions]
|
||||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 227 KiB |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user