Aw fuck yeah bud!

This commit is contained in:
XANTRONIX 2023-11-12 03:11:54 -05:00
parent 6ebd07e4e1
commit ec6d245d01

View file

@ -91,9 +91,10 @@ module keyboard_base_plate(pcb_width, pcb_height) {
} }
/* Upper right corner */ /* Upper right corner */
/*round_corner([thickness + pcb_clearance_edge + pcb_width, round_corner([thickness + pcb_clearance_edge + pcb_width,
thickness + pcb_clearance_edge + pcb_height, 0], thickness + pcb_clearance_edge + pcb_height,
[90, 90, 90]);*/ -thickness/2],
[90, 90, 90]);
/* Lower right corner */ /* Lower right corner */
round_corner([ thickness + pcb_clearance_edge + pcb_width, round_corner([ thickness + pcb_clearance_edge + pcb_width,
@ -142,52 +143,60 @@ module keyboard_base_plate(pcb_width, pcb_height) {
bottom_height); bottom_height);
/* Upper right wall corner */ /* Upper right wall corner */
/*wall_corner([thickness + pcb_clearance_edge + pcb_width, wall_corner([thickness + pcb_clearance_edge + pcb_width,
thickness + pcb_clearance_edge + pcb_height, 0], thickness + pcb_clearance_edge + pcb_height,
-thickness/2],
[0, 0, 0], [0, 0, 0],
corner_radius, corner_radius,
wall_height);*/ wall_height);
/* Lower right wall corner */ /* Lower right wall corner */
/*wall_corner([ thickness + pcb_clearance_edge + pcb_width, wall_corner([ thickness + pcb_clearance_edge + pcb_width,
0 - thickness - pcb_clearance_edge, 0], 0 - thickness - pcb_clearance_edge,
-thickness/2],
[0, 0, 270], [0, 0, 270],
corner_radius, corner_radius,
wall_height);*/ wall_height);
/* Lower left wall corner */ /* Lower left wall corner */
/*wall_corner([0 - thickness - pcb_clearance_edge, wall_corner([0 - thickness - pcb_clearance_edge,
0 - thickness - pcb_clearance_edge, 0], 0 - thickness - pcb_clearance_edge,
-thickness/2],
[0, 0, 180], [0, 0, 180],
corner_radius, corner_radius,
wall_height);*/ wall_height);
/* Upper left wall corner */ /* Upper left wall corner */
/*wall_corner([0 - thickness - pcb_clearance_edge, wall_corner([0 - thickness - pcb_clearance_edge,
thickness + pcb_clearance_edge + pcb_height, 0], thickness + pcb_clearance_edge + pcb_height,
-thickness/2],
[0, 0, 90], [0, 0, 90],
corner_radius, corner_radius,
wall_height);*/ wall_height);
/* Upper wall */ /* Upper wall */
/*side([0 - thickness - pcb_clearance_edge, side([0 - thickness - pcb_clearance_edge,
pcb_clearance_edge + pcb_height, 0], pcb_clearance_edge + pcb_height + corner_radius,
[2 * thickness + pcb_width, thickness, wall_height]);*/ -thickness/2],
[bottom_width, thickness, wall_height]);
/* Right wall */ /* Right wall */
/*side([ pcb_clearance_edge + pcb_width, side([pcb_clearance_edge + pcb_width + corner_radius,
0 - thickness - pcb_clearance_edge, 0], 0 - thickness - pcb_clearance_edge,
[thickness, 2 * thickness + pcb_height, wall_height]);*/ -thickness/2],
[thickness, bottom_height, wall_height]);
/* Lower wall */ /* Lower wall */
/*side([0 - thickness - pcb_clearance_edge, side([0 - thickness - pcb_clearance_edge,
0 - thickness - pcb_clearance_edge, 0], 0 - thickness - pcb_clearance_edge - corner_radius,
[2 * thickness + pcb_width, thickness, wall_height]);*/ -thickness/2],
[bottom_width, thickness, wall_height]);
/* Left wall */ /* Left wall */
/*side([0 - thickness - pcb_clearance_edge, side([0 - thickness - pcb_clearance_edge - corner_radius,
0 - thickness - pcb_clearance_edge, 0], 0 - thickness - pcb_clearance_edge,
[thickness, 2 * thickness + pcb_height, wall_height]);*/ -thickness/2],
[thickness, bottom_height, wall_height]);
/* Bottom plate */ /* Bottom plate */
side([0 - thickness - pcb_clearance_edge, side([0 - thickness - pcb_clearance_edge,
@ -196,12 +205,12 @@ module keyboard_base_plate(pcb_width, pcb_height) {
[bottom_width, bottom_height, thickness]); [bottom_width, bottom_height, thickness]);
/* Screw holes */ /* Screw holes */
/*for (screw_hole = screw_holes) { for (screw_hole = screw_holes) {
screw_post([screw_hole[0], screw_hole[1], 0], screw_post([screw_hole[0], screw_hole[1], 0],
pcb_clearance_bottom * 2, pcb_clearance_bottom * 2,
pcb_screw_hole_diameter * 2, pcb_screw_hole_diameter * 2,
pcb_screw_hole_diameter); pcb_screw_hole_diameter);
}*/ }
} }
keyboard_base_plate(pcb_width, pcb_height); keyboard_base_plate(pcb_width, pcb_height);