# Itoo Software Forum

## RailClone => RailClone Pro (*) => Topic started by: Morne on October 04, 2018, 12:39:00 PM

Title: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Morne on October 04, 2018, 12:39:00 PM
Hi guys

I'm hitting a blank! I have a simple cube, along a spline spaced out on evenly 150mm. There are 3 sets of the the same cube on the spline. So set one should be the 1st 16 cubes, set 2 the next 16 cubes, and set3 the next 16 cubes and then it repeats. 1 Set not rotated, 2nd set rotated 45, and 3rd set rotated 90. How do I achive that???

.....it's a very long spline so easily 1000 cubes on a single spine

Any ideas???
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Rokas on October 04, 2018, 01:00:28 PM
You lost me after 150mm part:

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

Could You illustrate what You are saying ?
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Morne on October 04, 2018, 01:26:24 PM
Here's a simplified 3 set plan view where each set is only 5 cubes, instead of 16
arrrggg, can't figure how to upload an image to the forum, but in plan, basically the cubes (or rectangles) will look like this:

| | | | | \ \ \ \ \ - - - - - | | | | | \ \ \ \ \ - - - - - | | | | | \ \ \ \ \ - - - - - | | | | | \ \ \ \ \ - - - - -

the abovbe example is simplied with each set only containing 5 copies instead of 16

...and ideally it should work on any spline where I dont have to set spline segments or vertices for each set
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Rokas on October 04, 2018, 01:45:33 PM
You should use not evenly but default input with some padding for Box segment.
Then wire this segment to sequence operator 3 times and set their repeat values. Wire this sequence to Default input.
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Morne on October 04, 2018, 02:06:29 PM
WOW thats pretty cool, thanks!
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Morne on October 04, 2018, 02:39:03 PM
Hmmm spoke too soon. All works well, except the padding seems to be different between each set (even though I set 75mm left and right). The padding seems to be worked out from the outer edge of however each cube is rotated, and not from the center or pivot of each cube :-(
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Rokas on October 04, 2018, 02:51:11 PM
OK, for box segment set Fixed Size X = [size of Your box]  and uncheck "Scale Segment".
Title: Re: Simple object, Linear1S, but in 3 sets? (each set rotated on z slightly)
Post by: Morne on October 04, 2018, 03:11:08 PM
thanks, that works