2012-03-12 01:13:07 +00:00
|
|
|
//
|
|
|
|
// Mendel90
|
|
|
|
//
|
|
|
|
// GNU GPL v2
|
|
|
|
// nop.head@gmail.com
|
|
|
|
// hydraraptor.blogspot.com
|
|
|
|
//
|
|
|
|
// Pointers on the Z screws
|
|
|
|
//
|
|
|
|
include <conf/config.scad>
|
|
|
|
|
|
|
|
function z_screw_pointer_height() = 5;
|
|
|
|
|
|
|
|
module z_screw_pointer_stl() {
|
|
|
|
wall = 2.4;
|
|
|
|
height = z_screw_pointer_height();
|
|
|
|
|
2012-11-15 17:45:30 +00:00
|
|
|
inner_rad = (((Z_screw_dia == 6) ? M6_tap_radius : M8_tap_radius) + Z_screw_dia / 2) / 2; // half depth thread
|
2012-03-12 01:13:07 +00:00
|
|
|
outer_rad = inner_rad + wall;
|
|
|
|
|
|
|
|
pointer = z_bar_offset() - Z_bar_dia / 2 - 1;
|
|
|
|
|
|
|
|
stl("z_screw_pointer");
|
|
|
|
difference() {
|
|
|
|
union() {
|
|
|
|
linear_extrude(height = wall)
|
|
|
|
hull() {
|
|
|
|
circle(r = outer_rad, center = true);
|
|
|
|
translate([pointer - filament_width, 0, 0])
|
|
|
|
square(filament_width * 2, center = true);
|
|
|
|
}
|
|
|
|
translate([0,0, eta])
|
|
|
|
cylinder(r = outer_rad, h = height);
|
|
|
|
}
|
|
|
|
poly_cylinder(r = inner_rad, h = 2 * height + 1, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
z_screw_pointer_stl();
|