Itoo Software Forum

Author Topic: Simple/coplicated 2D array  (Read 3441 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Simple/coplicated 2D array
« on: January 30, 2018, 11:44:32 AM »
Hi,
My current project is distributing a mobile phone covers on panels as shown on img1.

My idea is to use 10-15 various 3d cover models (different shapes and sizes) and  25-50 different bitmaps to randomly apply.

I`m using simple boxes to set up my RC generator.

I try to use A2S >>Extended Clipping Area for distribution arrea.
My idea is  to evenly distribute models on x/y direction by setting  numbers of Rows and Columns. Cant make it happend :(
I try to use Evenly method (work only for one direction).
Then I try to use Default and set the fixed size to be length of the X/Y spline divided by number of Columns/Rows divisions . So I get a `virtual frame boxes` that covered my Clipping area.
When i turn off the Scale segment to get original size for the segments I cant get the right alignment to put those segments into the center of `virtual frame boxes`.
So, as newbie, I`m run out of ideas how to setup RC generator.....

What will be the best RC generator (random models + random colors, division by Column/Row number, everything distributing on Clipping Areas)
Also I may expect to individual segment be align to the bottom as shown on img2

Best Regards
Dragan

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2475
Re: Simple/coplicated 2D array
« Reply #1 on: January 30, 2018, 12:21:00 PM »
Hi Dragan,

A possible set-up would be to use the Default input. Adjust the Fixed Size of used Segments as needed, having the Scale Segment option unmarked, to create the "virtual grid" and set the Alignment of these Segments to Center. Attaching a sample scene. Hope you'll find it helpful.

Best regards,

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Simple/coplicated 2D array
« Reply #2 on: January 30, 2018, 12:43:27 PM »
Hi Dragan,

A possible set-up would be to use the Default input. Adjust the Fixed Size of used Segments as needed, having the Scale Segment option unmarked, to create the "virtual grid" and set the Alignment of these Segments to Center. Attaching a sample scene. Hope you'll find it helpful.

Best regards,

Hi Michal,
Thank you for fast reply. I try that but I could not set the `master` alignment of generator to be on the center of the Clipping Area. 
So I try to setup division by expression to divide XSplineLength by # of Columns and YSplineLength by # of Rows to mach the size of virtual grid to Clipping Area. Only problem is that segment refuse to align to the center of individual `virutal grid box`.

Best Regards
Dragan