Rhino surface object is not valid

Hi. I’ve extracted some bad srfs from a polysrf but don’t understand what is wrong with it from the check report. Can someone please explain it.

Rhino surface object is not valid.
brep.m_E[317] edge is not valid.
edge.m_vi[0]=edge.m_vi[1]=314 but edge.IsClosed() is false.
ON_Brep.m_E[317] is invalid.
Rhino surface object is not valid.

Thanks
H

Generally this means that there is something wrong with your edge trims. Usually this can be fixed by untrimming the surface keeping the trim objects (curves), then re-trimming the surface with the curves. It may also be necessary to fix the trim curves before re-trimming.

2 Likes