Cinema 4D Python scripts designed for random purposes
- C4D-Unity-180BoneY.py: Simple script to get your model into Unity 3D with axis pointing in the right direction. This solves the Z-axis pointing in the wrong direction issue. Does Right hand Y-up (C4D) to Left hand Y-up (Unity).
- Run as a stand-alone script
- C4D-Iterate-Hierarchy.py: Boilerplate template to iterate over Cinema's Hierarchy.
- C4D-Generate-Point-Cloud.py: Generates and Updates an object (
pointCloud
) from another object (parentObject
) and all of its children. Points/Vertices can be taken from primitives, editable objects, and even MoGraph cloners. Use thepointCloud
object for whatever your needs. - Run as a XPresso node to pass in both objects (see documentation at the top of the
.py
file)
Open up Cinema 4D...
Scripts->User Scripts->Run Script...
Scripts->Console...
In the XPresso window, Right click: New Node->XPresso->Script->Python
You can do what you want under the condition of: