Sporph Not Stretching Proportionally


I’m having trouble getting Sporph to proportionally stretch curves from my original surface to my target surface.

Here are my input curves (blue) and input surfaces (red):

Here are my output curves (blue) and my target surfaces (red):

What can I do to make the curves stretch to fill the target surface the same way they are filling the input surface?

Here is the script:
20221114 - Malfunctioning Sporph_re.gh (55.2 KB)

Any help would be greatly appreciated!

Try to rebuild your base curves.

1 Like

Hello Hyungsoon,

Thank you for the quick reply! By rebuilding the curves, do you mean this?

Unfortunately, I’m still experiencing the same problem…

The input curves are generated in Grasshopper. Here is the definition:
20221114 - Fractal Curves Definition.gh (34.1 KB)

(Sorry, the definition is a bit messy.)

Thank you for your help!

See the purple group.

20221114 - Malfunctioning Sporph_rev2.gh (55.9 KB)


for better understanding check this forum for
if the surface parameters of Base or Target Surfaces are not equally distributed you get those problems.

see for example here

cheers - tom

This sure fixed it.

It’s important, though, to explain to @o.strayer why you did what you did.

In this case, giving every curve the same number of points makes sense because all the curves are just different sizes of the same shape, right?

In a more complicated pattern, it could be more tricky to get good results out of a rebuild like this.

Can you explain why you diagnosed this as being a situation where rebuild would help?

The U&V space of target surfaces was determined by their base curves(control points distribution).

If you have target surfaces that have unevenly distributed U&V space, whereas the source surface is even, then the result of Sporphwould be distorted.

I have no idea whether the result(distorted) was intended or not in the first place.

1 Like

Thank you! The explanation helps a lot.

I was trying to maintain the spacing from the source curve to the target curve-- that’s why I made the source curve the same length as the target curve. I also see how Hyungsoo’s solution fixed it-- the different control point “structures” of the curves led to strange alignments.