I am hoping to either split the target mesh to obtain pieces of the ‘ribbon’, or leave the existing mesh untouched and create a ribbon-shaped mesh that conforms to the target mesh surface.
Either way works for me. I tried to convert the mesh to polysurfaces and do the split or boolean, but when the mesh gets larger, that will be very slow, if there is a way to operate just meshes, that would be great. My file is attached, thank you!
Is the projection (of your points) required or are you okay mapping your surface to the target mesh (no mesh splitting)?
If not required, you can rely on MeshMap + Sporph this way: SporphTrimmedSrf.gh (53.6 KB)
Essentially you’re transforming the untrimmed version of your ribbon surface, which then facilitates mapping your trimmed ribbon surface from base to target surface:
Same thing here, just a bit cleaner without moving the target mesh up (unless that’s important, in that case ignore): SporphTrimmedSrf_no-move.gh (52.9 KB)
Hi René Corella, I haven’t got a chance to dive into your scripts. But for your question, either a ribbon surface or a ribbon mesh will work. All that matters is a ribbon shape conforming to the target mesh. I’ll look at it and holler if I need help, but thank you as always for your help!
Hi René Corella, I worked on the script. I tried a more exaggerated mesh, and the final surface did not conform to it very well, as I don’t have enough surface points to map, so I added more points to it, and the result looks better
But there are still discrepancies, and it doesn’t help even if I add an excessive number of points to it. If this is due to the drastic surface curvature, and there are no good ways to fix that’s fine. Just want to learn if there is a way to project it more accurately.
I’m not sure I follow. What do you actually need? Do you want your shape to match 1:1 in a parallel view (top)? If yes, then Sporph isn’t the method perhaps.
The sporphin’ is working fine, but yes, higher surface distortion will affect results. I tweaked your surface rebuild slightly. Remember that Sporphis not a projection. Then for the mesh-split method, which is projection-like, the result is fine, but you need a different index to find the ribbon fragment.