Update oneplus_8t.ini, mkbd65/phone.py, mkbd65/pcb.py, mkbd65/lower_case.py, mkbd65/key_mat.py
This commit is contained in:
parent
530a1507b1
commit
4b991076f6
5 changed files with 4 additions and 12 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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) ->
|
|||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
"""
|
||||
All sizes are in millimeters.
|
||||
"""
|
||||
|
||||
from solid import OpenSCADObject, linear_extrude, translate, offset, square
|
||||
|
||||
|
||||
|
|
@ -28,4 +24,3 @@ def phone(
|
|||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue