Created
June 28, 2025 21:46
-
-
Save c0nrad/75333c5a1dd867883a01ded12bbefef3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pcb_width = 64; | |
| pcb_depth = 53; | |
| pcb_height = 8; | |
| wall_width = 2; | |
| wiggle = .5; | |
| breadboard_to_lcd_edge = 29; | |
| breadboard_base_to_lcd_board = 28; | |
| peg_diameter = 2; | |
| total_width = pcb_width + (wall_width *2) + (wiggle); | |
| total_depth = pcb_depth + (wall_width * 2) + (wiggle); | |
| total_height = wall_width; | |
| // Base | |
| cube([total_width, total_depth, wall_width]); | |
| // Corner 1 | |
| difference() { | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height + wall_width]); | |
| translate([wall_width, wall_width, wall_width + pcb_height]) | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height]); | |
| } | |
| translate([total_width-wall_width*2, 0, 0]) | |
| difference() { | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height + wall_width]); | |
| translate([-wall_width, wall_width, wall_width + pcb_height]) | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height]); | |
| } | |
| translate([total_width-wall_width*2, total_depth-wall_width*2, 0]) | |
| difference() { | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height + wall_width]); | |
| translate([-wall_width, -wall_width, wall_width + pcb_height]) | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height]); | |
| } | |
| translate([0, total_depth-wall_width*2, 0]) | |
| difference() { | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height + wall_width]); | |
| translate([wall_width, -wall_width, wall_width + pcb_height]) | |
| cube([wall_width*2, wall_width*2, wall_width + pcb_height]); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment