1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-01-17 04:48:15 +01:00
Mendel90/scad/pulley.scad
Chris Palmer 1fab28d832 Pulleys and belts now T2.5 on kit version.
JHead now attached by three screws and washers.
New extruder breakout PCB.
Lots of instruction manual improvements from user feedback.
2012-12-24 13:15:00 +00:00

39 lines
879 B
OpenSCAD

//
// Mendel90
//
// GNU GPL v2
// nop.head@gmail.com
// hydraraptor.blogspot.com
//
include <conf/config.scad>
module pulley_stl() {
stl("pulley");
import(pulley_type(pulley_type));
}
module pulley_assembly() {
type = pulley_type;
translate(pulley_offset(type))
if(pulley_od(type))
metal_pulley(type);
else
color(pulley_color) render() pulley_stl();
translate([0, pulley_bore(type) / 2 + pulley_screw_length(type), pulley_screw_z(type) + pulley_offset(type)[2]])
rotate([-90, 0, 0])
screw(pulley_screw(type), pulley_screw_length(type));
if(pulley_nut_y(type))
translate([0, pulley_nut_y(type), pulley_screw_z(type) + pulley_offset(type)[2]])
rotate([90, 0, 0])
nut(screw_nut(pulley_screw(type)));
}
if(1)
pulley_assembly();
else
pulley_stl();