Sporph Not Sporphing



Hi everyone! To summarize, I can’t get Sporph to actually map the geometry I’ve provided from the base surface it’s on to the target surface I’ve inputted. The original input is a (non-capped) rectangular extrusion, and I want the mesh generated from each face of the extrusion to be mapped back onto the corresponding face of the original extrusion; it works for one face but for the remaining it just leaves them on the base surface instead of transferring them.

The script I’m actually working with is a little more complicated than what I’ve attached here, but just as a test to make sure there was nothing wrong with the components I had in the middle I internalized the Brep/Mesh values and kept only the beginning components (& the Sporph component), which proved that the issue was still persisting. Even if I explode the original extrusion and provide each surface separately, Sporph still doesn’t work correctly.
Sporph Fail.gh (1.1 MB)

It helps to reparametrize the surfaces and provide a UV point with two coordinates.

In fact, you could also just take one of the meshes, the four surfaces seem to be the same and use orient to translate a single mesh from a XY plane to four surface frames.

Sporph_orient.gh (1.2 MB)

I started following those instructions in my original script and immediately the Reparametrize surfaces route resolved my issue before I even finished making the other adjustments. Thank you :slight_smile:

1 Like

If you hover the mouse on the Parameter input, it actually shows you to provide a point in U,V coordinates…

Yeah, my previously successful scripts included a default XYZ coordinate (0,0,0) which worked fine before. Even now just reparametrizing the surfaces in the Sporph component while keeping the same XYZ coordinate I had before resolved the issue perfectly.