Thanks Roberto, 

We will have a look at this

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jul 3, 2014, at 4:07 AM, Roberto Minelli <roberto.minelli@usi.ch> wrote:

Hi,

I was trying Roassal3D and I need the simplest (and only!) grid layout that places elements on the XY plane.

Looking at both examples and class hierarchies it seems that the R3XYGridLayout should do, but as soon as you add an #height (I am expecting the height to go along the Z axis) to the R3CubeShape you got amazingly interesting results.

I also tried adding #depth and #width, I cannot understand how it works. :S

Here�s the code
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| view elements |
view := R3View new.
view camera translateUp: 5.
view camera rotateRight: 80.

numEls := 5.

elements  := OrderedCollection new.
(1 to: numEls) do: [ :id |
| el cube |
cube := R3CubeShape new.
cube height: id.
el := cube element.
elements add: el.
view add: el
].

(R3XYGridLayout new) gap: 0; on: elements.

view addInteraction: R3MKControl.
view open.
view
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Any help? Thanks a lot,
R