Update oneplus_8t.ini, mkbd65/phone.py, mkbd65/pcb.py, mkbd65/lower_case.py, mkbd65/key_mat.py

This commit is contained in:
XenGi 2022-02-22 18:31:55 +00:00
commit 4b991076f6
5 changed files with 4 additions and 12 deletions

View file

@ -1,11 +1,8 @@
"""
All sizes are in millimeters.
"""
from typing import Tuple
from solid import OpenSCADObject, cube, linear_extrude, text, translate, scale, rotate, cylinder, union, color, square, offset
from util import get_label_size, FILAMENT_LAYER, LAYOUTS, forward, right, backward
from mkbd65.util import get_label_size, FILAMENT_LAYER, LAYOUTS, forward, right, backward
def key(

View file

@ -1,6 +1,6 @@
from solid import OpenSCADObject, hull, translate, sphere, cube, scale, offset, square
from util import PCB_WIDTH, PCB_HEIGHT, PCB_RADIUS, forward, backward, up, right
from mkbd65.util import PCB_WIDTH, PCB_HEIGHT, PCB_RADIUS, forward, backward, up, right
def lower_case(phone_width: float, phone_height: float, phone_radius: float) -> OpenSCADObject:
@ -100,4 +100,4 @@ def lower_case(phone_width: float, phone_height: float, phone_radius: float) ->
# }
# }
# }
# }
# }

View file

@ -1,6 +1,6 @@
from solid import OpenSCADObject, color, linear_extrude, polygon, translate, scale, offset, square, union, cylinder
from util import PCB_WIDTH, PCB_HEIGHT, PCB_RADIUS
from mkbd65.util import PCB_WIDTH, PCB_HEIGHT, PCB_RADIUS
def switch() -> OpenSCADObject:

View file

@ -1,7 +1,3 @@
"""
All sizes are in millimeters.
"""
from solid import OpenSCADObject, linear_extrude, translate, offset, square
@ -28,4 +24,3 @@ def phone(
)
)
)