Compare commits

...
4 Commits
Author SHA1 Message Date
Stefan Thoss 4b55efc8e2 Update some measurements 2026-11-04 16:53:06 -08:00
Stefan Thoss 05e5bca54d Add PVC drain end 2026-11-04 16:51:57 -08:00
Stefan Thoss d801554b7c Add multicolor play coin 2026-11-04 16:51:13 -08:00
Stefan Thoss e2e7f075ea Add striped tunnel 2026-11-04 16:50:48 -08:00
17 changed files with 185 additions and 5 deletions
+17
View File
@@ -43,6 +43,7 @@ Model files:
Model files: Model files:
* brio-tunnel-block.scad * brio-tunnel-block.scad
* brio-tunnel-block-striped.scad
## c9-lights-roof-clip ## c9-lights-roof-clip
@@ -167,6 +168,14 @@ Model files:
* lovevery-coin-raised.scad * lovevery-coin-raised.scad
* lovevery-coin-stencil.scad * lovevery-coin-stencil.scad
## lovevery-coin-multicolor
![lovevery-coin-multicolor.png](lovevery-coin-multicolor/lovevery-coin-multicolor.png)
Model files:
* lovevery-coin-multicolor.scad
## m5-atom-echo-hsw-mount ## m5-atom-echo-hsw-mount
![m5-atom-echo-hsw-mount.png](m5-atom-echo-hsw-mount/m5-atom-echo-hsw-mount.png) ![m5-atom-echo-hsw-mount.png](m5-atom-echo-hsw-mount/m5-atom-echo-hsw-mount.png)
@@ -209,6 +218,14 @@ Model files:
* phone-holder-monitor.scad * phone-holder-monitor.scad
## pvc-drain-end
![pvc-drain-end.png](pvc-drain-end/pvc-drain-end.png)
Model files:
* pvc-drain-end.scad
## ring-sizer ## ring-sizer
![ring-sizer.png](ring-sizer/ring-sizer.png) ![ring-sizer.png](ring-sizer/ring-sizer.png)
Binary file not shown.
@@ -0,0 +1,79 @@
// Zebra version of brio-tunnel-block.scad: the block is cut into 8 bands of 5mm
// across its 40mm depth (the dimension that is 40mm tall when the block lies on
// its side) and the bands alternate black/white, so the stripes run over the arch.
// Geometry, chamfering and rounding are identical to brio-tunnel-block.scad; only
// the coloring/slicing is added.
// Colors show in the preview (F5) and in a 3MF export; a plain STL export drops them.
/* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad>
cube_h = 80;
cube_w = 80;
cube_d = 40;
rounding = 2;
oval_cutout_h = 15;
rect_cutout_w = 45;
rect_cutout_h = 65-oval_cutout_h;
// Zebra striping: stripe_n bands of 5mm across the 40mm depth (cube_d),
// alternating between the two stripe colors.
stripe_n = 8;
stripe_w = cube_d / stripe_n; // 5mm
stripe_colors = ["black", "white"];
$fn=150;
// The tunnel block, exactly as in brio-tunnel-block.scad
// (all chamfering and rounding unchanged).
module tunnelblock() {
difference() {
cuboid([cube_w,cube_d,cube_h], rounding=rounding, anchor=[0,0,-1]);
group() {
rotate([90,0,0])
difference() {
cuboid([rect_cutout_w,rect_cutout_h,cube_d], chamfer=-rounding, anchor=[0,-1,0]);
translate([0,rect_cutout_h,0])
cuboid([2*rect_cutout_w,rect_cutout_h,cube_d], anchor=[0,-1,0]);
}
translate([0,0,rect_cutout_h])
resize([0,0,2*oval_cutout_h])
rotate([90,0,0])
cyl(h=cube_d, d=rect_cutout_w, chamfer=-rounding);
}
}
}
// Everything of the block that is *not* between y=y0 and y=y1, as a single
// solid. Cutting the block with one difference() of this union (instead of an
// intersection() with a slab) is what keeps the rounded/chamfered edges at
// y=+/-cube_d/2 intact.
module outside(y0, y1) {
big = 2 * cube_h; // bigger than the block in every direction
union() {
translate([0, (y0-big)/2, cube_h/2])
cube([cube_w + 2*big, big + y0, cube_h + 2*big], center=true);
translate([0, (y1+big)/2, cube_h/2])
cube([cube_w + 2*big, big - y1, cube_h + 2*big], center=true);
}
}
// The block sliced into stripe_n bands along Y, each band colored alternately.
module tunnelblock_striped() {
for (i = [0 : stripe_n-1]) {
y0 = -cube_d/2 + i*stripe_w;
color(stripe_colors[i % len(stripe_colors)])
difference() {
tunnelblock();
outside(y0, y0 + stripe_w);
}
}
}
tunnelblock_striped();
// To render the plain, unstriped block instead, use: tunnelblock();
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

@@ -0,0 +1,45 @@
coin_d = 2*25.4; // 2"
coin_h = (9/64)*25.4; // 9/64"
edge = 4;
space = 10;
smoothing = 1;
$fn = 100;
module Text(character) {
offset(r=smoothing) offset(r=-2*smoothing) offset(r=smoothing)
text(character, size = 35, font = "Liberation Mono:style=Bold", halign = "center", valign = "center");
}
module CharCoin(character) {
difference() {
color("yellow") cylinder(h = coin_h, d = coin_d);
cylinder(h = coin_h, d = coin_d-2*edge);
}
difference() {
color("gray") cylinder(h = coin_h, d = coin_d-2*edge);
group() {
linear_extrude(coin_h/3)
rotate([0,180,0])
Text(character);
translate([0,0,(2/3)*coin_h+0.001])
linear_extrude(coin_h/3)
Text(character);
}
}
color("yellow") group() {
linear_extrude(coin_h/3)
rotate([0,180,0])
Text(character);
translate([0,0,(2/3)*coin_h+0.001])
linear_extrude(coin_h/3)
Text(character);
}
}
for(num = [0 : 9])
translate([(num%3)*(coin_d+space),-(num/3)*(coin_d+space),0])
CharCoin(str(num));
//CharCoin("");
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

+39
View File
@@ -0,0 +1,39 @@
/* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad>
pipe_diameter = 48.3;
wall_thickness = 3;
straight_length = 20;
hull_length = 50;
end_height = 20;
end_width = 70;
end_rounding = end_height/2;
additional_offset = 15;
$fn = 150;
difference() {
/* Outside */
group() {
hull() {
cylinder(d=pipe_diameter, h=0.1, anchor=BOTTOM);
up(0.1+hull_length) left(pipe_diameter/2+additional_offset)
cuboid([end_height,end_width,0.1], rounding=end_rounding, edges="Z", anchor=TOP+LEFT);
}
}
/* Inside */
group() {
hull() {
cylinder(d=pipe_diameter-2*wall_thickness, h=0.1, anchor=BOTTOM);
up(0.1+hull_length) left(pipe_diameter/2-wall_thickness+additional_offset)
cuboid([end_height-2*wall_thickness,end_width-2*wall_thickness,0.1], rounding=end_rounding-wall_thickness, edges="Z", anchor=TOP+LEFT);
}
}
}
tube(h=straight_length,od=pipe_diameter,wall=wall_thickness,anchor=TOP);
Binary file not shown.
Binary file not shown.
@@ -3,9 +3,9 @@ include <BOSL2/std.scad>
$fn = 100; $fn = 100;
radius_back = 11; radius_back = 6.5;
radius_front = 11; radius_front = 11;
radius_hole = 2.5; radius_hole = 3;
assert(radius_front >= radius_back); assert(radius_front >= radius_back);
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -1,11 +1,11 @@
/* https://github.com/BelfrySCAD/BOSL2 */ /* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad> include <BOSL2/std.scad>
outer_diameter = 40.9; outer_diameter = 48.5;
inner_diameter = 31; inner_diameter = 32;
length = 20; length = 20;
lip_thickness = 3.7; lip_thickness = 4.4;
lip_height = 2; lip_height = 2;
$fn = 150; $fn = 150;
Binary file not shown.