Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Spur gear exception: Division by zero

Anonymous

Spur gear exception: Division by zero

Anonymous
Not applicable

Just a small bug repot.

When I tried to type a value in the Module which is less than 1

I start by selecting the full field, backspace to delete and start typing 0.

at this moment I get a division by zero exception because I didn't complete

typing the number. The exceptions pops up multiple times, making

it almost impossible to type in the value.

The only way is to type the value somewhere else copy and paste in the field.

 

Vasilis

0 Likes
Reply
240 Views
1 Reply
Reply (1)

JeromeBriot
Mentor
Mentor

Hello,

 

you can use fraction to specify modulus lower than 1: 5/10, 6/10, 8/10…

 

You can also modify the script SpurGear.py (the file has read-only permission by default)

 

At line n°389:

 

if result[0] and result[1] > 0:

 

At line n°448 :

 

if result[0] == False or result[1] == 0:

But these modifications will be lost during the next update of Fusion 360. So you have to modify the lines again until the author fix these issues.

 

0 Likes