×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Controlling Spring Length in Assembly

Controlling Spring Length in Assembly

Controlling Spring Length in Assembly

(OP)
I want to control the length of a spring in an assembly by having that length related to the distance between two components (one static and one movable).

I remember back in my Pro/E days that I could create an equation that made the length of my helix equal to a measurement of the distance between the two components that the spring was between. Then when I moved one of the components the spring would compress/extend realistically.

Is something similar possible in SolidWorks? I have searched the site extensively and haven't found a solution to this exact problem.

For reference, I have created the spring by using the following method. I started by offsetting a plane from the right plane in the model. I then created a circle on the right plane to represent the OD of the spring. I then created a helix using this circle (Height and Revolution). Then I created a circle on the front plane for the profile. Next I swept the profile along the helix. Lastly I created an equation equating the length of the helix to the distance between the planes. Therefore, I can change the distance between the planes and my spring length updates nicely.

In my assembly I mated the right plane to the static component and mated the offset plane to the movable component. I would like to be able to drag the movable component and have the spring update either dynamically or upon rebuild. Unfortunately, once I mate the spring to the movable component, it no longer becomes movable.

Any help would be greatly appreciated.

RE: Controlling Spring Length in Assembly

Lots of video tutorials HERE

RE: Controlling Spring Length in Assembly

Hi, ssmithdigilab:

Use top-down approach.  Create your spring with incontext between two components.

Good luck!

Alex

RE: Controlling Spring Length in Assembly

(OP)
I am not familiar with the term "in the context of an assembly". I have seen people mention "in-context" a number of times and don't know what that means. Can someone please explain this to me and describe how to use it? I have searched the help file and haven't been able to figure it out.  

RE: Controlling Spring Length in Assembly

From the SW Help file:

External vs. Defined in Context
External – A relation that is "External" is a relation between a sketch entity and something outside of that sketch. This thing can be an edge or vertex within the same model or it can be an edge or vertex within a different model within an assembly.

Defined in Context – A relation that is "Defined in Context" is a relation between a sketch entity in one part and some entity in another part. This relation occurs within the context of the assembly.

Entities that are "Defined in Context" are listed as "External" because they have relations outside of the sketch. However, not all "External" relations are "Defined in Context" because they may be relations within the same part file.

Dan

www.eltronresearch.com
Dan's Blog

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources