Itoo Software Forum

Author Topic: Rooftile alignment  (Read 336 times)

Pixual

  • Newbie
  • *
  • Posts: 10
Rooftile alignment
« on: May 27, 2021, 02:17:41 PM »
Hi all,

I've got a question about aligning rooftiles on two different angled adjacent slopes (see reference image, the red lines need to match).
The roofs are made using a clipping spline and the distance between the rooftiles on the left slope is fixed. The rooftiles on the other slope need to align with them.
Because this slope isn't starting at the same height it seems Railclone calculates the start differently. If I could somehow shift the whole plane with rooftiles it would be fixed. There is the option of using an offset in combination with a extend clipping percentage but then my verges are cut off (because of the extended clipping). And when I don't use extend clipping it creates a hole (Railclone doesn't fill this automatically?).

Maybe one of you got an idea for a solution.

Thanks in advance!

Jakob de Vries


Dragan

  • Hero Member
  • *****
  • Posts: 879
Re: Rooftile alignment
« Reply #1 on: May 27, 2021, 02:25:00 PM »
Try with style using a Linear generator.
https://youtu.be/6nH3zdqy4I4?t=54


Dragan

  • Hero Member
  • *****
  • Posts: 879
Re: Rooftile alignment
« Reply #2 on: May 28, 2021, 09:05:40 AM »
Edit: sorry I just pay attention and see you have different angled slopes. Well, on both approaches you can set different Mat ID to subsplines and add some transforms to manually offset/rotate. You can use either more generators with Limit ID or you can go with one generator and use Conditional/Selector operators to `limit` matID.

Pixual

  • Newbie
  • *
  • Posts: 10
Re: Rooftile alignment
« Reply #3 on: May 28, 2021, 10:38:35 AM »
Hi Dragan,

Thanks for your reply! The first solution didn't work for me because the slope also starts at a different height. So connect them would result in skewed lines.
We just found a solution in the script we already made. We aligned the bottom of both slopes so it starts at the same point.
The script was already set up to manually change the distance of the rooftiles on the right slope, so once the alignment was in place we could fix the problem.

Thanks for your thoughts anyway!

Greetings, Jakob de Vries