I just want to make surface flip normal , but Surface class do not have Flip() method.
How can I flip “Surface”(Untrimmed single surface) instance ?
I tried this. But it didn’t work.
private Surface FlipSurfaceNormal(Surface surface)
{
var brep = surface.ToBrep();
if (brep == null || brep.Faces.Count == 0)
{
RhinoApp.WriteLine("Error");
return surface;
}
brep.Flip();
var flippedSurface = brep.Surfaces[0];
return flippedSurface;
}