Spring Animation

Discussion in 'SolidWorks' started by bennywidag, Dec 10, 2007.

  1. bennywidag

    bennywidag Guest

    Hi

    Im a second year student doing a form of Automotive eng at Uni, and am
    doing my own suspension setup for a side project.

    I have modelled springs no problem, however a major part of what i
    wanted was to animate the spring damper unit extending and
    compressing, however i have searched continuously and have found
    nothing.

    Could anyone help, this is exactly what i want
    but i dont know how to get it. Before refering me to mike wilsons
    website please actually describe which component you mean as i cant
    find one on there that relates to springs like this.

    Thanks for any help

    Ben
     
    bennywidag, Dec 10, 2007
    #1
  2. bennywidag

    zxys Guest

    zxys, Dec 11, 2007
    #2
  3. Look at the Elliptical Spring on page 5. The underlying geometry is a normal
    helical spring. (He makes it elliptical by anisotropic scaling.) It looks
    like he uses equations to drive the helix. You could do the same, if you
    prefer that to Paul's approach.

    Jerry Steiger
     
    Jerry Steiger, Dec 11, 2007
    #3
  4. Jerry Steiger, Dec 11, 2007
    #4
  5. bennywidag

    jburtonSW Guest

    Not sure if this has been said already but I like to use the sweep
    command to do a helix.... stay with me... not the normal way...
    draw a line (the hieght) and a circle on the same plane (different
    sketches) make the centre of the circle inline with the bottom of the
    line.

    now use the sweep tool. the circle should be 90deg out from the normal
    way you would do a sweep.
    select the path and profile as normal. use the twist/orientation and
    choose twist along path.
    I use no of rotations but you can specify an angle too.
    The path line can be any shape you like... not just a line.

    You can drop this into and assebly and use incontext relations to
    relate the path (line) to other parts. or just animate the hieght of
    the line.

    hoep that make sense.
    Justin
     
    jburtonSW, Dec 11, 2007
    #5
  6. bennywidag

    Engineer Guest

    I used macro to change the height of spring and rebuild it. and then
    it looks like a actual spring working. If you need I can upload those
    files.

    Deepak
     
    Engineer, Dec 11, 2007
    #6
  7. bennywidag

    mgreiner Guest

    To keep it simple:
    Model a spring using standard method of helix and sweep command.
    Use equations to relate the height of the helix to the length of an
    incontext line in your assembly.
    The incontext line, in the case of a compression spring, references
    the gap between the two components between which the spring is
    installed.
    Animate the two components and the spring will update.

    Matt
     
    mgreiner, Dec 11, 2007
    #7
  8. bennywidag

    bennywidag Guest

    Im unclear on this, i have the files but its simular to my situation,
    there seems to be no inbuilt way of animating like in your video,
    which is exactly what i want. When i try to move the spring stays
    solid and the endplate moves up and down. Can you go through exactly
    what you did to animate it, step by step?

    Deepak, that would be great
     
    bennywidag, Dec 11, 2007
    #8
  9. bennywidag

    zxys Guest

    Maybe someone has a better way or a super fast computer with some
    super auto resolve processor running but for the spring to update in
    real-time or dynamically or after you just move the piston...I don't
    think it's gunna happen.

    For the spring to update after moving the piston rod, you have to
    REBUILD the model to resolve for the new spring height.
    You have to click on the Red/Green light icon, Edit/Rebuild or Ctrl-B.
    Again, it does NOT update automatically or dynamically or in real
    time.
    If you have Animator installed, just click on the Animator1 tab to see
    the frame settings... I'm just moving the piston down and up within 3
    seconds.

    Anyway, the spring geometry is as simple as it gets, no equations, no
    macros, no whatever,.. just good ole plain jane geometry, just like a
    spring would be wound and with mates driving the height change, as
    close to real would as you can get,.. it's not a perfect spring but
    close as simple gets.


    btw, the help speed rebuilds up,..
    - Change the Document Properties/Image Quality/... all to Lower values
    or what is visually tolerable.
    - Set to Lightweight
    - Turn Off "verification on rebuild"
    - and,.. get a super computer

    ...
     
    zxys, Dec 11, 2007
    #9
  10. bennywidag

    zxys Guest

    btw, animator will auto-rebuild per frame...
     
    zxys, Dec 11, 2007
    #10
  11. bennywidag

    bennywidag Guest

    Thanks that is brilliant, i am not working on adapting Jerry steiger
    ^^^'s spring, but cannot seem to relate the hieght of the spring to my
    components, he has used a external reference but there seems to be no
    way to edit this for my own part. Anyone know a solution?

    Thanks again

    Ben
     
    bennywidag, Dec 12, 2007
    #11
  12. bennywidag

    bennywidag Guest

    No worries, worked it out meself, Just had to delete the relation and
    make a new respective one for my part
     
    bennywidag, Dec 12, 2007
    #12
  13. bennywidag

    bennywidag Guest

    Oh, and thank you all, and i appoligise for my silliness in places :D
     
    bennywidag, Dec 12, 2007
    #13
  14. bennywidag

    Engineer Guest

    Engineer, Dec 15, 2007
    #14
  15. Paul,
    At SWx World I will be showing a real-time-updating-compression-spring-
    workaround based on this thread. I have a pretty slow computer at
    home, but on it I developed a 'better way' for animations that I can
    extend or compress while dragging the mated components. For those who
    can't go, a couple of solutions will be up on the Dimontegroup.com
    website a week or so after the show.
    Ed
     
    Edward T Eaton, Jan 10, 2008
    #15
  16. bennywidag

    zxys Guest

    Ahmm.... so,.. why can't you just post the data for us to see now???

    Why does someone have to go to a show to see this or wait until
    after??

    ...
     
    zxys, Jan 10, 2008
    #16
  17. bennywidag

    Engineer Guest

    Engineer, Jan 11, 2008
    #17
  18. Sorry, Paul - I'm just way too busy for the next week. After the show
    I have time to clean the models up and get them posted for download.

    And I agree - no need to go to the show. Since my first presentation
    I have shared everything with folks over our website.
     
    Edward T Eaton, Jan 11, 2008
    #18
  19. bennywidag

    neil Guest

    and very nice of you too Mr Eaton...looking forward to seeing the latest..
    ;o)
     
    neil, Jan 12, 2008
    #19
  20. bennywidag

    zxys Guest

    You very mean man, Mr. Eaton... ;^)

    ...


     
    zxys, Jan 12, 2008
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.