mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 00:09:37 +00:00
Modular gear2d(mod=) bugfix.
This commit is contained in:
parent
2132b3d5b3
commit
4857fc087d
2 changed files with 3 additions and 1 deletions
|
@ -427,9 +427,11 @@ module gear2d(
|
||||||
clearance = undef,
|
clearance = undef,
|
||||||
backlash = 0.0,
|
backlash = 0.0,
|
||||||
interior = false,
|
interior = false,
|
||||||
|
mod,
|
||||||
anchor = CENTER,
|
anchor = CENTER,
|
||||||
spin = 0
|
spin = 0
|
||||||
) {
|
) {
|
||||||
|
pitch = is_undef(mod) ? pitch : pitch_value(mod);
|
||||||
path = gear2d(
|
path = gear2d(
|
||||||
pitch = pitch,
|
pitch = pitch,
|
||||||
teeth = teeth,
|
teeth = teeth,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,458];
|
BOSL_VERSION = [2,0,459];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue