1
0
Fork 0
mirror of https://github.com/Luzifer/lorabattery.git synced 2024-12-20 18:01:16 +00:00

Add housing

This commit is contained in:
Knut Ahlers 2020-05-30 23:00:30 +02:00
parent a3f1e62d4d
commit ed4ec49836
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 48908 additions and 0 deletions

6
docs/backcover.jscad Normal file
View file

@ -0,0 +1,6 @@
function main () {
return difference(
cube({size: [85, 35, 2]}),
cube({size: [8, 8, 2]})
)
}

48862
docs/box.stl Normal file

File diff suppressed because it is too large Load diff

40
docs/frontcover.jscad Normal file
View file

@ -0,0 +1,40 @@
function main () {
return union(
difference(
// Base plate
cube({size: [85, 35, 2]}),
// Display
cube({size: [26, 15, 2]}).translate([68-26, 28-15, 0]),
// Button holes
cylinder({r: 1, h: 2}).translate([26.5, 30, 0]),
cylinder({r: 1, h: 2}).translate([26.5, 13.5, 0])
),
// Board holders
difference(
cube({size: [3, 2, 9.3]}),
cube({size: [1, 2, 7.3]})
).translate([74, 21, 2]),
difference(
cube({size: [3, 2, 9.3]}),
cube({size: [1, 2, 7.3]}).translate([2, 0, 0])
).translate([21, 16, 2]),
difference(
cube({size: [2, 3, 9.3]}),
cube({size: [2, 1, 7.3]}).translate([0, 2, 0])
).translate([61, 7.5, 2]),
difference(
cube({size: [2, 3, 9.3]}),
cube({size: [2, 1, 7.3]}).translate([0, 2, 0])
).translate([31, 7.5, 2]),
// Antenna holder
difference(
cylinder({r: 3.5, h: 20}),
cylinder({r: 2.5, h: 20}).translate([1.7, 0, 0]),
cube({size: [5, 50, 20]}).translate([-7, -5 ,0])
).rotateY(-90).translate([25, 5, 3])
)
}
// vim: set ft=javascript :