Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Sergey_Dobrij on December 09, 2021, 01:30:28 PM

Title: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 01:30:28 PM
Hello everyone! Please tell me if there is an expression or a macro to individually move each column in the padding settings? I understand that the pattern is quite simple, but I am having problems with it. My head is spinning when it comes to padding.) I would be grateful for any help!
Title: Re: Simple but harmful pattern
Post by: Paul Roberts on December 09, 2021, 02:15:39 PM
Hi,

Please take a look at the attached. The simplest solution, in this case, was to do the following:

- Model the two sizes of tile, position them as they would be in the final pattern and then align their pivots.
- Wire them to a compose operator set to Group mode
- Add a Transform operator after the Compose node
- Adjust the Z-Rotation and the Right Padding until the gaps between the adjacent segments are closed
- Adjust to Top Padding to remove the gap between the rows. 
- Optionally, adjust the General>Clipping Area > Z Rotation property to align the rows. This could be the negative value of the Z rotation value used above.

(https://i.imgur.com/ZDXpIwR.png)

I hope that helps,
Paul.
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 02:27:18 PM
Hi,

Please take a look at the attached. The simplest solution, in this case, was to do the following:

- Model the two sizes of tile, position them as they would be in the final pattern and then align their pivots.
- Wire them to a compose operator set to Group mode
- Add a Transform operator after the Compose node
- Adjust the Z-Rotation and the Left Padding until the gaps between the adjacent segments are closed
- Adjust to Top Padding to remove the gap between the rows. 
- Optionally, adjust the General>Clipping Area > Z Rotation property to align the rows. This could be the negative value of the Z rotation value used above.

(https://i.imgur.com/ZDXpIwR.png)

I hope that helps,
Paul.
Hi! Thank you very much. I also walked roughly that way. But alas, to no avail!
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 02:30:02 PM
Hi,

Please take a look at the attached. The simplest solution, in this case, was to do the following:

- Model the two sizes of tile, position them as they would be in the final pattern and then align their pivots.
- Wire them to a compose operator set to Group mode
- Add a Transform operator after the Compose node
- Adjust the Z-Rotation and the Left Padding until the gaps between the adjacent segments are closed
- Adjust to Top Padding to remove the gap between the rows. 
- Optionally, adjust the General>Clipping Area > Z Rotation property to align the rows. This could be the negative value of the Z rotation value used above.

(https://i.imgur.com/ZDXpIwR.png)

I hope that helps,
Paul.

I decided to go this way. ( https://forum.itoosoft.com/railclone-pro-(*)/pattern/ )
Now I will learn a new way! :)
Title: Re: Simple but harmful pattern
Post by: Dragan on December 09, 2021, 03:27:20 PM
Hi,

Please take a look at the attached. The simplest solution, in this case, was to do the following:

- Model the two sizes of tile, position them as they would be in the final pattern and then align their pivots.
- Wire them to a compose operator set to Group mode
- Add a Transform operator after the Compose node
- Adjust the Z-Rotation and the Right Padding until the gaps between the adjacent segments are closed
- Adjust to Top Padding to remove the gap between the rows. 
- Optionally, adjust the General>Clipping Area > Z Rotation property to align the rows. This could be the negative value of the Z rotation value used above.

(https://i.imgur.com/ZDXpIwR.png)

I hope that helps,
Paul.

Yeah, I`m still amazed by this solution 3 years later!!!  ;)
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 03:54:45 PM
Tell me please. The easiest way to solve this problem is if I have a small piece of geometry with a larger width. I tried your way, but it is not intuitive. Or I do not understand something correctly :( Thank you!
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 03:56:59 PM
Hi,

Please take a look at the attached. The simplest solution, in this case, was to do the following:

- Model the two sizes of tile, position them as they would be in the final pattern and then align their pivots.
- Wire them to a compose operator set to Group mode
- Add a Transform operator after the Compose node
- Adjust the Z-Rotation and the Right Padding until the gaps between the adjacent segments are closed
- Adjust to Top Padding to remove the gap between the rows. 
- Optionally, adjust the General>Clipping Area > Z Rotation property to align the rows. This could be the negative value of the Z rotation value used above.

(https://i.imgur.com/ZDXpIwR.png)

I hope that helps,
Paul.

Yeah, I`m still amazed by this solution 3 years later!!!  ;)
Hi! I unfortunately did not know him). Live for 100 years - study for 100 years!
Title: Re: Simple but harmful pattern
Post by: Paul Roberts on December 09, 2021, 03:58:24 PM
Apologies, I don't think this little trick will work if the small tile is not also square.
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 04:00:17 PM
I repeated it again with square ones and it turned out, no problem!)
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 04:03:34 PM
I repeated it again with square ones and it turned out, no problem!)
It's a pity. For the second day I cannot find a simple and effective solution (
Title: Re: Simple but harmful pattern
Post by: Paul Roberts on December 09, 2021, 04:47:37 PM
Here's another version that uses some maths to calculate the padding required to offset each row. There's also an expression being used to calculate the angle, but you could just as easily set that manually by eye.

(https://i.imgur.com/9LMruMz.png)

Best.
Paul
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 04:57:47 PM
Maybe someone will come in handy). Made the simplest expression. That does not rotate in two places. And the tile always stays horizontal.
Title: Re: Simple but harmful pattern
Post by: Sergey_Dobrij on December 09, 2021, 04:59:03 PM
Here's another version that uses some maths to calculate the padding required to offset each row. There's also an expression being used to calculate the angle, but you could just as easily set that manually by eye.

(https://i.imgur.com/9LMruMz.png)

Best.
Paul
Paul, I'm really grateful to you! Thanks!