This is the first practice of parametric. My 2D interior is about the relationships. The first relationship is about hexagon and surface. The second one is about hole and curvature and the third one is thickness and curvature, so I got four variable quantities, which are surface changing, size & numbers of hexagon, size of holes and thickness of every pieces.
For the curved surface, I divide the control points in to four groups which control different parts of surface, so you can control the surface through changing these four elements. However, how to put hexagon on the surface is a very difficult step. In grasshopper, I use discontinuity and deconstruct vector to achieve that, so if you want to change the number and size of the hexagon on the surface, you can just change the grid.
For the size of hole and thickness I use planar to look for the centers of every hexagons and to find the curvature of centers, and use it to become the variable quantity of holes and thickness. Then I use remap to control the size of hole and use multiplication to control the thickness.
I use these 4 variable quantities to control the final works, but I still have a question about the thickness and vector. The extrude comes from the front and back. I know it may because of the curvatures, which are plus or minus. I was wondering if there is a way to make them all plus?