MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

Re: Extrude along MOTION PATH with rotations

COW Forums : Maxon Cinema 4D

VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Sam Treadway
Re: Extrude along MOTION PATH with rotations
on Oct 30, 2019 at 5:18:13 am

I'm not sure I follow. Have you tried MoExtrude?
Actually I think I know what you mean and did a fun little experiment.
This whole setup could be combined into an eXpresso Rig using Instance objects as internal placeholders.
A Python script is also possible...but another day maybe.

Here's a simple (convoluted) approach assuming you want to extrude a polygon along a path:

Destructive but clean in the end method:
While on frame zero, center a null on the polygon and animate the null with all the banking you want.
Go back to Frame zero.
Select the polygon and in the viewport: right-click and choose "split".
Drop that polygon that you just split off as a child of the animated null.
Create a Mograph Tracer and drop that split polygon object into the "Trace Link".
Set the trace mode to "Trace Paths" and make sure Trace Vertices is turned on.
Other settings: Limit = none, Type=Cubic, Intermediate points=natural.
Play through to the final frame and stop.
Select the Tracer and perform current state to object.
Add in a MoGraph Fracture object and make the tracer splines a child.
Set the Fracture mode to "explode segments" and then do a current state to object.
Now Create a Loft Nurbs object and move the splines in the Fracture(null) as children of the Loft.


A non destructive method if you wish to keep the animation of the extrusion:
Center a null on the polygon and animate the null with all the banking you want.
Go back to Frame zero.
Select the polygon and in the viewport convert the selection from polygons to edges.
Perform an Edge to Spline operation.
Drop that new spline a child of the animated null.
Create a Mograph Tracer and drop the edge spline object into the "Trace Link".
Set the trace mode to "Trace Paths" and make sure Trace Vertices is turned on.
Other settings: Limit = none, Type=Cubic, Intermediate points=natural.
Now create a Loft and and MoSpline.
Make the MoSpline a child of the Loft.
Set the loft to loop=on/true.
Set the MoSpline to "Spline" mode.
On the Spline tab, drop the Tracer object into the spline source field.
Count how many edges the extruding polygon has.
Set the end value of the MoSpline to 100 divided by the number of edges (4 edges to 25%).
Duplicate the Mospline so you have one for each edge (4 MoSplines for 4 edges)
Now set the offset value of each MoSpline object to (100/Number of edges*(Current edge Count-1)) (first edge = 0%, 2nd = 25%, etc.)
Now back to the edge spline that is a child of the animated null: put it as a child of an extrude object (still under the animated null) and set movement to 0,0,0.
This will be the cap of the extrusion.
Now Create a Connect object and make the animated null and the Loft children of the Connect.
Set the Connect's Phone mode to "Average".
Press play and adjust the segments/subdivisions of the Loft as needed. Adjust the Loft's Phong tag angle limit to a lower value.

Was it helpful?


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]