Badly defined pcurves (that can lead to badly trimmed surfaces) can be identified using the Surface Tools tab > Fix panel > Badly Trimmed option. You can then analyze boundary data, by generating diagnostics to see where any problem areas exist.
To generate diagnostics:
This dialog displays details about trim boundaries (in Boundary edit mode) and pcurves (in Pcurve edit mode) on the selected surfaces.
A warning is displayed if the boundaries cannot form a trim region. If a corrupt boundary is found, you are told to either delete and recreate it or use the File Doctor.
This window also displays the following information about each boundary:
A closed boundary can be defined using the outer edges of its surface.
Open boundary.
Closed boundary (using surface edges to define a valid trim region).
Closed boundary.
As you can see in the figure below, we have a region that is both invisible
and visible
. Therefore, such a boundary cannot define a trim region.
You must edit the boundary to remove the loop.
A section of boundary 2 has zero area
check pcurve 3 around point 12
This is an approximate position of where the error is. The named point may not be the problem itself but the surrounding points are.