• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD 2010/2011/2012 DWG Format

    Reply
    Active Member
    Posts: 7
    Registered: ‎03-08-2012
    Accepted Solution

    Hose with fixed lenght...?

    290 Views, 11 Replies
    03-08-2012 02:12 AM

    Hi,

     

    Does anyone here knows if it is possible to set a fixed lenght to a "Hose" hanging from one point to another?

     

    So that when hang-off point's are adjusted (any direction) the hose act pursuant to the fixed lenght.

     

    Thanks

    JP

    Please use plain text.
    *Expert Elite*
    3wood
    Posts: 616
    Registered: ‎03-25-2009

    Re: Hose with fixed lenght...?

    03-08-2012 04:20 AM in reply to: JimCad10

    Please try command LASTC in ADDLINES.vlx

    You need draw one or more line / pline representing the hose from its start first, but stop before the last part.

    Then use command LASTC to draw a circle with the radius which made up the total lengh of hose.

     

    3wood

    CAD KITS

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎03-08-2012

    Re: Hose with fixed lenght...?

    03-08-2012 06:41 AM in reply to: 3wood

     

    Thank you!

     

    I'm trying the LASTC command, maybe I do wrong. Does not do it.

     

    Please see the attached file if I can use the LASTC for it.

     

    (I need the "C" point to automaticly follow when I move point "A" or "B")

     

    JP

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎03-08-2012

    Re: Hose with fixed lenght...?

    03-08-2012 06:45 AM in reply to: JimCad10

     

    Arrgh, the attachment don't open!

     

    Try this then

     

    JP

     

     

    Please use plain text.
    *Expert Elite*
    3wood
    Posts: 616
    Registered: ‎03-25-2009

    Re: Hose with fixed lenght...?

    03-09-2012 01:49 AM in reply to: JimCad10

    Sorry I misunderstood your inquiry. LASTC doesn't work in this scenario. Acturally to achieve your target, it may need more inputs, such as the radius of the arc? the angle between two straight lines? the pulling direction (can be invert even with Point A and Point B defined), etc. So it won't be a very quick solution except you can simplify above factors.

     

    3wood

    CAD KITS

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎03-08-2012

    Re: Hose with fixed lenght...?

    03-09-2012 02:41 AM in reply to: 3wood

     

    Okey. Thanks.

     

    So there has to be done some...scripting job to have this done automaticly?

     

    Please see updated sketch.

    And we can set A as the only moving point, strait up or down.

     

    Br

    JP

    Please use plain text.
    *Expert Elite*
    3wood
    Posts: 616
    Registered: ‎03-25-2009

    Re: Hose with fixed lenght...?

    03-09-2012 03:41 AM in reply to: JimCad10

    Thanks for the nice illustration.

    Can we assume that,

    1. Point B is fixed.

    2a. Radius is fixed as shown, or

    2b. Two straight parts are always vertical and radius varies.

    3. Arc part is always below Point A and B (because of gravity?)

     

    The routine to realize it I can imagine will ask for two points, A & B, then draws a pline from B downward, makes a half round turn to A.

    Is this want you want?

     

    3wood

    CAD KITS

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎03-08-2012

    Re: Hose with fixed lenght...?

    03-09-2012 03:59 AM in reply to: 3wood

     

    I confirm:

     

    1. B is a fixed point.

    2. Radius is fixed.

    2b. Straight parts are always vertical, radius does not varies.

    2b. Arc part is always below Point A and B,because of gravity.

     

    (The routine to realize it I can imagine will ask for two points, A & B, then draws a pline from B downward, makes a half round turn to A.

    Is this want you want?)

     

    Jepp, thats what I want.

    And when I move point A, up or down, the arc, and the line from B down to arc, act accordingly.

     

    Br

    JP

    Please use plain text.
    *Pro
    nestly
    Posts: 1,283
    Registered: ‎09-03-2010

    Re: Hose with fixed lenght...?

    03-10-2012 06:10 AM in reply to: JimCad10

    Dynamic Block

     

    Draw the hose as a polyline.  Use one linear parameter with two stretch actions.  1st stretch action moves "A" and the "end" of the hose.. 2nd stretch action moves the hose "loop" with a distance multiplier of .5.

     

    Additonal min/max distances can be specified to limit the movement range of "A"

     

    DynHose.gif

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎03-08-2012

    Re: Hose with fixed lenght...?

    03-12-2012 01:03 AM in reply to: nestly

     

    WOW, that definitiv seems like the solution!

     

    I'm trying to do what you explain, but I don't mangage to get it right.

     

    I do the hose like this:

    I start out with "PL", set a start point, type the length, continue with "A", then type diameter, at last I type "L" and type the lenght.

     

    Can you please be kind and explain in detail what you are doing?

     

    Thanks

    JP

    Please use plain text.