Original-Prusa-i3/Printed-Parts/scad/5015housing-MK3.scad

48 lines
1.7 KiB
OpenSCAD
Executable File

rotate([180,0,0]){difference(){
union(){
linear_extrude(height = 3, center = false, convexity = 10, $fn=100)
import (file = "5015housing-MK3.dxf", layer = "Base");
translate([0,0, -7])linear_extrude(height = 10, center = false, convexity = 10, $fn=150)
import (file = "5015housing-MK3.dxf", layer = "pillar");
translate([0,0, -14])linear_extrude(height = 14, center = false, convexity = 10, $fn=150)
import (file = "5015housing-MK3.dxf", layer = "Funnel");
translate([0,0, -15])linear_extrude(height = 1.5, center = false, convexity = 10, $fn=150)
import (file = "5015housing-MK3.dxf", layer = "Top");
// translate([0,0, -9])linear_extrude(height = 9, center = false, convexity = 10, $fn=200)
//import (file = "5015housing-MK3.dxf", layer = "Pins");
}
//translate([0,0, -10])linear_extrude(height = 10, center = false, convexity = 10, $fn=200)
//import (file = "5015housing-MK3.dxf", layer = "holes");
translate([0,0, -5])linear_extrude(height = 10, center = false, convexity = 10, $fn=150)
import (file = "5015housing-MK3.dxf", layer = "Holes-thru");
translate([0,0, -7])linear_extrude(height = 0.8, center = false, convexity = 10, $fn=150)
import (file = "5015housing-MK3.dxf", layer = "Ziptie-cutout");
translate([-36,-12.5+4+6.2,5])rotate([12.5,100,0])rotate([0,0,1])cylinder(r=1.65, h=38, $fn=20);
translate([-36,-12.5+4+6.2,5.1])rotate([12.5,100,0])rotate([0,0,1])cylinder(r=1.65, h=38, $fn=20);
}
difference(){
union(){
translate([29-3-0.5-2,-12.5,-22-2])rotate([0,0,1])cube([6,7,9]);
translate([29-3-2,-12.5-2,-22+5.2])cube([5,9,2]);
}
translate([20,-12.5+3.5,-22+3.5-2+0.5])rotate([0,90,0])rotate([0,0,1])cylinder(r=1.6, h=20, $fn=20);
}}