Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
3D_designs
Commits
d442814a
Commit
d442814a
authored
Jan 31, 2018
by
Nicole Faerber
Browse files
Further work...
parent
e8361f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Librem5-Case/librem5-case.scad
View file @
d442814a
...
...
@@ -7,31 +7,40 @@ $fn=60;
module case_outline(x,y,z,t,d,dh) {
// union () {
difference() {
// outer frame
translate([2,2,0]) {
minkowski() {
cube ([x-3, y-3, z], center=false);
cylinder(r=2,h=0.1);
}
}
// 1mm sink frame for top glass
translate([t,t, z-1]) {
cube ([x-t, y-t, 4], center=false);
};
// 2mm sink frame for display
translate([4+t,4+t, z-3]) {
cube ([x-8, y-8, 4], center=false);
};
translate([4+t,14+t, z-4]) {
cube ([x-8, y-90, 4], center=false);
// holding bars, left to right
translate([4+t,4+t, z-4]) {
cube ([x-8, y-120, 4], center=false);
};
translate([4+t,
74
+t, z-4]) {
translate([4+t,
35
+t, z-4]) {
cube ([x-8, y-90, 4], center=false);
};
translate([4+t,90+t, z-4]) {
cube ([x-8, y-100, 4], center=false);
};
// bottom hole
translate([t,t, -.5]) {
cube ([x-t, y-t, 12], center=false);
};
}
// mounting domes for the back cover
translate([d,d,1]) {
cylinder (h=dh,r=d,center=false);
...
...
@@ -64,5 +73,5 @@ module case_outline(x,y,z,t,d,dh) {
}
case_outline(
72,135
,15,1,2.5,10.5);
case_outline(
80,143
,15,1,2.5,10.5);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment