Itoo Software Forum

Author Topic: vertical panels with decreasing distance  (Read 2751 times)

M55

  • Newbie
  • *
  • Posts: 42
vertical panels with decreasing distance
« on: March 19, 2018, 02:13:51 PM »
i want to create vertical panels with decreasing/encreasing distance as in my example screen.

i have done the macro tutorial with encreasing rotation but can´t figure out how to adapt the process for decreasing distance

input value for the first distance and the decrease (linear or better logarithmic) should be possible




« Last Edit: March 19, 2018, 02:28:20 PM by M55 »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: vertical panels with decreasing distance
« Reply #1 on: March 20, 2018, 11:15:00 AM »
Hi,

You might find interesting this related thread.

One of the possible ways would be to define the X Size of an empty Segment (linked to the Sequence Operator) by the Arithmetic Operator – in a similar way you may drive the Left / Right Padding value(s). In case of using two Parameters (like Start Distance, End Distance as in the attached sample scene), the expression should be following:

return Input1 – (XsectionPosition*Input2);

Please feel free to use the bundled macro “Increment by X Position”.

In case, you’re interested in controlling the Z Size (or Z Scale), you can use the same principles to drive the Transform Operator. Hope that helps.

Best regards,

M55

  • Newbie
  • *
  • Posts: 42
Re: vertical panels with decreasing distance
« Reply #2 on: March 20, 2018, 11:30:53 AM »
Hi Michal,

thanks for the demo scene and the link to the cards thread. i will have a look at both and try to learn and learn and learn .... and some day ...

Klaus