Compare commits
No commits in common. "db5e874d91ad6f10ae047bf2116267433081ad03" and "59882af24f4c38c4aa35f08cc49d3ccfcf0a1d32" have entirely different histories.
db5e874d91
...
59882af24f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@ -38,14 +38,11 @@ board_cutout = cq.Sketch().trapezoid(
|
|||||||
mode="a",
|
mode="a",
|
||||||
)
|
)
|
||||||
|
|
||||||
kbd_cable_hole = cq.Sketch().trapezoid(15, 5, 90, mode="a").vertices().fillet(1)
|
|
||||||
|
|
||||||
|
|
||||||
def model():
|
def model():
|
||||||
return (
|
return (
|
||||||
cq.Workplane("XY")
|
cq.Workplane("XY")
|
||||||
.workplane()
|
.workplane().tag("mid_height")
|
||||||
.tag("mid_height")
|
|
||||||
.box(width, 59, 62)
|
.box(width, 59, 62)
|
||||||
.faces(">Z")
|
.faces(">Z")
|
||||||
.transformed(rotate=(45, 0, 0))
|
.transformed(rotate=(45, 0, 0))
|
||||||
@ -82,35 +79,35 @@ def model():
|
|||||||
.placeSketch(board_cutout)
|
.placeSketch(board_cutout)
|
||||||
.cutBlind(-5)
|
.cutBlind(-5)
|
||||||
# Fillet top of the object
|
# Fillet top of the object
|
||||||
.edges(">Z and |X")
|
.edges(">Z and |X").fillet(5)
|
||||||
.fillet(5)
|
|
||||||
# Make small hole for the keyboard cable
|
|
||||||
.faces(">Y")
|
|
||||||
.workplane(offset=-5, centerOption="CenterOfBoundBox")
|
|
||||||
.center(width / 2 - 128, -23)
|
|
||||||
.placeSketch(kbd_cable_hole)
|
|
||||||
.cutBlind(-1000)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
exporters.export(model(), "screen_mount.stl")
|
exporters.export(model(), "screen_mount.stl")
|
||||||
|
|
||||||
|
left_cutout = cq.Sketch().polygon(
|
||||||
|
[(0, 0), (160, 0), (160, -100), (0, -100), (0, 0)],
|
||||||
|
mode="a",
|
||||||
|
)
|
||||||
|
|
||||||
right_side = (
|
right_side = (
|
||||||
model()
|
model()
|
||||||
.faces(">X")
|
.faces("<Z")
|
||||||
.workplane(centerOption="CenterOfBoundBox", offset=-140)
|
.workplane(centerOption="CenterOfBoundBox", offset=3)
|
||||||
.center(0, height / 2)
|
.center(-width / 2, height / 2)
|
||||||
.split(keepTop=True)
|
.placeSketch(left_cutout)
|
||||||
|
.cutBlind(-100)
|
||||||
)
|
)
|
||||||
|
|
||||||
exporters.export(right_side, "right_screen_mount.stl")
|
exporters.export(right_side, "right_screen_mount.stl")
|
||||||
|
|
||||||
left_side = (
|
left_side = (
|
||||||
model()
|
model()
|
||||||
.faces(">X")
|
.faces("<Z")
|
||||||
.workplane(centerOption="CenterOfBoundBox", offset=-140)
|
.workplane(centerOption="CenterOfBoundBox", offset=3)
|
||||||
.center(0, height / 2)
|
.center(0, height / 2)
|
||||||
.split(keepBottom=True)
|
.placeSketch(left_cutout)
|
||||||
|
.cutBlind(-100)
|
||||||
)
|
)
|
||||||
|
|
||||||
exporters.export(left_side, "left_screen_mount.stl")
|
exporters.export(left_side, "left_screen_mount.stl")
|
||||||
|
File diff suppressed because it is too large
Load Diff
13862
notebook_nueva/top_left.stl
Normal file
13862
notebook_nueva/top_left.stl
Normal file
File diff suppressed because it is too large
Load Diff
7478
notebook_nueva/top_right.stl
Normal file
7478
notebook_nueva/top_right.stl
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user