Itoo Software Forum

Author Topic: Array 2S issues and suggestions  (Read 6502 times)

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Array 2S issues and suggestions
« 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)

« Last Edit: February 10, 2014, 06:28:25 PM by harumscarum »

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issues and suggestions
« Reply #1 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
« Last Edit: January 31, 2014, 05:21:17 PM by harumscarum »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Array 2S issue and suggestions
« Reply #2 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
Paul Roberts
iToo Software

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issue and suggestions
« Reply #3 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.

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issue and suggestions
« Reply #4 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

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Array 2S issue and suggestions
« Reply #5 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.
Carlos Quintero
iToo Software

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issue and suggestions
« Reply #6 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.

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issues and suggestions
« Reply #7 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?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Array 2S issues and suggestions
« Reply #8 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.
Carlos Quintero
iToo Software

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issues and suggestions
« Reply #9 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

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issues and suggestions
« Reply #10 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Array 2S issues and suggestions
« Reply #11 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:

  • Create a new arithmetic node and use this following expression (Input2/Input1)*100, where Input1 is the current Y Size of the segment and Input2 is the desired size.
  • Plug this into the exported Y Scale input of the segment


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

Hope that helps,

Thanks,

Paul.
Paul Roberts
iToo Software

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issues and suggestions
« Reply #12 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:



i believe it would be extremely useful to have Y size export parametr for segment if it possible
« Last Edit: March 08, 2014, 11:15:17 PM by harumscarum »

harumscarum

  • Full Member
  • ***
  • Posts: 113
    • harumscarum's portfolio
Re: Array 2S issues and suggestions
« Reply #13 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.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Array 2S issues and suggestions
« Reply #14 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.
Carlos Quintero
iToo Software