Itoo Software Forum

Author Topic: Aluminium Glazing - Adjustable horizontal bar  (Read 720 times)

Adam86

  • Jr. Member
  • **
  • Posts: 55
Aluminium Glazing - Adjustable horizontal bar
« 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));

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Aluminium Glazing - Adjustable horizontal bar
« Reply #1 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:



Here is concept demo:
Rokas