Grasshopper

generative modeling for Rhino

# Foam Pattern

Hello to everyone,
im a design student, and i was trying to make a parametric Acoustic-FOAM pattern

but i didnt find way to create it yet. Did someone have an idea how it can be done on a double curved surface or even on a sphere?

regards

Tags: foam, pattern, sphere, wave

Views: 1147

### Replies to This Discussion

So in a plane this looks pretty close to the graph of the equation z = sin(x)*sin(y). On a surface, this translates to w = sin(u)*sin(v). You can adapt that to W (the surface normal direction) = B*sin(2*pi*a*U)*sin(2*pi*a*V) in order to allow for a variable magnitude in the W direction (the B factor) and to ensure that the pattern repeats seamlessly if your base surface is periodic (the 2*pi*A factor). See the screenshot for how exactly to put all that into grasshopper.
Attachments:
Dear Andrew Heumann,
i am going to try your definition. I will let you know.
Thanks a lot for the help. I really appreciate.
hello Andrew,
I found this discussion very interesting and i went on to try you definition.. you happend to have a multiplication component connected to the move compenent.. when i tried it..I had to add a constant vector X for it to work.. Do you know why.. ( i have attached an image)
Attachments:
ah, I should have mentioned - I am running grasshopper v.7, so it is possible to use the same multiplication component on multiple data types: numbers, vectors, etc. If you are running the 0.6, to really match this definition, the trick is not to add a unit x vector but to replace the multiplication component going into the move component with a vector multiply instead. The point is to take the surface normal (which has a magnitude of 1) and multiply it by the results of the formula I mentioned.
I figured that might had been the case..you have the updated version of GH..I usually like to wait a couple of weeks before downloading a new version to avoid any "bugs".. you are right, I missed that component.. " vector multiply" but thanks for the replay..

what is the command with "exp" on it, is it still part of the newest version of GH and if not how do I replace it, still rather new to this! thanks!

Thanks to everyone, i really like this pattern. I wanted try it on 2 curved surface because usually we see it on flat surface. i will try those definitions and i will let you know as soon as possibile, but from the images seems you got really close to the real one.
thank you again.
Hello,
i have tried today with the Andrew definition first and i got this result:

the pattern is very nice (the only strange thing is that my B entry has 5 of value but the height of the pattern is lower than the Andrew try that has a value around 2)

but i got a problem on nurb sphere connection:

anyone had same problem or am doing something wrong?
regards
Hello,
I have tried on flat surfaces to see where there was something wrong, seems that on a flat surface 2 side get the wave shape of the function. Does someone has any advice to correct this?

are you trying to just imitate the shape of those surfaces?

.....because i did for my thesis a parametric surface that was meant to be applied as an acoustic absorber panel.....the surface i did, react with recorded sound (not in real time) and "moved" using the Frequency and Intensity of sound, so that the panel can achieve the necessary thickness to absorb cirtain sound waves.

my aproximation was based on a rectangular point grid and then move the Z vector with the data....and the surface was conformed by the "SrfGrid" component.......so you could try "culling" points on a grid to move them...and then do some surface deformation to adapt the surface to a shape
Yes i just want to replicate it but i wanted to use it on any kind of surface from the flat one to the double curved surface, but as u see i got that problem.

• View All