Message 1 of 7
Model a compression spring that moves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've modeled a system that contains a slider and compression spring. My model includes a contact set that allows a pin and slot to retain the slider within an outer body, but now I'd like to be able to animate the assembly to see how the spring moves.
My spring was created with the revolve profile command, so I have access to the parameters that define that, and can modify the overall length to simulate compressing the spring.
Is there a way to get at either:
1) The distance between two faces programmatically so that I can then set the spring length based on that value
2) Find how far a slider joint has moved from its rest position so I can use that to set the spring length
Thanks,
Tim