Move screw holes into thing
This commit is contained in:
parent
c02dedceed
commit
779137f545
1 changed files with 24 additions and 24 deletions
|
@ -3,29 +3,7 @@ $fn = 72;
|
|||
pcb_width = 257.175;
|
||||
pcb_height = 95.250;
|
||||
|
||||
screw_holes = [
|
||||
[ 4.8150, 85.6188],
|
||||
[ 47.4822, 85.6188],
|
||||
[ 85.8150, 85.6188],
|
||||
[123,8150, 85.6188],
|
||||
[161.8150, 85.6188],
|
||||
[199.8150, 85.6188],
|
||||
[251.3150, 67.1188],
|
||||
[ 22.5650, 47.6187],
|
||||
[118.8150, 47.6187],
|
||||
[157.3150, 47.6187],
|
||||
[ 4.7500, 28.7500],
|
||||
[ 29.7500, 28.7500],
|
||||
[227.8150, 28.7500],
|
||||
[251.8150, 28.7500],
|
||||
[ 42.8150, 9.1188],
|
||||
[ 85.8150, 9.1188],
|
||||
[123.8150, 9.1188],
|
||||
[161.8150, 9.1188],
|
||||
[200.3150, 9.1188]
|
||||
];
|
||||
|
||||
module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) {
|
||||
module keyboard_base_plate(pcb_width, pcb_height) {
|
||||
pcb_clearance_edge = 1.0;
|
||||
pcb_clearance_bottom = 2.0;
|
||||
|
||||
|
@ -35,6 +13,28 @@ module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) {
|
|||
wall_height = 14.0;
|
||||
corner_radius = thickness / 2.0;
|
||||
|
||||
screw_holes = [
|
||||
[ 4.8150, 85.6188],
|
||||
[ 47.4822, 85.6188],
|
||||
[ 85.8150, 85.6188],
|
||||
[123,8150, 85.6188],
|
||||
[161.8150, 85.6188],
|
||||
[199.8150, 85.6188],
|
||||
[251.3150, 67.1188],
|
||||
[ 22.5650, 47.6187],
|
||||
[118.8150, 47.6187],
|
||||
[157.3150, 47.6187],
|
||||
[ 4.7500, 28.7500],
|
||||
[ 29.7500, 28.7500],
|
||||
[227.8150, 28.7500],
|
||||
[251.8150, 28.7500],
|
||||
[ 42.8150, 9.1188],
|
||||
[ 85.8150, 9.1188],
|
||||
[123.8150, 9.1188],
|
||||
[161.8150, 9.1188],
|
||||
[200.3150, 9.1188]
|
||||
];
|
||||
|
||||
module round_corner(translation, rotation) {
|
||||
translate(translation)
|
||||
rotate(rotation)
|
||||
|
@ -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