lint
This commit is contained in:
parent
6ea773109b
commit
0dd1c858e1
@ -1,7 +1,9 @@
|
|||||||
import cadquery as cq
|
import cadquery as cq
|
||||||
|
|
||||||
stand_positions = [(0, 0), (58, 0), (58, 49), (0, 49)]
|
stand_positions = [(0, 0), (58, 0), (58, 49), (0, 49)]
|
||||||
stands = cq.Sketch().push(stand_positions).circle(3, mode="a").circle(2.65 / 2, mode="s")
|
stands = (
|
||||||
|
cq.Sketch().push(stand_positions).circle(3, mode="a").circle(2.65 / 2, mode="s")
|
||||||
|
)
|
||||||
pillar_height = 7
|
pillar_height = 7
|
||||||
|
|
||||||
# Holes for the battery power cable and button
|
# Holes for the battery power cable and button
|
||||||
|
@ -2,5 +2,7 @@ import cadquery as cq
|
|||||||
|
|
||||||
cpu_stand_positions = [(0, 0), (0, 23), (58, 23), (58, 0)]
|
cpu_stand_positions = [(0, 0), (0, 23), (58, 23), (58, 0)]
|
||||||
|
|
||||||
stands = cq.Sketch().push(cpu_stand_positions).circle(3, mode="a").circle(2.65 / 2, mode="s")
|
stands = (
|
||||||
pillar_height = 7
|
cq.Sketch().push(cpu_stand_positions).circle(3, mode="a").circle(2.65 / 2, mode="s")
|
||||||
|
)
|
||||||
|
pillar_height = 7
|
||||||
|
@ -144,7 +144,7 @@ def model():
|
|||||||
# available, keyboard height, cable length, etc.
|
# available, keyboard height, cable length, etc.
|
||||||
.faces(">Y")
|
.faces(">Y")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
.center(- width / 2 + shell_t + usb_offset + 13 / 2, -8)
|
.center(-width / 2 + shell_t + usb_offset + 13 / 2, -8)
|
||||||
.placeSketch(usb_in)
|
.placeSketch(usb_in)
|
||||||
.cutBlind(-shell_t)
|
.cutBlind(-shell_t)
|
||||||
# Audio plugs
|
# Audio plugs
|
||||||
@ -215,7 +215,7 @@ def model():
|
|||||||
# Channel for the usb hub
|
# Channel for the usb hub
|
||||||
.faces(">Y")
|
.faces(">Y")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
.center(- width / 2 + shell_t + usb_offset + 13 / 2, -8)
|
.center(-width / 2 + shell_t + usb_offset + 13 / 2, -8)
|
||||||
.placeSketch(usb_holder)
|
.placeSketch(usb_holder)
|
||||||
.extrude(-shell_t - 8)
|
.extrude(-shell_t - 8)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user