Mesh vs Srf HELP

Hi everyone! I am working on a project which goal is to set up a computational script in order to develope a custom liner for transtibial prosthetic socket. I need to create a diamond pattern scaled on the base of the pressure zones (as in the reference image). Right now I am working on a surface, on which I applied a LB diamond pattern and then lofting operations. But, since the scans are provided in mesh format, I had to convert it in surface by slicing the mesh and lofting the curves i was wondering if it’s possible to obtain the same result as I got with the LB diamond pattern, but directly on the mesh (2nd image), since at the end I want to apply a catmullclark to smooth the liner.

file?

SOCKET2.gh (988.3 KB)

I need to give you a bit of context before: The goal is to create 3 different pad inside the socket that’s why you can see at the end of the script a grouping distance based workflow. Furthermore, since I need to create a diamond pattern, I thought the best way could be to create the surface, paneling it and then convert the diamond in mesh, so should be easier to work with them. But let me know since I don’t really understand when to use meshes.

SOCKET2 Edited v0.gh (684.2 KB)
Honeycam 2026-05-17 09-24-22

This is next level, amazing! What’s the goal of this kangaroo solver?

It is for making the quad more even, or you could say relaxing the mesh tension.

SOCKET2 Edited v1 solid.gh (705.9 KB)
To make it solid with controllable edge roundness

@Quan_Li This preview mode is kinda nice, is it one of @Rhino_Bulgaria modes? mind sharing?

MatCap.zip (4.9 MB)
Thank you! It is just a MatCap added to the Environment.
I forgot if I used the .ini files from @Rhino_Bulgaria, but that would be a good idea. Modes like Crackdown in that thread are very good.


Thank you for sharing!

What’s the purpose of rebuilding the curve here based on the divisions’ lenght? It’s a matter of precision and adherence of the curve on the mesh?

I think maybe it is better to use evenly distributed smooth nurbs curves for guides.

What do you think of using this loop to rebuild the curve on mesh with more accurate adherence and then split the mesh with the resulted?

hmm…

What is that please :melting_face: That can not be good

What do you suggest?

The one the left is the result I obtain using the script you can find attached. Btw I am looking for a result that looks like more like the one on the right, that I got using Launchbox diamond pattern, starting from the mesh that I recreated as a srf slicing it and using a loft. However, with the second workflow I don’t know then how to re-merge the pattern on the surface because I want to keep the surface smooth. How can I obtain something like this but using the mesh?

SOCKET2.gh (1.1 MB)