Revolute Joint API

Revolute Joint API

MichaelT_123
Advisor Advisor
613 Views
4 Replies
Message 1 of 5

Revolute Joint API

MichaelT_123
Advisor
Advisor

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
Accepted solutions (1)
614 Views
4 Replies
Replies (4)
Message 2 of 5

marshaltu
Autodesk
Autodesk

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 Developer
>
0 Likes
Message 3 of 5

MichaelT_123
Advisor
Advisor
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
0 Likes
Message 4 of 5

marshaltu
Autodesk
Autodesk
Accepted solution

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 Developer
>
Message 5 of 5

MichaelT_123
Advisor
Advisor

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
0 Likes