mirror of
https://github.com/nophead/Mendel90.git
synced 2025-09-03 10:02:51 +02:00
first commit
This commit is contained in:
39
scad/z-screw_pointer.scad
Normal file
39
scad/z-screw_pointer.scad
Normal file
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// 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();
|
||||
|
||||
inner_rad = (((Z_screw_dia == 6) ? M6_tap_radius : M8_tap_radius) + Z_bar_dia / 2) / 2; // half depth thread
|
||||
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();
|
Reference in New Issue
Block a user