Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Berke on January 27, 2018, 03:25:39 PM

Title: randomized transform with one segment but no gaps
Post by: Berke on January 27, 2018, 03:25:39 PM
Hi,

Im trying to create a carpet pattern. What i want is to use one size segment only but array it with randomized transform without creating gaps. I guess its a very common question but i just couldnt do it.
Title: Re: randomized transform with one segment but no gaps
Post by: Michal Karmazín on January 29, 2018, 05:00:35 PM
Hi,

How the final style should look like?

Let me point out, that as mentioned in our Getting Started with RailClone (http://docs.itoosoft.com/display/RAILCLONE/Getting+Started+with+RailClone) guide (under chapter 9 - Create your first 2d array (http://docs.itoosoft.com/display/RAILCLONE/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."

Best regards,
Title: Re: randomized transform with one segment but no gaps
Post by: Berke on February 05, 2018, 09:59:09 AM
There is actually a single segment. But in each row the segment is randomly offset on X.  Looks like this:
Title: Re: randomized transform with one segment but no gaps
Post by: Michal Karmazín on February 05, 2018, 03:31:16 PM
Hi,

There are multiple ways how to archive it. A possible style set-up would be to use "randomly shifted" Segments by the Transform - X Fixed Translation linked to the Random Parameter set to Generate on Array Y Row. Another option would be to have in the Left Side slot of the Array 2S Generator "Randomly Sized" Segments (in the similar way as described above). Hope that helps.

Best regards,