I have a fairly simple question, but I still have a hard time decoding what to do.
I am working on a script that uses curves to generate woodconstructions, this technically does not matter for my question, but whatever.
I am wondering how you create scripts that works just as well with datatrees AND single items, that are technically flattened.
The problem I’m stumbeling into is that my script works just fine if I’ve drawn let’s say 5 curves to work with, but whenever I want to use just 1 curve, my whole script changes, since now it’s not a datatree, but just a single curve.
Depends on the script. Often a merge node is useful because if some inputs are missing it doesn’t matter - you still get the outputs of whatever is still connected.
You don’t need Bubalus to offset curve or Threesloth to Shift Paths.
I don’t have any test machine nearby to install those. I have a strict policy to keep my library folder as clean as possible (the policy of many users). Sorry.
Can you simplify it somehow to illustrate the problem?
As you can see in the panel in your screenshot, the datastructure seems to mess up, by putting a lot of branches on some of the items, even with “simplify” turned on.
How am I supposed to keep the datastructure streamlined, for multiple AND single items?