32 lines
848 B
OpenSCAD
32 lines
848 B
OpenSCAD
// some basic 2d-to-3d-extrusion of Vectorfiles
|
|
// by zeus - zeus@ctdo.de - CC-BY-NC-4.0
|
|
// -> https://www.thingiverse.com/zeus
|
|
// -> https://git.kostianix.de/zeus/3d-stuff
|
|
// 2021-02-18
|
|
// ###############
|
|
|
|
$fn=100; //resolution
|
|
// ###############
|
|
module mount(){
|
|
difference(){
|
|
translate([0,0,-10])import("mount.stl",center=true);
|
|
translate([-17.6,-35,-1])cube([60,60,50]);
|
|
translate([-40,6.5,-1])cube([30,20,10]);
|
|
translate([-29,-19.7,-1])cylinder(r=7,h=50);
|
|
translate([-40,-30,43.5])#cube([30,20,10]);
|
|
}
|
|
hull(){
|
|
translate([-17.6,-16.5,0])cube([3,23,5]);
|
|
translate([-17.6,-16.5,33.5])cube([3,5,10]);
|
|
}
|
|
}
|
|
|
|
|
|
mount();
|
|
translate([-15,0,0]){
|
|
difference(){
|
|
mount();
|
|
translate([-40,-30,4.5])cube([50,50,50]);
|
|
translate([-40,-30,-1])cube([30.25,20,10]);
|
|
}
|
|
} |