6 Replies Latest reply on Jun 15, 2012 3:39 PM by robert dattilo

# Hose length calculation

Hello;

What is the best way to calculate hose length of uniform diameter in SolidWorks?

Thanks, in advance for any input;

Rob_D SW2012 sp3

• ###### Re: Hose length calculation

How was the hose created?

Can you not measure the "path"?

• ###### Re: Hose length calculation

The hose is a sweep of a constant profile in a simple 2/d plane, but i haven't found a real simple way to just click and get a length of the hose, or sketch path, so far.

Thanks,

Rob_D

• ###### Re: Hose length calculation

I did something along these lines for measuring electrical conduit.

In the hose path sketch, create dimensions for every segment. Where the addition of a measurement will create an "over-defined" condition, set the dimension to driven. If you have curves create an arc length measurement. Save the sketch.

Create an equation. Set the variable (something like Hose_Total_Length) equal to the lengths of all the dimensions in the sketch added up. You can build the equation by making the sketch visible and then just clicking on each dimension to fill in the equation. It might look something like:

Hose_Total_Length = D1@sketch1 + D2@sketch1 + D3....

It is a bit of a manual effort to set up, but it is parametric if you update any lengths in the sketch.

I then set a custom property equal to Hose_Total_Length and then drive a note in my drawing from that custom property.

Hope this gives you some ideas.

Daen

• ###### Re: Hose length calculation

If you select all of the lines that make up the path SW will put the total length down in the lower right corner, see image.

*edit - If you do not see this status bar you can turn it on under the view pulldown.

• ###### Re: Hose length calculation

In the sketch for your path, select all the lines then go to tools-spline tools and select fit spline. You can select the spline and get the length.

• ###### Re: Hose length calculation

Hello;

Yeah that's a couple of great ways to accomplish what I was looking for.

Thanks to all for Input;

Rob_D