Formatting

This commit is contained in:
XANTRONIX 2023-11-13 15:35:09 -05:00
parent 9d734d80d5
commit 20885a3b4a

View file

@ -148,16 +148,16 @@ module keyboard_base_plate(pcb_dimensions, switch_z_range, screw_holes) {
[thickness, wall_length, wall_height + thickness - corner_radius]); [thickness, wall_length, wall_height + thickness - corner_radius]);
/* Upper right wall corner */ /* Upper right wall corner */
wall_corner([thickness + pcb_clearance_edge + pcb_width - corner_radius, wall_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius,
thickness + pcb_clearance_edge + pcb_length - corner_radius, pcb_clearance_edge + thickness + pcb_length - corner_radius,
-thickness + corner_radius], -thickness + corner_radius],
[0, 0, 0], [0, 0, 0],
corner_radius, corner_radius,
wall_height + thickness - corner_radius); wall_height + thickness - corner_radius);
/* Lower right wall corner */ /* Lower right wall corner */
wall_corner([ thickness + pcb_clearance_edge + pcb_width - corner_radius, wall_corner([ pcb_clearance_edge + thickness + pcb_width - corner_radius,
0 - thickness - pcb_clearance_edge + corner_radius, -pcb_clearance_edge - thickness + corner_radius,
-thickness + corner_radius], -thickness + corner_radius],
[0, 0, 270], [0, 0, 270],
corner_radius, corner_radius,
@ -190,7 +190,7 @@ module keyboard_base_plate(pcb_dimensions, switch_z_range, screw_holes) {
/* Upper edge */ /* Upper edge */
round_edge([-pcb_clearance_edge - thickness + corner_radius, round_edge([-pcb_clearance_edge - thickness + corner_radius,
pcb_clearance_edge + thickness + pcb_length - corner_radius, pcb_clearance_edge + thickness + pcb_length - corner_radius,
-thickness + corner_radius], -thickness + corner_radius],
[0, 90, 0], [0, 90, 0],
wall_width); wall_width);
@ -236,7 +236,7 @@ module keyboard_base_plate(pcb_dimensions, switch_z_range, screw_holes) {
/* Upper left corner */ /* Upper left corner */
round_corner([-pcb_clearance_edge - thickness + corner_radius, round_corner([-pcb_clearance_edge - thickness + corner_radius,
pcb_clearance_edge + thickness + pcb_length - corner_radius, pcb_clearance_edge + thickness + pcb_length - corner_radius,
-thickness + corner_radius], -thickness + corner_radius],
[0, 90, 90]); [0, 90, 90]);
/* Screw holes */ /* Screw holes */