haplokuon / netDxf

.net dxf Reader-Writer
MIT License
966 stars 392 forks source link

Problem with AcDbPolyFaceMeshVertex #422

Closed oak377 closed 1 year ago

oak377 commented 1 year ago

Hello, I'm receiving a ArgumentOutOfRangeException: 'The polyface mesh faces list requires at least one face' generated by the PolyfaceMesh constructor. If I open the document with Autocad or other dwg/dxf CAD the file does not seem to contain any error so I'm wondering if it could be a condition not managed by the library.

The dxf file is the one attached

Prova_01.zip

Thanks a lot!

haplokuon commented 1 year ago

As the error suggested your file contains several Polyface meshes with unexpected bad geometry, next time they will be automatically removed. Soon I will upload an update.