Fix the pcb bracket to fit in nicely
This commit is contained in:
parent
92c57bd303
commit
bde5bc33f7
4 changed files with 3297 additions and 793 deletions
2278
pcbracket/pcbracket.gcode
Normal file
2278
pcbracket/pcbracket.gcode
Normal file
File diff suppressed because it is too large
Load diff
85
pcbracket/pcbracket.scad
Normal file
85
pcbracket/pcbracket.scad
Normal file
|
@ -0,0 +1,85 @@
|
|||
color ([0.8, 0.8, 0.8, ]) {
|
||||
union () {
|
||||
difference () {
|
||||
cube ([40, 24.5, 4], center=true);
|
||||
translate ([0, 0, 2]) {
|
||||
cube ([36, 20.5, 4], center=true);
|
||||
}
|
||||
translate ([-1.5, 2, 0]) {
|
||||
cube ([30, 13.5, 7], center=true);
|
||||
}
|
||||
translate ([-20, 2, 2]) {
|
||||
cube ([5, 10, 4], center=true);
|
||||
}
|
||||
translate ([-1.5, -14, 1]) {
|
||||
cube ([31, 14, 10], center=true);
|
||||
}
|
||||
translate ([21, -5.75, 1]) {
|
||||
cube ([10, 9, 7], center=true);
|
||||
}
|
||||
translate ([21, -5.75, 1]) {
|
||||
cube ([16, 9, 4], center=true);
|
||||
}
|
||||
}
|
||||
scale ([0.75, 0.75, 0.75]) {
|
||||
translate ([-31.5, -10, -0.7]) {
|
||||
rotate (a=90.0, v=[0, 0, -1]) {
|
||||
difference () {
|
||||
cube ([10, 10, 4], center=true);
|
||||
translate ([0, -0.5, 0]) {
|
||||
cylinder (h=7, r=3, center=true);
|
||||
}
|
||||
translate ([0, -1.5, 3]) {
|
||||
cube ([6.75, 9, 7], center=true);
|
||||
}
|
||||
translate ([0, -2, 3]) {
|
||||
rotate (a=14.999999999999998, v=[1, 0, 0]) {
|
||||
cube ([12, 15, 4], center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scale ([0.75, 0.75, 0.75]) {
|
||||
translate ([31.5, 8, -0.7]) {
|
||||
rotate (a=90.0, v=[0, 0, 1]) {
|
||||
difference () {
|
||||
cube ([10, 10, 4], center=true);
|
||||
translate ([0, -0.5, 0]) {
|
||||
cylinder (h=7, r=3, center=true);
|
||||
}
|
||||
translate ([0, -1.5, 3]) {
|
||||
cube ([6.75, 9, 7], center=true);
|
||||
}
|
||||
translate ([0, -2, 3]) {
|
||||
rotate (a=14.999999999999998, v=[1, 0, 0]) {
|
||||
cube ([12, 15, 4], center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scale ([0.75, 0.75, 0.75]) {
|
||||
translate ([-15, 21, -0.7]) {
|
||||
rotate (a=180.0, v=[0, 0, 1]) {
|
||||
difference () {
|
||||
cube ([10, 10, 4], center=true);
|
||||
translate ([0, -0.5, 0]) {
|
||||
cylinder (h=7, r=3, center=true);
|
||||
}
|
||||
translate ([0, -1.5, 3]) {
|
||||
cube ([6.75, 9, 7], center=true);
|
||||
}
|
||||
translate ([0, -2, 3]) {
|
||||
rotate (a=14.999999999999998, v=[1, 0, 0]) {
|
||||
cube ([12, 15, 4], center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -13,7 +13,7 @@ rest of the workpiece on a flat surface."
|
|||
(difference
|
||||
(cube 10 10 4)
|
||||
(translate [0 -0.5 0] (cylinder 3 7))
|
||||
(translate [0 -1 3] (cube 8 10 7))
|
||||
(translate [0 -1.5 3] (cube 6.75 9 7))
|
||||
(->>
|
||||
(cube 12 15 4)
|
||||
(rotate (/ pi 12) [1 0 0])
|
||||
|
@ -23,15 +23,16 @@ rest of the workpiece on a flat surface."
|
|||
(difference
|
||||
(cube 40 24.5 4)
|
||||
(translate [0 0 2] (cube 36 20.5 4))
|
||||
(translate [-1 2 0] (cube 31 13.5 7))
|
||||
(translate [-20 4 2] (cube 5 10 4))
|
||||
(translate [-1.5 -14 1.0] (cube 33 14 10))
|
||||
(translate [21 -5.25 1] (cube 10 10 4))))
|
||||
(translate [-1.5 2 0] (cube 30 13.5 7))
|
||||
(translate [-20 2 2] (cube 5 10 4))
|
||||
(translate [-1.5 -14 1] (cube 31 14 10))
|
||||
(translate [21 -5.75 1] (cube 10 9 7))
|
||||
(translate [21 -5.75 1] (cube 14 9 4))))
|
||||
|
||||
(defn scene []
|
||||
(union
|
||||
(corpus)
|
||||
(scale [0.75 0.75 0.75] (translate [-31.5 -8 -0.7] (rotate (/ pi 2) [0 0 -1] (shoe))))
|
||||
(scale [0.75 0.75 0.75] (translate [-31.5 -10 -0.7] (rotate (/ pi 2) [0 0 -1] (shoe))))
|
||||
(scale [0.75 0.75 0.75] (translate [31.5 8 -0.7] (rotate (/ pi 2) [0 0 1] (shoe))))
|
||||
(scale [0.75 0.75 0.75] (translate [-15 21 -0.7] (rotate pi [0 0 1] (shoe))))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue