Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Spur gear exception: Division by zero

1 REPLY 1
Reply
Message 1 of 2
vvlachoudis
148 Views, 1 Reply

Spur gear exception: Division by zero

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

1 REPLY 1
Message 2 of 2
JeromeBriot
in reply to: vvlachoudis

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.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report