A problem with a boxmorph, or with a module?

Hi everyone, I’m having a problem I can’t solve.

We have a university assignment where we need to create a module with randomized parameters, and then place this module onto a wall defined by two curves. I’m stuck on how to approach this and would appreciate any help.

At first, I thought the problem was in my module, so I simplified it. (now it’s completly different from my privios ideas)Now it’s just a cylinder with another cylinder inside that moves around, and the height is also adjustable. I added a sketch of how the module look and how i want it to look on wall.

I work in rhino 8 on windows. No addins or plugins used.
Attaching rhino and grasshopper file.

Thanks a lot)

Z2_Panel.gh (57.4 KB)

Z2_Panel.3dm (83.6 KB)

Dear Mariia,

See attached file and images. (I internalised the curves of your facade, so no .3dm file is needed)

Have a look at the red blob groups.
The left one is to solve an error. You used a rather complex way to get your object. But when it works it is OK. However, to join all what you made into a brep, it is not allowed to mix curves (circles) and surfaces. So I culled the two curves, and could turn it into a closed brep

For the panel, ( I have less experience), I guess it could be done easier to, but here the same: It works. From the boxes we only need 1 surface (I selected that with DeBrep + ListItem)

To get your object on all surfaces, I use Orient. This needs two planes, the base (XY-plane is default) and the Target plane. I used Evaluate Surface to find the “frame” = plane. And used Area + move plane to move it to the center.

Regards, Eef



Z2_PanelEW.gh (31.9 KB)

2 Likes

Dear Eef,
Thank you for your help. I actually wrote my request in desperation because I couldn’t get a consultation with my professor. But I finally did, and he said the problem was with my “Surface Box” on the curved surface - the height of the boxes wasn’t defined. He also made similar changes to my module as you suggested. So again, thank you for your help and the quick reply.

Regards, Mariia