mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-08 13:17:00 +02:00
Bugfix for involute gears #148
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user