43 lines
844 B
OpenSCAD
43 lines
844 B
OpenSCAD
|
$fn=180;
|
||
|
use <Lib/mirrorcopy.scad>;
|
||
|
use <Lib/metric_screws.scad>;
|
||
|
|
||
|
module plastic(){
|
||
|
hull(){
|
||
|
mirrorCopy([1,0,0],[0,1,0]){
|
||
|
translate([60,20,10]){
|
||
|
cylinder(h=20, d=10, center=true);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
hull(){
|
||
|
mirrorCopy([1,0,0]){
|
||
|
translate([35+5,0,17])
|
||
|
rotate([90,0,0])
|
||
|
cylinder(d=15, h=50, center=true);
|
||
|
|
||
|
translate([35-2,0,45])
|
||
|
rotate([90,0,0])
|
||
|
cylinder(d=15, h=40, center=true);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module screws(){
|
||
|
mirrorCopy([1,0,0],[0,1,0]){
|
||
|
translate([55,15,10-1])selfTappingScrew(mSize=5, length=22);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module powerbar(){
|
||
|
translate([0,0,45/2])
|
||
|
cube([58,200,45+0.01], center=true);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
difference(){
|
||
|
plastic();
|
||
|
powerbar();
|
||
|
screws();
|
||
|
}
|