How can we map random geometries to either a MultiSurface or a SingleSurface?

Have you ever had a Samgak gimbap?

I made a Onigiri (call Samgak gimbap in Korea) with Dynamo + Fusion and printed 3d printer.

I’d like to share important steps for realistically arranging rice grains onto a curved surface

[1] Dynamo can perform geometry mapping more naturally and easily when working with a Single Surface

  1. Now, here’s the triangular curved surface created in Fusion 360 and the rice grains easily generated using Dynamo.

  2. This is the most common method I use when placing random points on a surface.
    Here, the Point.PruneDuplicates node allows you to extract only points that maintain a certain minimum spacing from one another, removing duplicates or points that are too close.


    녹화_2025_03_22_21_30_50_971녹화_2025_03_22_21_35_40_881

  3. To represent rice grains randomly lying flat on the surface, I’ve rotated their coordinate systems randomly around the surface normals.

  4. Now it’s finally time to scatter the rice grain we created earlier onto the many points of the triangular curved surface.
    Using CoordinateSystem-to-CoordinateSystem is straightforward, but keep in mind that the axis orientation of the rice grain itself is crucial.


[2] Then, what would happen if we apply this same Dynamo graph to a MultiSurface object?

  1. I’ve imported the MultiSurface object that I created earlier in Fusion.

  2. However, you’ll encounter the following issue:
    녹화_2025_03_22_22_08_36_245
    Dynamo provides highly useful features such as Data Levels and List Matching, allowing geometry mapping onto multiple surfaces simultaneously. However, it’s not advisable to apply these features to such a complicated graph.

  3. Here’s a very useful solution to this problem:
    Create a single node dedicated to data matching.
    That’s exactly what Custom Nodes are for!


  4. RandMapToSrf is Custom Node I made. Now, you can input multiple surfaces into this node all at once!

  5. By default, the lacing option is set to Auto, which usually provides the desired result without any adjustments.
    However, it’s essential that you test this yourself since changing the lacing option to Shortest,

[3] Now, my final tip for you is about how to create a Single Surface
Using Autodesk Fusion (formerly Fusion 360)'s Form workspace, you can easily create curved surfaces.

If you’re interested in modeling curved objects, I highly recommend exploring Fusion—it’s definitely worth your time! :slight_smile:

3kim.dyn (77.3 KB)
SingleSrf.sat (10.5 KB)
MultiSrf.sat (87.4 KB)

4 Likes

Amazing work as always!

1 Like