Hey im trying to do a 3D printed Pattern that follows a picture by taking the darker parts of the Picture and Pulling the Waves of the vase mor out. Anyone here able to help a Grasshopper newcomer? 250505_Druck-Visualisierung_Weven.gh (17.9 KB)
Right now you are using a method that is nice but does not give you the kind of freedom needed to map values (from an image) to the amplitude of the waves. The solution is a bit more complicated.
What you can do is to get the points on each layer and get the Normal vector (perpendicular vector), a way to do this is to get the cross product between the tangent vector at each point and the Z axis. Then you can control the depth of each wave by scaling this resulting vector and using it to move each point.
The tricky parts are 2:
Controlling the data structure to properly flip the vectors to get the weave effect.
Knowing how to correctly map the image to the surface to control scaling and position.