diff options
| author | Louis Burda <quent.burda@gmail.com> | 2024-10-27 16:53:58 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2024-10-27 16:53:58 +0100 |
| commit | 94585f20aacfc4e6e1f6164e55c2983f05442f9f (patch) | |
| tree | 1df0c9a8d6f578136f02bb58b4642e8785f7ea00 /model | |
| parent | 98ca9169f2518796ef62bba55f2e58623d076b37 (diff) | |
| download | desk-andon-94585f20aacfc4e6e1f6164e55c2983f05442f9f.tar.gz desk-andon-94585f20aacfc4e6e1f6164e55c2983f05442f9f.zip | |
Fix usbc port tolerances and silk screen
Diffstat (limited to 'model')
| -rw-r--r-- | model/main.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/model/main.py b/model/main.py index 403a172..54ea13d 100644 --- a/model/main.py +++ b/model/main.py @@ -77,7 +77,7 @@ def build_usbc_board(board, usbc, tol, usbc_overhang, hole_radius, hole_offset, if tol != 0: part = part.union(cylinder(bolt_head_radius, 10) .translate((x * (board.x / 2 - hole_offset), board.y / 2 - hole_offset, board.z + tol))) - part = part.union(cylinder(bolt_radius, board.z + 2 * tol + bolt_depth) + part = part.union(cylinder(m3hole, board.z + 2 * tol + bolt_depth) .translate((x * (board.x / 2 - hole_offset), board.y / 2 - hole_offset, -tol-bolt_depth))) else: part = part.cut(cylinder(hole_radius, board.z) @@ -314,7 +314,7 @@ def main(): bolt = V(radius = 3 / 2, head_radius = 5.4 / 2, head_height = 3, cut_radius = m3hole) oled = V(outer = V3(25.5, 26, 4), screen = V3(24.9, 16.6, 1.6), - tol = tol * 2, hole = 1, pins = V3(4 * 2.54, 2.54, 0.5), + tol = tol * 2, hole = 1, pins = V3(4 * 2.54, 2.54, 1), pinlen = 8, ribbon = V3(9, 5, 1.1)) antenna = V(radius = 6.2/2, height = 13, top_offset = 7.8, @@ -328,10 +328,10 @@ def main(): bolt_depth = base.z - bolt.head_height # let bolt go through - usbc = V(width = 9, height = 3, depth = 7.3, tol = tol) + usbc = V(width = 9, height = 3, depth = 7.3, tol = tol * 2) usbc_board = V(usbc = usbc, board = V3(22, 13, 2), usbc_overhang = 1, hole_radius = 3.2/2, hole_offset = 2.8, tol = tol, - bolt_radius = 3/2, bolt_head_radius = 3, bolt_depth = 4, usbc_height = 1.60) + bolt_radius = 3/2, bolt_head_radius = 3, bolt_depth = 4, usbc_height = 1.70) board_space = V3(36, 48, 10) rod_support = V(thickness = thin_wall, height = 9) |
