Skip to content
Snippets Groups Projects
Commit 7cb9db84 authored by György Kurucz's avatar György Kurucz
Browse files

Add coin simulator, and filament spool adapter.

parent 9d1d76dc
Branches
No related tags found
No related merge requests found
// 100 HUF coin parameters:
thickness = 2.2;
radius = 23.8 / 2;
module canonical() {
handle_len = radius * 2;
handle_w = radius * 0.7;
handle_r = 3;
hole_r = handle_r / 2;
linear_extrude(thickness) union() {
translate([0,-handle_len,0]) difference() {
minkowski() {
polygon([ [0,0], [-handle_w/2,handle_len],
[handle_w/2,handle_len] ]);
circle(r=handle_r, $fn=50);
};
circle(hole_r, $fn=30);
};
circle(radius, $fn=100);
};
}
canonical();
use <../include/screw.scad>;
ID = 52.5; // internal diameter
OD = ID + 10; // outer diameter
TD = 8.5; // rod diameter
SD = ID/2; // screw diameter
L = 70; // length
$fn=100;
module rod() {
translate([0,0,-1]) cylinder(h=L+2+5, d=TD);
}
module screw(tol=0) {
translate([0,0,L+5]) rotate([180,0,0]) metric_screw(P=6, D_maj = SD, h=L+5, taper=true, tol=tol);
}
module bottom() {
difference() {
union() {
cylinder(h=4, d=OD);
cylinder(h=10, d=ID);
screw();
cylinder(h=L/5, d=SD+2);
}
rod();
}
}
module top() {
difference() {
union() {
difference() {
union() {
translate([0,0,L-20]) cylinder(h=20, d=ID);
translate([0,0,L-4]) cylinder(h=4, d=OD);
}
translate([0,0,L/2]) screw(tol=.7);
}
}
rod();
}
}
bottom();
// translate([OD+1,0,0]) rotate([180,0,0]) translate([0,0,-L]) top();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment