|
| 1 | +// Minimal overrides for Pimoroni 7.3" 2025 SPECTRA |
| 2 | +include <case1.scad>; |
| 3 | + |
| 4 | +/* [View settings] */ |
| 5 | +view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover] |
| 6 | + |
| 7 | +/* [Case depth] */ |
| 8 | +panel_cover_depth = 1.6; |
| 9 | +panel_depth = 3.0; |
| 10 | +case_depth = 12.0; // pi zero 12mm; board imposed minimum 5mm; |
| 11 | +back_depth = 1.2; |
| 12 | + |
| 13 | +/* [Panel dimensions] */ |
| 14 | +panel_width = 174.0; |
| 15 | +panel_height = 123.0; |
| 16 | + |
| 17 | +panel_bezel_left = 7; |
| 18 | +panel_bezel_right = 7; |
| 19 | +panel_bezel_top = 10; |
| 20 | +panel_bezel_bottom = 17; |
| 21 | + |
| 22 | +/* [Border and inner padding] */ |
| 23 | +panel_border_right = 7.5; |
| 24 | +panel_border_left = 7.5; |
| 25 | +panel_border_top = 4.5; |
| 26 | +panel_border_bottom = 3.5; |
| 27 | + |
| 28 | +case_inner_padding_left = 0; // no padding where the buttons are |
| 29 | +case_inner_padding_right = 0.5; // very little padding on that edge |
| 30 | +case_inner_padding_top = 4; |
| 31 | +case_inner_padding_bottom = 4; |
| 32 | + |
| 33 | +/* [Thick border] */ |
| 34 | +thick_border = false; |
| 35 | +thick_border_width = 12.0; |
| 36 | +thick_border_extra_depth = 15.0; |
| 37 | + |
| 38 | +/* [Cable gap] */ |
| 39 | +// panel_cable_gap_right = 142; |
| 40 | + |
| 41 | +/* [Screws] */ |
| 42 | +screw_offset_left = 4.6; |
| 43 | +screw_offset_right = 4.6; |
| 44 | +screw_offset_top = 4.6; |
| 45 | +screw_offset_bottom = 4.6; |
| 46 | + |
| 47 | +extra_screws_top = [0, 0, 0, 0, 0]; |
| 48 | +extra_screws_bottom = [0, 0, 0, 0, 0]; |
| 49 | +extra_screws_left = [0, 0, 0, 0, 0]; |
| 50 | +extra_screws_right = [0, 0, 0, 0, 0]; |
| 51 | + |
| 52 | +/* [Center support] */ |
| 53 | +case_center_support_vertical = false; |
| 54 | +case_center_support_horizontal = false; |
| 55 | + |
| 56 | +/* [Kickstand] */ |
| 57 | +kickstand = true; |
| 58 | +kickstand_width = 153; |
| 59 | +kickstand_height_percentage = 74; |
| 60 | +kickstand_leg_bridge_offset_percentage = 14; |
| 61 | +kickstand_hinge_top_extra_leverage = 5; |
| 62 | +kickstand_leg_bridge_height = 6.5; |
| 63 | +kickstand_depth = 6.7; |
| 64 | + |
| 65 | +/* [USB cutout] */ |
| 66 | +usb_cutout = true; |
| 67 | +usb_cutout_box_depth = 7; |
| 68 | +usb_cutout_offset_x_percentage = 37.5; |
| 69 | +usb_cutout_offset_y_percentage = 50; |
| 70 | +usb_cutout_box_width = 20; |
| 71 | +usb_cutout_box_height = 55; |
| 72 | +usb_cutout_hole_position = "top"; // [top, bottom, left, right, back] |
| 73 | + |
| 74 | +/* [Hanging hole] */ |
| 75 | +// [ [top, bottom, left, right], offset_percentage ] |
| 76 | +hanging_holes = [ |
| 77 | + // ["top", 20], |
| 78 | +]; |
| 79 | + |
| 80 | +/* [SD card adapter cutout] */ |
| 81 | +sd_card_in_leg = false; |
| 82 | +sd_card_in_leg_side = "left"; // [left, right] |
| 83 | +sd_card_in_leg_side_side = "left"; // [left, right] |
| 84 | +sd_card_in_leg_y_percentage = 82.0; |
| 85 | + |
| 86 | +sd_card_in_usb_cutout = true; |
| 87 | +sd_card_in_usb_cutout_side = "left"; // [left, right] |
| 88 | +sd_card_in_usb_cutout_y_percentage = 80; |
| 89 | + |
| 90 | +/* [Rear cooling] */ |
| 91 | +rear_cooling = true; |
| 92 | +rear_cooling_x_start_percentage = 50; |
| 93 | +rear_cooling_x_end_percentage = 80; |
| 94 | +rear_cooling_y_start_percentage = 30; |
| 95 | +rear_cooling_y_end_percentage = 60; |
| 96 | + |
| 97 | +/* [Raspberry Pi Zero Pinholes] */ |
| 98 | +pi_pinholes = false; |
| 99 | +pi_pinholes_orientation = "horizontal"; // [horizontal, vertical] |
| 100 | +pi_pinholes_x_percentage = 50; |
| 101 | +pi_pinholes_y_percentage = 85; |
| 102 | + |
| 103 | +/* [Side buttons] */ |
| 104 | +side_buttons_left = [0.2023, 0.3855, 0.5740, 0.7550]; |
| 105 | +side_buttons_right = []; |
| 106 | +side_buttons_top = []; |
| 107 | +side_buttons_bottom = []; |
| 108 | +side_button_width = 9.2; |
| 109 | +side_button_height = 5.2; |
| 110 | +side_button_base = 2.0; |
| 111 | +side_button_base_border = 5; // adjust if setting the case depth |
| 112 | +side_button_base_inner = 2.5; |
| 113 | +side_button_fillet_radius = 1.5; |
| 114 | + |
| 115 | +/* [Debug] */ |
| 116 | +cross_section_percentage = 0; // [0:100] |
| 117 | +vertical_print_scale = 1.004; // 0.4mm shrinkage for every 100mm |
| 118 | +kickstand_rotation = 0; |
0 commit comments