Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: harumscarum on January 10, 2014, 03:41:05 PM

Title: Array 2S issues and suggestions
Post by: harumscarum on January 10, 2014, 03:41:05 PM
1 - is it possible to make Top Side segment aligned to the very top of Default segment - same as Bottom Side segment (1)

(http://cdn.joxi.ru/uploads/prod/2014/01/10/71d/ec5/2376319b5f6c2a167d74ae0b6bb06f4dc270f9a2.jpg)
Title: Re: Array 2S issues and suggestions
Post by: harumscarum on January 10, 2014, 04:14:50 PM
2 - is it possible to use Y spline with Compose node Top Side segment?  to be able to have two rows in top side of array via sequence or compose node
Title: Re: Array 2S issue and suggestions
Post by: Paul Roberts on January 10, 2014, 05:20:44 PM
Hi,

1 - Currently it is not possible to automatically scale rows in the array on the Y axis in the same manner as using default->adaptive/scale modes on the X axis, which would be required to achieve what you suggest. However if you are not going to curve the Y spline and you want to set a fixed number of rows with a top and bottom section you might want to consider using a Y dimension instead of a spline. Assuming you know the height of the default segment you could then create a simple parameter that multiplies the number of rows by the segment's height and then adds the combined heights of the top and bottom segments.

2 - This is tricky, the compose operator combines segments on the X axis and though it might be possible to manoeuvre adjacent segments with the padding and translation parameters, it's not an ideal solution. Unfortunately the sequence operator wouldn't work because there is always only one row of segments in the top slot, so the counter would never increase. I have found a nice workaround though is to combine an A2S and L1S operator together. Use the same spline and set the L1S generator's Z offset to the height of that A2S array will give you another top row. Again this would only really work if you didn't want to a curve on the Y axis.


I've attached a file to make both these techniques a little clearer.

Hope that helps
Title: Re: Array 2S issue and suggestions
Post by: harumscarum on January 10, 2014, 10:36:09 PM
wow! thank you very much!
i've got the idea and this is exactly what I need.
Title: Re: Array 2S issue and suggestions
Post by: harumscarum on January 31, 2014, 05:27:16 PM
it is possible to add Corner support for X Spline with same functionality as in Linear 1S?
i mean 3 new inputs - X Corner, X Top Corner and X Bottom Corner
Title: Re: Array 2S issue and suggestions
Post by: iToo on February 01, 2014, 10:31:55 AM
We developed this feature partially, but unfortunately we found many special cases that could not be solved, so internally it is disabled. I hope we can continue working on that for next updates.
Title: Re: Array 2S issue and suggestions
Post by: harumscarum on February 01, 2014, 01:26:23 PM
that is great!
if there is any way to test this feature I would be happy to help you in development.
now I run real block-of-flats building project which is 100% RailClone and it need to bend 90 degree so I may try this feature to add corner block to it.
Title: Re: Array 2S issues and suggestions
Post by: harumscarum on February 10, 2014, 06:40:31 PM
Array 2S use only X size to Slice segment. Is it possible to add Y size for that purpose?
Title: Re: Array 2S issues and suggestions
Post by: iToo on February 11, 2014, 12:43:48 PM
Sorry, i don't understand. Currently Array 2S slices segments on Y, to fit the length of the Y spline or the "Y Size" parameter, in case there is not a spline assigned.
Title: Re: Array 2S issues and suggestions
Post by: harumscarum on February 14, 2014, 09:56:38 AM
indeed. sorry, i must did anything wrong. just checked on new RC and everything working fine. thanks
Title: Re: Array 2S issues and suggestions
Post by: harumscarum on March 08, 2014, 08:07:45 PM
suggestion//

 - Y size override for segment (export parametr)

i need to control Y size of Default segment, so now i need to creare one more 2S array for that purpose. would be great be able to control it by Export Paramert in segment
Title: Re: Array 2S issues and suggestions
Post by: Paul Roberts on March 08, 2014, 08:28:52 PM
Hi,

To a certain extent this is already possible by exporting the Y-scale property of a segment. Of course this won't allow you to set a size in scene units but with a little workaround it can be done:

(http://lonelymonk.com/forum_images/1f50566dadcf4b769f28a1fc3672ef0c.jpg)

Using this technique you should be able to set any dimension for a segment using scene units.

Hope that helps,

Thanks,

Paul.
Title: Re: Array 2S issues and suggestions
Post by: harumscarum on March 08, 2014, 11:13:22 PM
thank you for your solution! but i'm afraid it is not my certain case.

here is what i intend to achieve:

(http://cdn.joxi.ru/uploads/prod/2014/03/09/d11/b92/ccee8b7987c5320e8fcba5baff9383a7f666870c.jpg)

i believe it would be extremely useful to have Y size export parametr for segment if it possible
Title: Re: Array 2S issues and suggestions
Post by: harumscarum on March 13, 2014, 04:27:32 PM
suggestion:

 - override segment size (manual bounding box)

now it is possible to shift Default segment down to Bottom Side by Padding, but need to ajust padding each time when dimension of Bottom segment changes.
would be very useful to control Z size of segment without affecting its scale.
Title: Re: Array 2S issues and suggestions
Post by: iToo on March 13, 2014, 05:56:29 PM
Quote
suggestion:

 - override segment size (manual bounding box)

now it is possible to shift Default segment down to Bottom Side by Padding, but need to ajust padding each time when dimension of Bottom segment changes.
would be very useful to control Z size of segment without affecting its scale.

This feature was in our to-do list for the latest update. But finally we didn't it because, in some cases, it was not clear how to compute certain values (i.e. what should be the segment's origin, when using "Pivot" alignment). We'll take a look to it again.