mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 21:58:27 +01:00
Bugfix for involute gears #148
This commit is contained in:
parent
a98bc00838
commit
0a741b36d1
@ -278,7 +278,7 @@ function gear2d(
|
|||||||
],
|
],
|
||||||
hide>0? [[0,0]] : []
|
hide>0? [[0,0]] : []
|
||||||
)
|
)
|
||||||
) attachable(anchor,spin, two_d=true, r=pr, p=pts);
|
) reorient(anchor,spin, two_d=true, r=pr, p=pts);
|
||||||
|
|
||||||
|
|
||||||
module gear2d(
|
module gear2d(
|
||||||
@ -301,6 +301,7 @@ module gear2d(
|
|||||||
backlash = backlash,
|
backlash = backlash,
|
||||||
interior = interior
|
interior = interior
|
||||||
);
|
);
|
||||||
|
pr = pitch_radius(pitch=pitch, teeth=teeth);
|
||||||
attachable(anchor,spin, two_d=true, r=pr) {
|
attachable(anchor,spin, two_d=true, r=pr) {
|
||||||
polygon(path);
|
polygon(path);
|
||||||
children();
|
children();
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,240];
|
BOSL_VERSION = [2,0,241];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user