On a rail
This commit is contained in:
parent
e92a326077
commit
36df84272f
1 changed files with 32 additions and 32 deletions
|
@ -131,6 +131,38 @@ module keyboard_base_plate(pcb_width, pcb_length) {
|
||||||
0],
|
0],
|
||||||
[thickness, wall_length, wall_height]);
|
[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 */
|
/* Upper right corner */
|
||||||
/*round_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius,
|
/*round_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius,
|
||||||
pcb_clearance_edge + thickness + pcb_length - 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],
|
[270, 90, 0],
|
||||||
bottom_length + 2 * corner_radius);*/
|
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 */
|
/* Bottom plate */
|
||||||
/*side([-pcb_clearance_edge - corner_radius,
|
/*side([-pcb_clearance_edge - corner_radius,
|
||||||
-pcb_clearance_edge - corner_radius,
|
-pcb_clearance_edge - corner_radius,
|
||||||
|
|
Loading…
Add table
Reference in a new issue