Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: Pixelab on January 07, 2016, 04:04:40 PM
-
I'd like to make parquet floor with these constraints :
Board length : between 3200 & 4200 mm (not a problem, 3200 mm + random scale in Y between 100 & 135)
Board width : random between either 272 mm / 302 mm / 332 mm
The problem is that the randomize operator randomize "by element" thus randomizing in X & Y. But I want of course that all the elements with the same Y index have the same width...
I tried to modify the library parquet floor with no luck (even without doing the first X counter half length board) I'm sure the solution is really simple though ! (and pretty sure I've read somthing similar here but can't find the post either)
PS : To illustrate my need, The Vals Spa walls by Peter Zumthor are based on the same principle
(http://static.panoramio.com/photos/large/21132272.jpg)
-
Hi,
You should find the Random number parameter node will help you with this. It allows you to specify precisely when a random number is generated from either: at the start; for each segment; for each X Spline; for each X Spline section; or for each row on the Y axis. In this case it's the latter you want.
You could then wire this parameter to either the exported Fixed Size or Scale inputs of a Transform operator, or if you wish to use it to select segments you can use it wired to the Index of a Selector operator as shown below.
(http://i.imgur.com/v0ySRJ0.png)
I hope that helps, please let me know if you need anything further.
Cheers!
Paul
-
I knew it was simple !
Thanks a lot Paul !
-
No problem, glad it helped :)