Itoo Software Forum

Author Topic: Problem with random legth on wall cladding  (Read 564 times)

DS2694

  • Newbie
  • *
  • Posts: 8
Problem with random legth on wall cladding
« on: February 21, 2024, 03:25:34 PM »
I'm currently facing a challenge in creating wall cladding with three different plank widths (fixed sizes of 50, 100, and 150 mm) while incorporating random lengths. While I've successfully managed to use three different planks for the width, I'm encountering issues with gaps when attempting to randomize the length scale. I tried to use random on the hight scale. Here's my current setup. Any suggestions on how to resolve this issue would be greatly appreciated.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Problem with random legth on wall cladding
« Reply #1 on: February 22, 2024, 08:41:03 AM »
Hi,

First, let me mention that in our Getting Started with RailClone guide (under Create your first 2D array), you can find the following rule for building 2D arrays:

Rule 2: To avoid gaps, segments should be the same Y length: Because the A2S array is a stack of L1S generators, if you use segments with unequal sizes on the Y-axis in a row, the overall height of that row is determined by the tallest segment. The row directly above will be positioned after the tallest segment and gaps will appear.

To avoid it, a possible style setup would be using the Sequence Operator in the Increment at Y mode where just the lengths will be randomized for a specific height. That should do the trick.

I hope that helps.

Best regards,

DS2694

  • Newbie
  • *
  • Posts: 8
Re: Problem with random legth on wall cladding
« Reply #2 on: February 22, 2024, 09:11:56 AM »
Thanks, I'll give it a try