ITOOSOFT Forum
RailClone => RailClone Pro (*) => Topic started by: IT1371 on October 30, 2023, 09:45:59 am
-
So I have a rather simple yet complicated for me question.
I have two generators inside a single RC object:
- Linear 1S - with line001 connected to the Spline slot.
- Array 2S - with line002 connected to the Clipping area slot.
I need an Arithmetic operator which controls a segment on Linear1S to pull data from line002 and run a calculation on it. Yet it doesn't seem to recognize it because in no point they are connected.
Is there a way to make it work? to reference the Arithmetic operator to a different spline within the RC object?
-
Hi,
I am afraid that's not currently possible, an arithmetic array can only evaluate the attributes of a generator to which it is attached. Depending on what you want to achiever there may be a hack. For example you can create a third generator that uses Line001 with a simple box in the Default input, wire this to a Transform node so that it doesn't actually create any geometry and you can then export the X,Y, or Z size and use that anywhere in the graph. This would give you spline length, but only if the spline was straight.
If you can provide more details of what you want to achieve, I might be able to help further.
Best,
Paul
-
you mean it won't work is the spline is closed?
Because i'm interested specifically in data from Line002 which is a closed spline and I need 1/2 of one of its Y sections.
-edit-
your hack suggestion worked great! thank you!
-
Great! Glad to hear that helped out :)
Best,
Paul