Save material, nicer cut, thinner middle

This commit is contained in:
Roberto Alsina 2022-07-22 13:01:44 -03:00
parent 9336d89414
commit a2bca28f95
1 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@ display_bottom_margin = display_top_margin # Symmetrical
# Threaded insert hole dimensions
ti_width = 4.5
ti_radius = 2.25
ti_depth = 7.5
@ -44,27 +44,27 @@ board_cutout = (
segment_breaks_top = (
cq.Sketch()
.rarray(width / 4, length, 2, 1)
.trapezoid(5, 15, 110, mode="a")
.rarray(1, length, 1, 1)
.trapezoid(width / 3, 35, 110, mode="a")
.reset()
.vertices()
.fillet(2)
.fillet(5)
)
segment_breaks_bottom = (
cq.Sketch()
.rarray(width / 4, length, 2, 1)
.trapezoid(15, 15, 70, mode="a")
.rarray(1, length, 1, 1)
.trapezoid(width / 3, 35, 70, mode="a")
.reset()
.vertices()
.fillet(2)
.fillet(5)
)
back_reinforcement = (
cq.Sketch().trapezoid(width / 2, 15, 90, mode="a").reset().vertices().fillet(2)
)
threaded_inserts = cq.Sketch().rarray(width / 8, 0, 4, 1).circle(ti_width, mode="a")
threaded_inserts = cq.Sketch().rarray(width / 8, 0, 4, 1).circle(ti_radius, mode="a")
# Holder for the screen (other half of the case)
screen_base = (