mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +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]] : []
|
||||
)
|
||||
) attachable(anchor,spin, two_d=true, r=pr, p=pts);
|
||||
) reorient(anchor,spin, two_d=true, r=pr, p=pts);
|
||||
|
||||
|
||||
module gear2d(
|
||||
@ -301,6 +301,7 @@ module gear2d(
|
||||
backlash = backlash,
|
||||
interior = interior
|
||||
);
|
||||
pr = pitch_radius(pitch=pitch, teeth=teeth);
|
||||
attachable(anchor,spin, two_d=true, r=pr) {
|
||||
polygon(path);
|
||||
children();
|
||||
|
@ -8,7 +8,7 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,240];
|
||||
BOSL_VERSION = [2,0,241];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user