Hammered metal effect onto the curved surface of solid or mesh models

Hi, beginner question. Is there a way to apply the findings from the following topics (stacked à the bottom of this post) dealing with creating a true (not a texture map) hammered effect onto the curved surface of a solid object with Grasshopper?

If I am not mistaken, all the examples in the thread below create a hammered effect onto a flat surface or similarly, the inner area within a curve delimiting a flat boundary. But let’s say that I have a solid 3D object instead (could be also a mesh by the way) and that it has a curved geometry like a donut (a torus) or even more complicated shape but always involving non-planar surfaces. Is it possible?

I am crudely thinking that the effect should act normally (perpendicularly) in each point of the surface to follow its curvature.

I am aware that if Voronoi is involved, the 2D version only works with rectangles, but this other topic shows that this limitation can be circumvented by using the intersection of 3D Voronoi with a surface:

@laurent_delrieu maybe?

The threads I already saw:

and a few others also related.

If you want to go fast, you can use a cellular noise texture, it is like 3D Voronoi (3 components from Nautilus plugin)

But you’ll need a high detailled mesh


What if the geometry has sharp edges, like a triangle revolved around a vertical axis (topologically analog to the torus made after the revolution of a circle)? With a twist or not (if a twist is in introduced the geometry generates an umbilic torus, which is peculiar because in this case the texture has also to loop seamlessly onto itself, this 3D geometry having only a single side, a single vertex, and no apex).

If you want better answer it could be good you post some geometry and show what you want. I am not sure a black-smith hammer sharp edges, because they no longer be sharp edges. But it could be taken into account not to hammer some parts.

Yes the effect should not touch the edge (like your last updated yellow model above by the way) or its intensity could alternatively diminish towards the edge while being maximum onto the area of the surface that is which is located in the middle, furthest from the edge.
You’re right, I should post a 3D model and we could iterate from there. I will prepare this and update the post.

when I did hammering (by hand, with a hammer) of a large sterling silver plate with inset bezels (to hold gemstones), I needed the contact area between the bezel and the plate to remain flat. So, by eye, I simply offset the closest hammer mark by about 1/2 the diameter of the hammer head from the edge of the area that needed to stay flat. This was about 1998? so before I was doing similar in Rhino. So now I would do similar, except offset a rectangle area from the edge that needs to stay flat, then approach the edge of this area with the ‘carve out’ hammer marks.

Just to say that I installed and loved your plugin. Congrats!