mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-06 15:36:30 +02:00
Added spool_pitch() function and more modern 300mm filament spool.
This commit is contained in:
@@ -2303,6 +2303,7 @@ Filament spool models
|
|||||||
| Function | Description |
|
| Function | Description |
|
||||||
|:--- |:--- |
|
|:--- |:--- |
|
||||||
| ```spool_height(type)``` | Outside width |
|
| ```spool_height(type)``` | Outside width |
|
||||||
|
| ```spool_pitch(type)``` | Spacing of the rims |
|
||||||
|
|
||||||
### Modules
|
### Modules
|
||||||
| Module | Description |
|
| Module | Description |
|
||||||
@@ -2316,6 +2317,7 @@ Filament spool models
|
|||||||
| ---:|:--- |:---|
|
| ---:|:--- |:---|
|
||||||
| 1 | ```spool(spool_200x55)``` | Filament spool 200 x 55 |
|
| 1 | ```spool(spool_200x55)``` | Filament spool 200 x 55 |
|
||||||
| 1 | ```spool(spool_300x85)``` | Filament spool 300 x 85 |
|
| 1 | ```spool(spool_300x85)``` | Filament spool 300 x 85 |
|
||||||
|
| 1 | ```spool(spool_300x88)``` | Filament spool 300 x 88 |
|
||||||
|
|
||||||
|
|
||||||
<a href="#top">Top</a>
|
<a href="#top">Top</a>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 35 KiB |
@@ -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_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_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_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
|
module spool(type) { //! Draw specified spool
|
||||||
vitamin(str("spool(", type[0], "): Filament spool ", spool_diameter(type), " x ", spool_width(type)));
|
vitamin(str("spool(", type[0], "): Filament spool ", spool_diameter(type), " x ", spool_width(type)));
|
||||||
|
@@ -23,10 +23,11 @@
|
|||||||
// i i e i u o u u
|
// i i e i u o u u
|
||||||
// a d p m b r b b
|
// a d p m b r b b
|
||||||
// t t e
|
// 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_300x85 = ["spool_300x85", 300, 85, 60, 4, 8, 52, 250, 280];
|
||||||
spool_200x55 = ["spool_200x55", 200, 55, 40, 5, 5, 52, 200, 200];
|
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 <spool.scad>
|
use <spool.scad>
|
||||||
|
Reference in New Issue
Block a user