Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: Anthony Lester on April 06, 2021, 02:06:38 PM
-
Is there a way to extract the x and y attributes of a clipping plane used to generate an array.
I would like to use this information to specify a fixed Y dimension of an segment so that it scales to the full height of the clipping plane, similar to the Default segment rule of scale.
I would also then like to use the info to use within an expression to determine the aspect ratio of the clipping spline so that I can determine a specific material ID.
The clipping spline always be rectangular, it will in effect be a window frame
Thanks in advance
Anthony
-
Sorry, I didn't see your attachment but here is an example.
Edit: either way I can`t open it due to the Max version. Can you please downgrade it to 2018.
-
That's the ticket, I had tried the x/y spline length in a n expression but not as a nested array
Many thanks
Anthony
-
Glad to help.
Since you can set the Default mode to Scale only on the "X-axis", to prevent unnecessary segment count, please, pay attention to Side segments ("Y-axis") and try to calculate Fixed Y size for those elements.
-
... like this...
-
Thanks,
Yes That is what I have done, I have also been able to get the aspect ratio as well from the two expressions and using that to select a range of materials.