Login  Register

Re: libdxfrw / librecad DWG import bug

Posted by Rallaz on Aug 30, 2015; 10:47am
URL: https://forum.librecad.org/libdxfrw-librecad-DWG-import-bug-tp5712096p5712103.html

Hi Michele,

The bug is due to diferences saving angles in dwg & dxf.

Rotation angle in Insert entity are saved in radians in DWG and in degrees in DXF.

In your test.dwg file I have noticed another issue:
The block "kfl08" are not linked whit the insert entity.

I send two patches one for angles and another for link.

To verify compile yourself or wait for a new daily build (the patches are in both master and 2.0 branch)

Cheers,
Rallaz