On a rail

This commit is contained in:
XANTRONIX 2023-11-12 23:17:10 -05:00
parent e92a326077
commit 36df84272f

View file

@ -131,6 +131,38 @@ module keyboard_base_plate(pcb_width, pcb_length) {
0],
[thickness, wall_length, wall_height]);
/* Upper right wall corner */
wall_corner([thickness + pcb_clearance_edge + pcb_width - corner_radius,
thickness + pcb_clearance_edge + pcb_length - corner_radius,
0],
[0, 0, 0],
corner_radius,
wall_height);
/* Lower right wall corner */
wall_corner([ thickness + pcb_clearance_edge + pcb_width - corner_radius,
0 - thickness - pcb_clearance_edge + corner_radius,
0],
[0, 0, 270],
corner_radius,
wall_height);
/* Lower left wall corner */
wall_corner([-pcb_clearance_edge - thickness + corner_radius,
-pcb_clearance_edge - thickness + corner_radius,
0],
[0, 0, 180],
corner_radius,
wall_height);
/* Upper left wall corner */
wall_corner([-pcb_clearance_edge - thickness + corner_radius,
pcb_clearance_edge + pcb_length + thickness - corner_radius,
0],
[0, 0, 90],
corner_radius,
wall_height);
/* Upper right corner */
/*round_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius,
pcb_clearance_edge + thickness + pcb_length - corner_radius,
@ -183,38 +215,6 @@ module keyboard_base_plate(pcb_width, pcb_length) {
[270, 90, 0],
bottom_length + 2 * corner_radius);*/
/* Upper right wall corner */
/*wall_corner([thickness + pcb_clearance_edge + pcb_width - corner_radius,
thickness + pcb_clearance_edge + pcb_length - corner_radius,
-thickness/2],
[0, 0, 0],
corner_radius,
wall_height);*/
/* Lower right wall corner */
/*wall_corner([ thickness + pcb_clearance_edge + pcb_width - corner_radius,
0 - thickness - pcb_clearance_edge + corner_radius,
-thickness/2],
[0, 0, 270],
corner_radius,
wall_height);*/
/* Lower left wall corner */
/*wall_corner([0 - thickness - pcb_clearance_edge + corner_radius,
0 - thickness - pcb_clearance_edge + corner_radius,
-thickness/2],
[0, 0, 180],
corner_radius,
wall_height);*/
/* Upper left wall corner */
/*wall_corner([-pcb_clearance_edge - corner_radius,
pcb_clearance_edge + corner_radius + pcb_length,
-thickness/2],
[0, 0, 90],
corner_radius,
wall_height);*/
/* Bottom plate */
/*side([-pcb_clearance_edge - corner_radius,
-pcb_clearance_edge - corner_radius,