aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2026-07-18 17:19:43 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2026-07-18 17:19:43 +0200
commitf37fb145746093a55998e557030f7f067d9e3265 (patch)
treed14ae126a5d393d7b1561add9ba6aae2ea4e2a53 /lib
parent41e2e339af3ef4b0dd62a050102601a0ed6a02b9 (diff)
Fix token parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/extra.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extra.scad b/lib/extra.scad
index f9bd52c..056c88d 100644
--- a/lib/extra.scad
+++ b/lib/extra.scad
@@ -3,10 +3,10 @@ use <utils.scad>
module token(r, f=8, h=2) {
difference() {
union() { for ( i = [0:f-1] ) {
- rotate([0, 0, 360 * i / f]) translate([r / 3, 0, 0]) cylinder(r=r * 2 / 3, h=h, $fn=64);
+ rotate([0, 0, 360 * i / f]) translate([r * 0.5, 0, 0]) cylinder(r=r * 0.5, h=h, $fn=64);
}}
union() { for (i = [0:f-1]) {
- rotate([0, 0, 360 * i / f]) translate([0, 0, -1]) cube([r/3, r/3, h + 2]);
+ rotate([0, 0, 360 * i / f]) translate([0, 0, -1]) cube([r * 0.4, r * 0.4, h + 2]);
}}
}
}