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:

## Revolute Joint API

4 REPLIES 4
SOLVED
Message 1 of 5
382 Views, 4 Replies

## Revolute Joint API

Hi F360T,

Just stumbled on ... unexpected behaviour in revolute joint reporting API.

I have created asBuiltJoint with

- maximumValue = 0  deg.

- minimumValue  = -16 deg

- rotationValue     = -8

as  visible in F360 respective dialog boxes ...

the API returned

...rotationLimits.maximumValue =  0  rad                           so.  0.000000 * 57.29577951308232 =   0.00000 ... just perfect

...rotationLimits.minimumValue  = -0.279253  rad             so. -0.279253 * 57.29577951308232 = -16.0000 ... good enough

....joint.rotationValue                 =  6.143558   rad             so . 6.143558 * 57.29577951308232 =  352.000 ... ???????

Well, technically -8 deg is equivalent to 352 deg so Pythagoras would not complain, although for people going in circle it would be 344 deg difference.

Also, for mathematical purists  6.143558   is out of range of <min= -0.279253,max=0>, as 352 is out of range of <min= -16,max=0>

Such, seems to 'belittle' inconsistency breaks quite basic customs and as such might lead to unforeseen  results ... as it did in my case ...

It costs time,...depletes adrenaline's store and have an effect on precious scalp hairs (... in some cases).

With Regards

MichaelT

MichaelT
Tags (1)
4 REPLIES 4
Message 2 of 5

Hello,

I cannot create an AsBuilt joint with the values you mentioned. Could you please share the detailed steps how to create it? In Fusion UI, the rotation value will be set to 0 deg if you give invalid value outside (-16, 0).

"- maximumValue = 0  deg.

- minimumValue  = -16 deg

- rotationValue     = -8"

Thanks,

Marshal

Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 3 of 5
How TO DO?
Create a simple design with a revolution asBuiltJoint.
Change the joint min_max_limits using UI.
Change the joint position using UI joint_Drive input.
Create a simple script querying the joint prams as stated in my previous post.
Check the numbers with those I supplied.
I will appreciate yours shared results.

With Regards
MichaelT

MichaelT
Message 4 of 5

Hello,

I cannot still reproduce what you were saying according to the steps. I recorded what I did as below and would like to know if I did something different. It would be great if you can record a video to demo the issue. If it is data specific issue, please share me your problematic design.

http://autode.sk/2v3MvD8

Thanks,

Marshal

Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 5 of 5

Thank you Mr. Tu

for your "check out'. There is "bad and good" news at the same time.

It seems the last update fixed the issue. I am however on the lookout,.. The "mouse trap" has been set and if something is caught, I will get back to you.

With Regards

MichaelT

MichaelT
Tags (2)

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