Add ring sizer

This commit is contained in:
Stefan Thoss
2026-07-21 22:06:07 -07:00
parent 84f4e1221b
commit ee1decf1cb
6 changed files with 70728 additions and 0 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

+44
View File
@@ -0,0 +1,44 @@
include <BOSL2/std.scad>
/*
* Chamfered Ring Module with Embedded Number
*
* @param id Inner diameter in mm (Default: 15.7)
* @param h Height in mm (Default: 3.9)
* @param thickness Wall thickness in mm (Default: 2.4)
* @param chamfer_size Size of the 45-degree chamfer in mm (Default: 0.5)
* @param ring_num The number (or text) to engrave (Default: "5")
* @param font_size Height of the number in mm (Default: 2.5)
* @param embed_depth How deep the number cuts into the ring in mm (Default: 0.5)
*/
module chamfered_ring(
id = 15.7,
h = 3.9,
thickness = 2.4,
chamfer_size = 0.5,
ring_num = "5",
font_size = 2.5,
embed_depth = 0.55
) {
od = id + (thickness * 2);
difference() {
tube(id = id, od = od, h = h, chamfer = chamfer_size);
rotate([90, 0, 0])
translate([0, 0, (od/2) - embed_depth])
linear_extrude(embed_depth + 1)
text(
text = str(ring_num),
size = font_size,
font = "Liberation Mono:style=Bold",
valign = "center",
halign = "center"
);
}
}
$fn = 200;
//chamfered_ring(id = 15.3, ring_num = "4.5");
chamfered_ring(id = 15.7, ring_num = "5");