Calculate the length of pipe/bar

Calculate the length of pipe/bar

artem.kolchyk
Participant Participant
501 Views
4 Replies
Message 1 of 5

Calculate the length of pipe/bar

artem.kolchyk
Participant
Participant

Hi to everyone!

Please help me from what to start in order to get pipe or bar length. It can be not a VBA code (i need some overall steps and the rest i will do myself)

For example i have some pipe(tube):

1. This pipe was created manualy (sweep or extrude etc. - nobody knows) not in piping env.

2. There are some banding radiuses 

3. The ends of this pipe can be cuted with some angle.

What i need : to know what exactly pipe length i need to buy in order to make this banded and cuted pipe. 

My thinking: 

1. Maybe to start playing with Volume and Mass prop. But in this case i need to know the Area of flat end(not cutted end). Any ideas how to find exact flat end's Area?

2. It is possible (what i found) to get internal radius of banding via create the axis and measure the distance beetween this axis and face (see attached snapshot)

3. Use the results of face's measerements (area, points, position etc)Screenshot_4.png

0 Likes
502 Views
4 Replies
Replies (4)
Message 2 of 5

artem.kolchyk
Participant
Participant

Added:

4. Also possible to get major and minor radiuses. 

Screenshot_5.png Screenshot_6.png

0 Likes
Message 3 of 5

alikhan.ganayev
Enthusiast
Enthusiast
I guess my first question would be for you to share the .ipt file. Also, why would you need ilogic for this? I'm a little confused. This seems quite do-able if you share the ipt file. Thanks
0 Likes
Message 4 of 5

bradeneuropeArthur
Mentor
Mentor

Convert the pipe to sheetmetal.

Give the thickness of the sheetmetal the diameter. Now you have a flatpattern with dimensions 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 5

artem.kolchyk
Participant
Participant

Here is my pipe

0 Likes