Bending Machine output: B angle sign

Bending Machine output: B angle sign

dnicolini
Enthusiast Enthusiast
991 Views
6 Replies
Message 1 of 7

Bending Machine output: B angle sign

dnicolini
Enthusiast
Enthusiast

Hello All,

 

In Autodesk Inventor tube&pipe, there is a option called bending machine output that allows to export data into two differents formats.
In "YBC" format how can I understand via API the sign of the "B" value of the angle? I found the value from the angle between the normals of the arcs but I can't understand how to find if the angle is positive or negative.

 

Thanks. 

Regards,

Dario

0 Likes
992 Views
6 Replies
Replies (6)
Message 2 of 7

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi @dnicolini,

 

Can you please provide sample tube and pipe assembly file? if files are non confidential one.

 

May I know Inventor version also that you are using?

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 7

dnicolini
Enthusiast
Enthusiast

Hi @chandra.shekar.g,

 

In attachment you will find a simple pipe. Inside you can find a YBC file exported by Inventor 2018. There are 2 angles: one positive and one negative.
I'm able to calculate the value of angles but I can't understand how to find the sign.

 

Thanks,

Dario

0 Likes
Message 4 of 7

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi @dnicolini,

 

In LRA or YBC format, Common method of defining tube shapes when bending is involved. Complements XYZ measurements. Uses three elements to define shape: DBB, DOB, and POB.

Y / L / DBB: distance between bends; where one bend ends and another starts to curve

B / R / POB: plane of bend; rotational relationship between one bend plane and the next; defined in degrees

C / A / DOB: angle of bend, measured in degrees

For more details about bending geometry, go through the attached PDF file.

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 5 of 7

dnicolini
Enthusiast
Enthusiast

Hi @chandra.shekar.g,

 

thanks for documentation. I understood the meaning of the "R" angle. I found its value with the normal of the previous curve and the following curve. I can't understand how to know if the angle is clockwise or anti-clockwise with only SketchEntity informations.
What I need, if possibile, is the math formula to understand the trigonometric direction.

 

Thanks,

Dario

0 Likes
Message 6 of 7

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi @dnicolini,

 

In a bending machine, rotation can be done only from 0 deg to 180 deg. In order to cover whole 360 deg angle, positive and negative angles are comes into picture.

 

Clockwise would be 0 to 180 deg

Anticlockwise would be 0 to -180 deg.

 

Tube bending.JPG

 

In the above image, trying to explain about bend rotation and bend angle.

 

At Front view, if the bend is above the centerline(Clockwise), then bend angle is positive. Otherwise, bend angle is negative (Anti-Clockwise).

 

Similarly in Top view, if the rotation is towards right(Clockwise), then bend rotation is positive. Otherwise, bend rotation is negative (Anti-Clockwise).

 

Sample part and drawing is also attached with this post.

 

Please feel free to contact if there is any queries.

 

If solves problem, click on "Accept as solution" / give a "Kudo".

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 7 of 7

aswinsharingan
Explorer
Explorer

I have a assembly file .iam with tube and pipe segment in it. In contains few Run and within each run there are few routes .Is it possible to Download bending machine for all tubes at once without opening individually each run .

0 Likes