Nipkow/3D-parts/inc/motor-suport.scad

50 lines
1.1 KiB
OpenSCAD
Raw Normal View History

2016-10-06 08:09:27 +02:00
use <motor-dc-m15n.scad>
//m15n3();
motorSupport();
module motorSupport(){
difference(){
union(){
2016-10-06 21:04:09 +02:00
//support
2016-10-06 08:09:27 +02:00
linear_extrude (height=19)
import (file="motor-dc-m15n.dxf", layer="support", $fn=100);
2016-10-06 21:04:09 +02:00
//façade
2016-10-06 08:09:27 +02:00
translate([0,0,-2.99])
linear_extrude (height=3)
import (file="motor-dc-m15n.dxf", layer="support-front", $fn=100);
2016-10-06 21:04:09 +02:00
//barre pour accrocher capteur
translate([0,0,-2.99])
linear_extrude (height=3)
import (file="motor-dc-m15n.dxf", layer="support-capteur", $fn=100);
/*
*No, won't be printable easily. Make two parts
translate([0,0,-16.9])
linear_extrude (height=15)
import (file="motor-dc-m15n.dxf", layer="support-capteur2", $fn=100);
*/
2016-10-06 08:09:27 +02:00
}
union(){
translate([-14.8472,0,0])
rotate([90,0,0])
cylinder(h = 8, r = 1.5, $fn=100);
translate([14.8472,0,0])
rotate([90,0,0])
cylinder(h = 8, r = 1.5, $fn=100);
translate([-14.8472,0,16])
rotate([90,0,0])
cylinder(h = 8, r = 1.5, $fn=100);
translate([14.8472,0,16])
rotate([90,0,0])
cylinder(h = 8, r = 1.5, $fn=100);
}
}
}