Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Adam86 on March 11, 2021, 10:42:50 PM

Title: Aluminium Glazing - Adjustable horizontal bar
Post by: Adam86 on March 11, 2021, 10:42:50 PM
Hi guys, i'm trying to get this middle bar to be controlled ideally via a percentage across X - right now I'm using a tutorial I found here - https://www.youtube.com/watch?v=UHDF_f0JNkg

altho that tutorial was designed to split it cleanly in half, I want to be able to control the % with a parameter. I don't really use Array Gens so i'm over my head a little! any help would be great thank you.

Is the expression correct for the purpose of what I am trying to do or does it need to be adjusted to work with %?

return if(YSplinePosition==0,3,
if(YSplinePosition==1,1,2));
Title: Re: Aluminium Glazing - Adjustable horizontal bar
Post by: Rokas on March 12, 2021, 12:03:22 PM
Hi. You can make the style by exploding bottom, top and default to indovidual L1s Generators and combining them into master:

(https://i.imgur.com/ZbWN6rJ.png)

Here is concept demo:
(https://i.imgur.com/JhrYgqk.gif)