Itoo Software Forum

Author Topic: Simple paving with 3 different sized segments  (Read 181 times)

Dean

  • Newbie
  • *
  • Posts: 16
Simple paving with 3 different sized segments
« on: October 16, 2017, 03:38:07 PM »
Hello,

I have a question, which I can't figure out.

I have a pavement, made up of various sized stones, which are the same width, different lengths. What I want to do is randomise these in rows to fill an area.

I have 3 segments (circled in red), and a railclone object. I'm using the randomise element, but as you can see (circled in blue), the stones don't align with the previous one, instead it appears to keep to a grid formation based upon the size of the largest segment.

So how do I go about tweaking the railclone to remove these gaps?

Thanks,
Dean

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1385
Re: Simple paving with 3 different sized segments
« Reply #1 on: October 16, 2017, 03:56:10 PM »
Hi,

It would be recommendable to align it with the local RC's X axis direction - in our Getting Started with RailClone guide (under chapter 9 - Create your first 2d array) you can find 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." Hope that helps.

Best regards,

Dean

  • Newbie
  • *
  • Posts: 16
Re: Simple paving with 3 different sized segments
« Reply #2 on: October 16, 2017, 06:10:46 PM »
Thank you, that's worked! :)