ACadSharp icon indicating copy to clipboard operation
ACadSharp copied to clipboard

Still throwing exceptions.

Open mattbrownfaro opened this issue 2 years ago • 2 comments

Hi @DomCR,

Looking MUCH better but missing objects. And throwing exceptions. ALFA Sportwagon-4 views.zip Snag_2104073d Missing wheels and other views of the car, but geometry looks great.

This drawing is throwing a lot of exceptions. I believe it loaded in a previous ACADSharp version 2140QUEENCITY.zip

Built DxfWriter-Full-refactor branch

Would you be interested in a development contract? We'd like to use this library in our fall release. It's close but still can't load a bunch of drawings that our current DWG library can. Please contact me at [email protected] if interested.

Thanks Dom!

Originally posted by @mattbrownfaro in https://github.com/DomCR/ACadSharp/issues/142#issuecomment-1659305567

mattbrownfaro avatar Sep 06 '23 16:09 mattbrownfaro

Hi @mattbrownfaro

The branch DxfWriter-Full-refactor is currently in development, all the exceptions are expected, when the task is completed and merge this should work fine the ALFA Sportwagon-4 views file.

About the 2140QUEENCITY is more complicated, the dxf writer that they used encoded the name of the model space in a funny way $MODEL_SPACE which messes up the way that ACadShrap finds it.

About the missing wheels, it seems that they are drawn with polylines, for some reason the ones that the writer is generating are not valid.

I'll open 2 branches to take a look to both issues.

DomCR avatar Sep 11 '23 16:09 DomCR

This issue seems to be bigger than I expected, the file that is failing is because is in an older version AC1009 which is not supported by ACadSharp at the moment, by now I'll add an exception to the writer to indicate that this version is not supported but it will take time do make the DxfReader compatible with it.

DomCR avatar Oct 27 '23 11:10 DomCR