style
This commit is contained in:
parent
9bb151f524
commit
cf9852c42d
2 changed files with 72 additions and 91 deletions
|
@ -7,13 +7,11 @@ height=50 + thickness;
|
||||||
off=10;
|
off=10;
|
||||||
hole_dist=15;
|
hole_dist=15;
|
||||||
|
|
||||||
module wall()
|
module wall() {
|
||||||
{
|
|
||||||
cube([thickness, depth, height]);
|
cube([thickness, depth, height]);
|
||||||
|
|
||||||
translate([0,0,height])
|
translate([0,0,height])
|
||||||
difference()
|
difference() {
|
||||||
{
|
|
||||||
hull() {
|
hull() {
|
||||||
cube([thickness, depth, thickness]);
|
cube([thickness, depth, thickness]);
|
||||||
|
|
||||||
|
@ -33,17 +31,14 @@ module wall()
|
||||||
translate([-off, depth/2+hole_dist, 0])
|
translate([-off, depth/2+hole_dist, 0])
|
||||||
cylinder(h=2, d=4, $fn=64);
|
cylinder(h=2, d=4, $fn=64);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// sides
|
// sides
|
||||||
difference()
|
difference() {
|
||||||
{
|
|
||||||
wall();
|
wall();
|
||||||
|
|
||||||
translate([0, depth/2, height/2])
|
translate([0, depth/2, height/2])
|
||||||
cube([10, 65, 40], center=true);
|
cube([10, 65, 40], center=true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([width, 0, 0])
|
translate([width, 0, 0])
|
||||||
|
@ -53,11 +48,9 @@ wall();
|
||||||
// base
|
// base
|
||||||
cube([width, depth, thickness]);
|
cube([width, depth, thickness]);
|
||||||
|
|
||||||
module wall2()
|
module wall2() {
|
||||||
{
|
difference() {
|
||||||
difference()
|
cube([width, thickness, 10]);
|
||||||
{
|
|
||||||
cube([width, thickness, 10]);
|
|
||||||
|
|
||||||
translate([37.5+thickness, 6, 4+thickness])
|
translate([37.5+thickness, 6, 4+thickness])
|
||||||
rotate([90,0,0])
|
rotate([90,0,0])
|
||||||
|
@ -66,15 +59,11 @@ cube([width, thickness, 10]);
|
||||||
translate([127.5+thickness, 6, 4+thickness])
|
translate([127.5+thickness, 6, 4+thickness])
|
||||||
rotate([90,0,0])
|
rotate([90,0,0])
|
||||||
cylinder(h=4, d=6, $fn=64);
|
cylinder(h=4, d=6, $fn=64);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
wall2();
|
wall2();
|
||||||
|
|
||||||
|
|
||||||
translate([0, depth, 0])
|
translate([0, depth, 0])
|
||||||
mirror([0,1,0])
|
mirror([0,1,0])
|
||||||
wall2();
|
wall2();
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,8 @@ cube([10+2, thickness, height+thickness]);
|
||||||
translate([-2, 0, 0])
|
translate([-2, 0, 0])
|
||||||
cube([2, depth, height+thickness]);
|
cube([2, depth, height+thickness]);
|
||||||
|
|
||||||
translate([0,0,height])
|
translate([0,0,height]) {
|
||||||
{
|
difference() {
|
||||||
|
|
||||||
difference()
|
|
||||||
{
|
|
||||||
hull() {
|
hull() {
|
||||||
translate([-5, 2*depth/3,0])
|
translate([-5, 2*depth/3,0])
|
||||||
cylinder(h=thickness, d=10, $fn=64);
|
cylinder(h=thickness, d=10, $fn=64);
|
||||||
|
@ -26,7 +23,6 @@ translate([0,0,height])
|
||||||
translate([-5, 1*depth/3,0])
|
translate([-5, 1*depth/3,0])
|
||||||
cylinder(h=thickness, d=10, $fn=64);
|
cylinder(h=thickness, d=10, $fn=64);
|
||||||
|
|
||||||
|
|
||||||
translate([-1, 4*depth/5,0])
|
translate([-1, 4*depth/5,0])
|
||||||
cylinder(h=thickness, d=2, $fn=64);
|
cylinder(h=thickness, d=2, $fn=64);
|
||||||
|
|
||||||
|
@ -45,15 +41,12 @@ translate([0,0,height])
|
||||||
|
|
||||||
translate([-6, 1*depth/3, 0])
|
translate([-6, 1*depth/3, 0])
|
||||||
cylinder(h=2, d=4, $fn=64);
|
cylinder(h=2, d=4, $fn=64);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// back screw
|
// back screw
|
||||||
translate([0,depth+thickness,height])
|
translate([0,depth+thickness,height]) {
|
||||||
{
|
difference() {
|
||||||
difference()
|
|
||||||
{
|
|
||||||
hull() {
|
hull() {
|
||||||
translate([5,5,0])
|
translate([5,5,0])
|
||||||
cylinder(h=thickness, d=5, $fn=64);
|
cylinder(h=thickness, d=5, $fn=64);
|
||||||
|
@ -72,4 +65,3 @@ translate([0,depth+thickness,height])
|
||||||
cylinder(h=2, d=4, $fn=64);
|
cylinder(h=2, d=4, $fn=64);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue