Move components into package

This commit is contained in:
Roberto Alsina 2023-04-15 18:48:04 -03:00
parent e6b08d2fa4
commit 1a60b2327e
15 changed files with 11 additions and 1279 deletions

View File

@ -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

View File

View File

@ -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

View File

@ -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)

View File

@ -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]

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.