Move screw holes into thing
This commit is contained in:
parent
c02dedceed
commit
779137f545
1 changed files with 24 additions and 24 deletions
|
@ -3,7 +3,17 @@ $fn = 72;
|
|||
pcb_width = 257.175;
|
||||
pcb_height = 95.250;
|
||||
|
||||
screw_holes = [
|
||||
module keyboard_base_plate(pcb_width, pcb_height) {
|
||||
pcb_clearance_edge = 1.0;
|
||||
pcb_clearance_bottom = 2.0;
|
||||
|
||||
pcb_screw_hole_diameter = 1.5;
|
||||
|
||||
thickness = 2.0;
|
||||
wall_height = 14.0;
|
||||
corner_radius = thickness / 2.0;
|
||||
|
||||
screw_holes = [
|
||||
[ 4.8150, 85.6188],
|
||||
[ 47.4822, 85.6188],
|
||||
[ 85.8150, 85.6188],
|
||||
|
@ -23,17 +33,7 @@ screw_holes = [
|
|||
[123.8150, 9.1188],
|
||||
[161.8150, 9.1188],
|
||||
[200.3150, 9.1188]
|
||||
];
|
||||
|
||||
module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) {
|
||||
pcb_clearance_edge = 1.0;
|
||||
pcb_clearance_bottom = 2.0;
|
||||
|
||||
pcb_screw_hole_diameter = 1.5;
|
||||
|
||||
thickness = 2.0;
|
||||
wall_height = 14.0;
|
||||
corner_radius = thickness / 2.0;
|
||||
];
|
||||
|
||||
module round_corner(translation, rotation) {
|
||||
translate(translation)
|
||||
|
@ -181,4 +181,4 @@ module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) {
|
|||
}
|
||||
}
|
||||
|
||||
keyboard_base_plate(pcb_width, pcb_height, screw_holes);
|
||||
keyboard_base_plate(pcb_width, pcb_height);
|
||||
|
|
Loading…
Add table
Reference in a new issue