Spring / Actuator
Add a spring, damper or actuator between points.
- Ribbon: Motion › Loads
- Guide: Simulation
In the app
A spring, damper or actuator along the line between two points. Stiffness and damping make a spring-damper (a suspension, a return spring); an actuator push makes a cylinder that pushes its ends apart with a constant force (its pressure times its area). The second end can be on a fixed body to anchor it in space. It acts when a Motion Study includes masses and forces.
How to use
- Choose Spring / Actuator. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick First end (a face, circle or edge on a part) (face, edge, any object).
- Pick Second end (on another part, or on a fixed body for a point in space) (face, edge, any object).
- Adjust the settings and check the preview in the viewport.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Stiffness | 1 N/mm | 0 to 1000000000 N/mm |
| Damping | 0 N·s/mm | 0 to 1000000000 N·s/mm |
| Actuator push (negative pulls) | 0 N | -1000000000 to 1000000000 N |
| Free length is the current distance | On | |
| Free length | 100 mm | 0 to 1000000000 mm |
Script it
Command name motion_spring. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("motion_spring", slots={"First end (a face, circle or edge on a part)": ..., "Second end (on another part, or on a fixed body for a point in space)": ...}, stiffness=1, damping=0)