Box morph: bake multiple geometries in multiple layers

Hi! I have multiple geometries in bounding box component and i used box morph for repeat it over a surface. I need help, because when i bake it, all the geometries are in the same layer, but i need that it respect the layers of the initials objects.
For example i add some image:


![SUEFACE BOX|500x500](upload://bdiwnx

8qjhtq3YCtmPzw6P0D1eL.jpeg)

box morph multilayer.3dm (1022.7 KB)

:
BOX MORPH EXAMPLE.gh (8.6 KB)

1 Like

Unless you are planning on doing some more complicated morphing, surface morph is sufficient and you don’t really need box morph. I changed your definition slightly.

Baking to multiple layers can be done with Elefront:

bake.gh (21.6 KB)

2 Likes

Hi Martin!
Thank you so much for your help. Im modeling a residential building with a complex surface and i have to distribute over it, some groups of facades elements that have different layers.

best
Jota Pe

1 Like

Thanks for the reply, Jota Pe.

I thought I’d add an elefront tag to your topic so other users can find the example when they decide to use the search function. I’m not affiliated with Elefront but I’m using the plugin for many years and it is a great toolset when dealing with larger datasets or repetitive experimental work.

The layer probably should be named Klemmbaustein

Hi Martin!
sorry im again. im working in a new example and im trying to use the same solution of the other, but again, i can´t bake the objects in differents layers. can you say me where is my mistake?

THANKS!
JOTA PE


FACADE BAKE ERROR 1.gh (11.2 KB)


FACADE BAKE ERROR.3dm (203.4 KB)

I can’t verify the tree structure of your morphing output since I’m not using Lunchbox and Pufferfish.

Actually you might just need to graft the attribute input in the Bake component. You always have to provide matching geometry and attributes.

Check my definition for a morph solution with native Grasshopper tools.

FACADE BAKE.gh (22.2 KB)