Came a cross a set of new bugs in the latest WIP, steps to reproduce:
-Create a new boundary surface in Grasshopper from curves
-Connect the Surface result into a custom preview component
(results in incorrectly flipped normals that you can not correct with the flip node or any other
method (that I could find))
-Connect the Surface result into a Model Object node
(results in the overall surface bounds being returned instead of the trimmed/shaped surface)
Please see the screenshots and attached gh file for your reference:
I have not looked at your file. But in the case of creating surfaces from planar closed curves, the direction of the curves matter. If you want your planar curves to create surfaces whose normal is in the world z-axis direction, make sure the curve’s direction is counter-clockwise to the world xy-plane.
Thanks @dale, I did check the curves with the Dir command and all of them were oriented consistently yet the boundary surface component yielded half Z positive and half Z negative regardless.
Oddly, after a computer restart the Boundary Surface component seems to be working fine again despite not changing anything in the script or model.
The Model Object component, however, is still returning the full rectangular bounding surface instead of the expected surface bounded by the referenced curves.
The baked surfaces will have their respective materials applied but completely ignore the trim data, thus overlapping the full untrimmed surface for each trimmed sub surface.
This example results in 7 overlapping untrimmed surfaces.