Skip to content

Instantly share code, notes, and snippets.

@ednisley
Created May 21, 2025 13:04
Show Gist options
  • Save ednisley/fe2664fef3542bbf2c78a8955a56ffd2 to your computer and use it in GitHub Desktop.
Save ednisley/fe2664fef3542bbf2c78a8955a56ffd2 to your computer and use it in GitHub Desktop.
OpenSCAD source code: Washers / Adapters for PolyDryer auto-rewind spindles
// Polymaker PolyDryer auto-rewind spool washers
// Ed Nisley - KE4ZNU
// 2025-05-20
include <BOSL2/std.scad>
Layout = "Show"; // [Show,Build]
/* [Hidden] */
HoleWindage = 0.2;
Protrusion = 0.1;
NumSides = 3*3*4;
$fn=NumSides;
ID = 0;
OD = 1;
LENGTH = 2;
Gap = 5.0; // Build separation
SpoolWidth = 20.0; // Show separation
FlangeOD = 72.0; // auto-rewind spindle
FlangeHubOD = 50.5 + 1.0;
NutOD = 77.0;
NutHubOD = 42.0 + 1.0;
//----------
// Define Shapes
module EryOneCF(Side = "Flange") {
SpoolID = 56.0 - 1.0;
SpoolSideThick = 3.0;
if (Side == "Flange")
tube(4.0,od=FlangeOD,id=FlangeHubOD,anchor=BOTTOM) // flange side
position(TOP)
tube(SpoolSideThick,od=SpoolID,id=FlangeHubOD,anchor=BOTTOM);
if (Side == "Nut")
tube(1.0,od=NutOD,id=43.0,anchor=BOTTOM) // nut side
position(TOP)
tube(SpoolSideThick,od=SpoolID,id=NutHubOD,anchor=BOTTOM);
}
//----------
// Build things
if (Layout == "Show") {
left(SpoolWidth/2) yrot(90) EryOneCF("Flange");
right(SpoolWidth/2) yrot(-90) EryOneCF("Nut");
}
if (Layout == "Build") {
left((FlangeOD + Gap)/2) EryOneCF("Flange");
right((NutOD + Gap)/2) EryOneCF("Nut");
}
@ednisley
Copy link
Author

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