You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
683 B
OpenSCAD

8 years ago
lamp();
8 years ago
lampFoot();
8 years ago
module lamp(){
8 years ago
linear_extrude (height=12)
8 years ago
import (file="motor-dc-m15n.dxf", layer="lamp", $fn=100);
translate([0,0,9.99])
linear_extrude (height=2)
import (file="motor-dc-m15n.dxf", layer="lamp-back", $fn=100);
8 years ago
}
module lampFoot(){
8 years ago
difference(){
linear_extrude (height=10)
import (file="motor-dc-m15n.dxf", layer="lamp-foot", $fn=100);
union(){
translate([22.5,-9,5])
rotate ([0,90,90])
cylinder(r=1.5,h=5,$fn=100);
translate([-22.5,-9,5])
rotate ([0,90,90])
cylinder(r=1.5,h=5,$fn=100);
}
}
8 years ago
8 years ago
}