I am trying to generate a from finding script for a shell i have developed in grasshopper to identify the most ideal from based on the curves inputted. But I cannot understand how to use the middle curve and their points as seen in the images to attribute to surface generated using the periphery curves.
How do I fix this?
It’s good to clarify what you mean by the “most ideal” form in this case.
A common type of structural shell form-finding done with Kangaroo is funicular or hanging chain modelling, making use of the principle that a hanging shape all in tension can be flipped to give a structure which will act in pure compression, which can be useful for masonry structures without the capacity to resist bending.
However, that cannot apply here because you specify boundary constraints with an overhang which would not be possible as a purely compressive structure.
Another common type of form-finding is tensile or membrane, where you want a shape with negative Gaussian curvature everywhere. You could find such a shape with these curves as boundaries, but I’m guessing that’s not what you are after, as you talk about a shell.
If you want a smooth shape which passes through those curves (not necessarily optimised for a specific structural purpose), then it looks like the file just posted by Quan Li above is suitable.
If instead you want to look at structurally optimised mixed compression/tension shells, then it is not easy with Kangaroo, and I suggest you look instead at Masaaki’s plugin here:
I am imaging it to be a timber grid shell, but I first want to develop the form based on the base shell/surface I have created. I imagine it to be a structure optimised to undergo compression as well as tension.