Itoo Software Forum

Author Topic: how to slide everything left or right  (Read 4533 times)

lukx

  • Full Member
  • ***
  • Posts: 118
    • lukxCGI
how to slide everything left or right
« on: May 27, 2013, 12:47:22 AM »
I'm probably doing something wrong but I have stadium with stairs and seats on round spline. I need everything to look symmetrical. So I want for example 5 chairs in line > 2 stairs > 5 chairs etc ... but I want stairs to be in the middle of the spline . How I can slide things around lef or right without changing seat spacing or stair spacing?
I tried to use  Transform Translation in X but that when using curved spline things get squeezed and doesn't just slide .

example before translation:



and after :(
« Last Edit: May 27, 2013, 01:14:36 AM by lukx »

lukx

  • Full Member
  • ***
  • Posts: 118
    • lukxCGI
Re: how to slide everything left or right
« Reply #1 on: May 27, 2013, 09:14:45 AM »
Here's sample scene in which I want things to be symetrical.
« Last Edit: May 27, 2013, 09:26:41 AM by lukx »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: how to slide everything left or right
« Reply #2 on: May 27, 2013, 09:34:05 AM »

Are you using an Array generator ? What Y mode: free or aligned ?  In any case, it's difficult to get the effect you like applying translations.

If the position of each element is critical, i would suggest using a Linear generator with multiple splines: one for each segment of stairs and seats. In this way you can define exactly the limits. This method requires a while to build the parallel splines, but it is much more exact.

Carlos Quintero
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: how to slide everything left or right
« Reply #3 on: May 27, 2013, 09:49:58 AM »

Here is other approach using arrays. I used the stairs as Evenly segment.

Anyway, the result is not completely correct, because the outer rows should have more seats. You can fix it setting the array on "Free" mode, but in this case some seats would be sliced, if they don't fit in the spline.

Carlos Quintero
iToo Software

lukx

  • Full Member
  • ***
  • Posts: 118
    • lukxCGI
Re: how to slide everything left or right
« Reply #4 on: May 27, 2013, 10:25:39 AM »
Carlos I need to use one spline because it's complicated model and I need to control many rows with just one spline.
So second option looks good but I need to control how many stair (box) and seats (sphere) there is. How can I achieve this?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3319
    • iToo Software
Re: how to slide everything left or right
« Reply #5 on: May 27, 2013, 11:28:22 AM »

Just adjust the evenly distance, until you get the desired number of seats without slicing them. Or alternatively, using your Sequence solution, modify the padding between seats to get a symmetric distribution (checking it visually).

Carlos Quintero
iToo Software

lukx

  • Full Member
  • ***
  • Posts: 118
    • lukxCGI
Re: how to slide everything left or right
« Reply #6 on: May 27, 2013, 12:24:39 PM »
I created composite with tow stairs and now it's okay :)