mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-01-17 05:28:14 +01:00
pulley_pr() now has an optional belt type for non-standard belt over smooth pulleys.
This commit is contained in:
parent
e46e6b6e5b
commit
544e69c71b
@ -3,6 +3,10 @@
|
||||
This changelog is generated by `changelog.py` using manually added semantic version tags to classify commits as breaking changes, additions or fixes.
|
||||
|
||||
|
||||
* 2021-03-08 [`e46e6b6`](https://github.com/nophead/NopSCADlib/commit/e46e6b6e5b95792b5b2b4d7a7e4360beed22df0b "show commit") [C.P.](# "Chris Palmer") Fixed markdown numbered points in `core_xy`.
|
||||
|
||||
* 2021-03-06 [`4925979`](https://github.com/nophead/NopSCADlib/commit/49259795193c7687b9923fa9f8ac0681deb5e4ef "show commit") [C.P.](# "Chris Palmer") Updated changelog.
|
||||
|
||||
## [v14.0.0](https://github.com/nophead/NopSCADlib/releases/tag/v14.0.0 "show release") Breaking Changes [...](https://github.com/nophead/NopSCADlib/compare/v13.5.0...v14.0.0 "diff with v13.5.0")
|
||||
* 2021-03-06 [`298d1f9`](https://github.com/nophead/NopSCADlib/commit/298d1f92841f30e13b437c6770fc113954b94108 "show commit") [C.P.](# "Chris Palmer") Interface is the same but filenames to be included or used changed.
|
||||
Changlog upated.
|
||||
|
@ -2681,7 +2681,7 @@ Timing belt pulleys, both toothed and plain with internal bearings for idlers.
|
||||
| `pulley_height(type)` | Total height of pulley |
|
||||
| `pulley_ir(type)` | Inside radius of the teeth |
|
||||
| `pulley_offset(type)` | Offset of the belt path centre |
|
||||
| `pulley_pr(type)` | Pitch radius |
|
||||
| `pulley_pr(type, belt = undef)` | Pitch radius, `belt` only needed for non-standard belt over smooth pulleys |
|
||||
|
||||
### Modules
|
||||
| Module | Description |
|
||||
|
@ -42,7 +42,7 @@ function pulley_screw(type) = type[13]; //! Grub screw type
|
||||
function pulley_screws(type) = type[14]; //! Number of grub screws
|
||||
|
||||
function pulley_ir(type) = pulley_od(type) / 2 - (pulley_teeth(type) ? belt_tooth_height(pulley_belt(type)) : 0); //! Inside radius of the teeth
|
||||
function pulley_pr(type) = let(belt = pulley_belt(type)) //! Pitch radius
|
||||
function pulley_pr(type, belt = undef) = let(belt = is_undef(belt) ? pulley_belt(type) : belt) //! Pitch radius, `belt` only needed for non-standard belt over smooth pulleys
|
||||
pulley_teeth(type) ? pulley_teeth(type) * belt_pitch(belt) / 2 / PI
|
||||
: pulley_ir(type) + belt_thickness(belt) - belt_pitch_height(belt);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user