You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linear spring acting as line force between `frame_a` and `frame_b`.
270
270
A force `f` is exerted on the origin of `frame_b` and with opposite sign
@@ -284,23 +284,35 @@ additional equations to handle the mass are removed.
284
284
# Arguments:
285
285
- `c`: Spring stiffness
286
286
- `m`: Mass of the spring (can be zero)
287
-
- `lengthFraction`: Location of spring mass with respect to `frame_a` as a fraction of the distance from `frame_a` to `frame_b` (=0: at `frame_a`; =1: at `frame_b`)
287
+
- `lengthfraction`: Location of spring mass with respect to `frame_a` as a fraction of the distance from `frame_a` to `frame_b` (=0: at `frame_a`; =1: at `frame_b`)
288
288
- `s_unstretched`: Length of the spring when it is unstretched
289
289
- `kwargs`: are passed to `LineForceWithMass`
290
290
291
+
# Rendering
292
+
- `num_windings = 6`
293
+
- `color = [0,0,1,1]`
294
+
- `radius = 0.1`
295
+
- `N = 200`
296
+
291
297
See also [`SpringDamperParallel`](@ref)
292
298
"""
293
-
@componentfunctionSpring(; c, name, m =0, lengthFraction=0.5, s_unstretched =0, kwargs...)
0 commit comments