Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: lebonmarie on March 15, 2016, 10:01:38 AM

Title: circular paving
Post by: lebonmarie on March 15, 2016, 10:01:38 AM
Hello !
I will like to make circular paving stones, but I don't see how to take to me there.
Can you help me?
Thank you  :)
Title: Re: circular paving
Post by: Paul Roberts on March 15, 2016, 11:24:44 AM
Hi!

Thanks for the question. Please see the attached files for a couple of approaches to this type of style, they both use more-or-less the same techniques:

- Connect the circle spline to the Generator's X Spline input.
- Set the Generator's  Properties > Geometry > Y Mode option to Free
- Increase the Y Size parameter to set the radius of the circle.
- To randomise row offset you can wire a Random Number node to the X Fixed Translation input of a Transform operator(see circle tiles 2014.max)
- To switch to small tiles as the tiles approach the centre use a Conditional Operator and check for the current Segment Y Counter number (see dallescirculaires.max)
- I'd also use a Material operator and/or and UVW Xform operator to randomise the materials.

(http://i.imgur.com/vke5jdE.png)

I hope that helps, please let me know if you have any further questions.

Many thanks!

Paul
Title: Re: circular paving
Post by: lebonmarie on March 23, 2016, 10:21:10 AM
Hello,
I realized my pad, but we can see that our overlap. Why ?
Thank you
Title: Re: circular paving
Post by: Paul Roberts on March 24, 2016, 10:24:25 AM
Hi,

This is because despite being a closed spline the array still needs a start and an end point. In the current version the segments do not divide exactly into radius of the circle so they either get sliced or overlaps if you've turned off Slice.

The solution is to use Adaptive mode which scales the segments so that they fit into the path but in order for this to work the segments need to all have the same length on the X axis. To get around this you can pre-compose combinations of segments so that they're the same length. In the attached example I've used these combinations:

(http://i.imgur.com/C1SZMb0.png)

Now that they're the same length you can change the Generator's mode to adaptive

(http://i.imgur.com/hbgMPKf.png)

And the segments will scale to fit correctly.

I hope that help.

Many thanks!

Paul