Compare commits

...

6 Commits

Author SHA1 Message Date
9a2344c970 Fix tandy lid pillars 2023-04-26 16:12:26 -03:00
d905b99d46 Minor dimensional tweaks for hinged lid 2023-04-25 17:24:59 -03:00
f37a4d8d00 git attributes 2023-04-24 15:53:30 -03:00
c87a32b745 LFS 2023-04-24 15:27:28 -03:00
7669678599 Fix M3 hex nut dimensions 2023-04-24 15:26:32 -03:00
92f4e4ab32 Add SVG extension 2023-04-22 23:25:45 -03:00
9 changed files with 162 additions and 194 deletions

0
.gitattributes vendored Normal file
View File

View File

@@ -7,7 +7,8 @@
"emeraldwalk.RunOnSave", "emeraldwalk.RunOnSave",
"ms-vscode.makefile-tools", "ms-vscode.makefile-tools",
"ms-python.python", "ms-python.python",
"mtsmfm.vscode-stl-viewer" "mtsmfm.vscode-stl-viewer",
"sndst00m.vscode-native-svg-preview",
], ],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. // List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [ "unwantedRecommendations": [

View File

@@ -12,7 +12,7 @@ ti_radius = 2.35
ti_depth = 6.25 ti_depth = 6.25
# M3 hex nut dimensions # M3 hex nut dimensions
m3_hn_diam = 5.5 m3_hn_diam = 6.2
m3_hn_hole = 3 m3_hn_hole = 3
m3_hn_thickness = 2.5 m3_hn_thickness = 2.5
@@ -125,7 +125,7 @@ hl_ring_radius = 5 # M3
hl_hinge_offset = max(p[1] for p in mounting_pillar_positions) + 6 hl_hinge_offset = max(p[1] for p in mounting_pillar_positions) + 6
hl_hinge_width = 25 hl_hinge_width = 25
# Base + this lid # Base + this lid
hl_full_thickness = 43 hl_full_thickness = 45
## Dimensions for the simple lid ## Dimensions for the simple lid

View File

@@ -231,7 +231,7 @@ def model():
# Screen mount # Screen mount
model = ( model = (
# 1st layer # Frame that contains the screen
model.workplaneFromTagged("base") model.workplaneFromTagged("base")
.center(0, -32) .center(0, -32)
.workplane(offset=dim.hl_full_thickness / 2 - dim.shell_t) .workplane(offset=dim.hl_full_thickness / 2 - dim.shell_t)
@@ -246,7 +246,7 @@ def model():
.vertices() .vertices()
.fillet(2) .fillet(2)
) )
.extrude(-2 - dim.scr_thickness) .extrude(-1 - dim.scr_thickness)
# Hole for screws # Hole for screws
.workplaneFromTagged("screen_plane") .workplaneFromTagged("screen_plane")
.workplane(offset=1) .workplane(offset=1)
@@ -259,7 +259,7 @@ def model():
.hole(dim.m3_hn_hole, depth=10) .hole(dim.m3_hn_hole, depth=10)
# Holes for captured nuts # Holes for captured nuts
.workplaneFromTagged("screen_plane") .workplaneFromTagged("screen_plane")
.workplane(offset=1) .workplane(offset=1.5) # This is INSIDE THE LID
.rect( .rect(
dim.scr_w + 2 * dim.hl_bezel_width - dim.m3_hn_diam - 1, dim.scr_w + 2 * dim.hl_bezel_width - dim.m3_hn_diam - 1,
dim.scr_h + 2 * dim.hl_bezel_height - dim.m3_hn_diam - 1, dim.scr_h + 2 * dim.hl_bezel_height - dim.m3_hn_diam - 1,

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

View File

@@ -26,7 +26,7 @@ mounting_pillar_positions = [(x, -y) for x, y in dim.mounting_pillar_positions[:
mounting_pillars = ( mounting_pillars = (
cq.Sketch() cq.Sketch()
.push(dim.mounting_pillar_positions) .push(mounting_pillar_positions)
.trapezoid(screen_pillars.pillar_width, screen_pillars.pillar_height, 90, mode="a") .trapezoid(screen_pillars.pillar_width, screen_pillars.pillar_height, 90, mode="a")
.circle(dim.ti_radius, mode="s") .circle(dim.ti_radius, mode="s")
.clean() .clean()

Binary file not shown.