You have to wind the wire rope on the left at number 1 and then wind it again at number 2, is there a way to draw a curve and follow it?
-
$\begingroup$ have you tried with a Curve modifier for your rope? (also please avoid "help me" and "I'm going crazy") $\endgroup$– moonbootsCommented Feb 3, 2022 at 9:17
-
$\begingroup$ sorry, i'm don't speak english, so i missed here's rule. i never do that words $\endgroup$– MaldodookCommented Feb 3, 2022 at 9:21
-
1$\begingroup$ There is a tutorial for rigging a drawbridge here. Unfortunately the instructor is explaining the technique in English with a heavy French accent which you might find difficult to understand. $\endgroup$– John EasonCommented Feb 3, 2022 at 9:30
-
$\begingroup$ Another tutorial here. $\endgroup$– John EasonCommented Feb 3, 2022 at 9:57
-
$\begingroup$ The drawbridge toot fails to fix the chain to the spool (the coil slides along it) Check out one of the answers here $\endgroup$– Robin Betts ♦Commented Feb 3, 2022 at 12:43
2 Answers
add cylinder
R X 90
make sure your add-on is enabled
Shift A -> Curve -> Curve Spirals -> Archimedian
change settings like this:
Tab -> edit mode
select this vertex
E Z 8
Tab
Shift A -> Mesh -> Cylinder
Tab -> CTRL R
Tab
select Curve
CTRL A -> Location
select cylinder, add modifier:
enter 50 in z location, keyframe location on frame 1
enter 30 in z location , keyframe location at frame 50
result:
-
1$\begingroup$ Here I go, supplementing one of your answers again. I hope you don't mind. I'd written mine, when yours turned up and did the job. :) $\endgroup$– Robin Betts ♦Commented Feb 4, 2022 at 9:02
-
1
A couple of notes to add to @Chris's very comprehensive answer.
- If this is a friction drive, the animation of the cable is simple. It's just a translation of the cable along its deformation axis, down a static curve, by which it is deformed.
- The curve can be constructed to existing spools, by E extruding the ends of a Curve Spirals > Archimedean curve, taking the thickness of the cable into account:
- The distance the rope has to be translated per revolution of the large spool with a spiral diameter of
D
is strictlysqrt((D*pi)^2 + h^2)
, whereh
is the height per wind of the spiral. But ifh
is small,D*pi
will probably do. - The rate at which the small spool with diameter
d
must rotate isD/d
times the rate at which the large spool rotates.
If you need the animation to loop...
There are some added constraints, if you don't want miles of rope.
- The pattern on the rope must match at the beginning and end of the temporal loop. In the example below, the loop is at a 180⁰ turn of the large spool. Perhaps the easiest way to achieve the match is to make the cable an array of elements, each one of which has a length of
D*pi
(or, strictly, again, the expression above) and ensure a match between the ends of the elements, successfully merged by the Array modifier. - So there is no jump in the animation of the small spool, its visible features must loop at the same time as those of the large spool. Most simply,
d
can divideD
by a whole number.