diff --git a/readme.md b/readme.md index 5fae935..c4231f2 100644 --- a/readme.md +++ b/readme.md @@ -2303,6 +2303,7 @@ Filament spool models | Function | Description | |:--- |:--- | | ```spool_height(type)``` | Outside width | +| ```spool_pitch(type)``` | Spacing of the rims | ### Modules | Module | Description | @@ -2316,6 +2317,7 @@ Filament spool models | ---:|:--- |:---| | 1 | ```spool(spool_200x55)``` | Filament spool 200 x 55 | | 1 | ```spool(spool_300x85)``` | Filament spool 300 x 85 | +| 1 | ```spool(spool_300x88)``` | Filament spool 300 x 88 | Top diff --git a/tests/png/spools.png b/tests/png/spools.png index 697d9d1..7643e16 100644 Binary files a/tests/png/spools.png and b/tests/png/spools.png differ diff --git a/vitamins/spool.scad b/vitamins/spool.scad index d820900..cbe563a 100644 --- a/vitamins/spool.scad +++ b/vitamins/spool.scad @@ -30,6 +30,7 @@ function spool_hub_bore(type) = type[6]; //! Bore through the hub function spool_hub_diameter(type) = type[7]; //! Diameter of the thicker hub function spool_hub_taper(type) = type[8]; //! Diameter at which it tapers down to rim thickness function spool_height(type) = spool_width(type) + 2 * spool_hub_thickness(type); //! Outside width +function spool_pitch(type) = spool_width(type) + spool_rim_thickness(type); //! Spacing of the rims module spool(type) { //! Draw specified spool vitamin(str("spool(", type[0], "): Filament spool ", spool_diameter(type), " x ", spool_width(type))); diff --git a/vitamins/spools.scad b/vitamins/spools.scad index 59551d9..66b427f 100644 --- a/vitamins/spools.scad +++ b/vitamins/spools.scad @@ -23,10 +23,11 @@ // i i e i u o u u // a d p m b r b b // t t e -// h h t t d t +// h h t t d taper_d +spool_300x88 = ["spool_300x88", 300, 88, 43, 6, 8, 52, 214, 300]; spool_300x85 = ["spool_300x85", 300, 85, 60, 4, 8, 52, 250, 280]; spool_200x55 = ["spool_200x55", 200, 55, 40, 5, 5, 52, 200, 200]; -spools = [spool_200x55, spool_300x85]; +spools = [spool_200x55, spool_300x85, spool_300x88]; use