Skip to content

Instantly share code, notes, and snippets.

@ednisley
Created January 14, 2026 21:24
Show Gist options
  • Select an option

  • Save ednisley/4c6b9db71350de45bcb4884a829a6e39 to your computer and use it in GitHub Desktop.

Select an option

Save ednisley/4c6b9db71350de45bcb4884a829a6e39 to your computer and use it in GitHub Desktop.
OpenSCAD source code: Thinwall soap dish to test 3D printing transparency
// Shower soap dish
// Ed Nisley - KE4ZNU
// 2026-01-13
include <BOSL2/std.scad>
/* [Hidden] */
HoleWindage = 0.2;
Protrusion = 0.1;
NumSides = 3*3*4;
$fn=NumSides;
ID = 0;
OD = 1;
LENGTH = 2;
WallThick = 0.6;
BaseThick = 2.0;
//DishOA = [80.0,40.0,20.0]; // standing used Dove
DishOA = [90.0,50.0,30.0]; // standing Dove
//DishOA = [100.0,65.0,30.0]; // half-bar
DishTaper = [10.0,10.0];
CornerRadius = 15.0;
DrainOA = [10.0,DishOA.y,3.0];
DrainOC = DishOA.x/3;
//----------
// Build it
difference() {
union() {
linear_extrude(BaseThick)
rect([DishOA.x,DishOA.y] - DishTaper,rounding=CornerRadius);
rect_tube(DishOA.z,wall=WallThick,
size1=[DishOA.x,DishOA.y] - DishTaper,size2=[DishOA.x,DishOA.y],
rounding=CornerRadius,anchor=BOTTOM);
}
for (j=[-1,1])
right(j*DrainOC/2)
up(BaseThick)
cuboid(DrainOA,rounding=1.0,anchor=BOTTOM+BACK);
}
@ednisley
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment