1. Data conversion failed from Curve to Surface

I am having trouble trying to fix the script. It keeps giving me this error when i try and connect my offset curve loose to my surface. I am trying to make a Morphed Housing Window for my building, and this is the script to do it. My lines are curved so the YouTube tutorial can only help so much since there lines are linear. How do i fix this error and how do i go about it from here. Also is Offset curve loose the correct command to use in this instance?
WINDOWS.3dm (130.3 KB)
WINDOWS.gh (18.6 KB)

Implicit conversion only works for planar curves. For non planar curves you can use EdgeSurface.

WINDOWS.gh (12.0 KB)

You can also use Panel Frame component from Lunchbox plugin.


WINDOWS.gh (8.1 KB)

Thank you so much. how do I add thicknesses to the mullions and add the finishing touches to the windows? Is it Amplitude or something. I’m making windows but there isn’t any thickness to the mullions and surfaces itself. Can you show me how to do that as well on the same script?

You can use Offset Surface component.