Apple-410/models/plotter_head.scad

58 lines
1.1 KiB
OpenSCAD
Raw Normal View History

2017-12-27 18:54:40 +00:00
5notch_width = 2.5;
$fa = 6;
2017-12-26 01:35:55 +00:00
$fs = 0.5;
module peg_hole() {
union() {
difference() {
union() {
2017-12-27 18:54:40 +00:00
cylinder(h=21.5,d1=7.8,d2=7.5,center=false);
// Chamfer
2017-12-27 18:54:40 +00:00
cylinder(h=1.25,d1=9.2,d2=7.7,center=false);
}
2017-12-27 18:54:40 +00:00
translate([3.3, -5, -0.1]) {
cube([10,10,30]);
}
}
translate([0,-notch_width/2,0]) {
cube([4.5,notch_width,3.4]);
}
}
}
module shell() {
union() {
cylinder(h=12,d=32.0,center=false);
translate([0,0,8.1]) {
cylinder(h=3.4,d=34,center=false);
}
translate([0,0,11.5]) {
cylinder(h=11.4,d1=34,d2=21,center=false);
}
}
}
2017-12-26 01:35:55 +00:00
module pen(which) {
rotate([0,0,which*90]) {
translate([10,0,4]) rotate([0,90,0]) {
cylinder(h=10,d=4,center=false);
}
}
}
module pens() {
for (i=[0:4]) {
pen(i);
}
}
2017-12-27 18:54:40 +00:00
//peg_hole();
difference() {
2017-12-26 01:35:55 +00:00
union() {
shell();
}
pens();
translate([0,0,-0.005]) {
peg_hole();
}
}