generated from CubeCraft-Creations/Tracehound
fix: enlarge case for selected ESP modules and wiring
This commit is contained in:
@@ -1,24 +1,31 @@
|
||||
// RemoteRig — Dual-ESP Tripod Case v3
|
||||
// v3d changes: screw-tightened tripod clamp + horizontal two-screw mount + flush locating-lip lid.
|
||||
// v3e changes: board-specific envelope for ESP32-C3 Super Mini + ESP-01S with wiring clearance.
|
||||
// Coordinate system: all case/lid geometry uses bottom-origin Z.
|
||||
|
||||
$fn = 36;
|
||||
|
||||
// Board dimensions
|
||||
esp8266_w = 34.2; esp8266_d = 25.6; esp8266_h = 5;
|
||||
esp32_w = 52; esp32_d = 28; esp32_h = 5;
|
||||
board_gap = 3;
|
||||
stack_h = esp8266_h + esp32_h + board_gap;
|
||||
inner_w = max(esp8266_w, esp32_w);
|
||||
inner_d = max(esp8266_d, esp32_d);
|
||||
inner_h = stack_h + 2;
|
||||
// Board dimensions from selected modules.
|
||||
// ESP32-C3 Super Mini: 22.5 x 18.0 mm footprint.
|
||||
// ESP-01S / ESP8266: 24.7 x 14.3 x 12.0 mm envelope.
|
||||
// The case is intentionally larger than board footprints because the field
|
||||
// build needs room for Dupont/UART wiring, power leads, bend radius, and fingers.
|
||||
esp32c3_w = 22.5; esp32c3_d = 18.0; esp32c3_h = 6.0; // height allowance includes headers/pins TBD
|
||||
esp01s_w = 24.7; esp01s_d = 14.3; esp01s_h = 12.0;
|
||||
board_gap = 8.0; // side-by-side service gap between boards
|
||||
wire_x = 8.0; // wiring gutter at left/right ends
|
||||
wire_y = 8.0; // wiring gutter along front/back edges
|
||||
wire_z = 10.0; // vertical wiring/connector clearance above tallest module
|
||||
|
||||
inner_w = esp32c3_w + esp01s_w + board_gap + wire_x*2;
|
||||
inner_d = max(esp32c3_d, esp01s_d) + wire_y*2;
|
||||
inner_h = max(esp32c3_h, esp01s_h) + wire_z;
|
||||
|
||||
// Case parameters
|
||||
wall = 2.0;
|
||||
tol = 0.4;
|
||||
outer_w = inner_w + wall*2 + tol*2; // 56.8mm
|
||||
outer_d = inner_d + wall*2 + tol*2; // 32.8mm
|
||||
outer_h = inner_h + wall*2; // 19mm
|
||||
outer_w = inner_w + wall*2 + tol*2; // 76.0mm with current board/wiring envelope
|
||||
outer_d = inner_d + wall*2 + tol*2; // 38.8mm with current board/wiring envelope
|
||||
outer_h = inner_h + wall*2; // 26.0mm with current board/wiring envelope
|
||||
corner_r = 2.5;
|
||||
|
||||
// Lid fit parameters
|
||||
|
||||
Reference in New Issue
Block a user