Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D spline object to spline wrap via XPresso

  • spline object to spline wrap via XPresso

    Posted by Edvin Puzinkevich on March 7, 2019 at 10:57 pm

    Hi
    I have 2 Cloners one with the spline another with Cylinder+SplineWrap modifier
    I have these setup:

    for some reason it does not works, it looks like each Spline Wrap receiving first spline from cloner
    The Python script is simple and works (tested in another situation) :

    def main():
    global Output1
    Output1 = Input1.GetCache()

    Thank you for your help

    Edvin Puzinkevich replied 7 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Steve Bentley

    March 10, 2019 at 7:18 am

    You might be better to use the mograph selection node after the cloner node and get rid of the python node – its kinda overkill here (unless you have it doing something else in another section of code). I don’t see how you can iterate through the cloner with the set up you have. The mograph selection node has an index port where to can add an iterator node, which if needed can be used as an indexer for the python node too.

  • Edvin Puzinkevich

    March 11, 2019 at 2:22 pm

    Thank you Steve,
    I found way around

    it is not “ideal”, would prefer to keep everything in 2 Cloners…
    I did not have luck using mograph selection node unfortunally

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy