Avneet Kaur wrote
Why new library is made for librecad2 ??
Because previous library is not maintained and I no can send patches.
And license (GPL 2 only) are bloquing the LC future
Avneet Kaur wrote
Is previous one not doing the same work ??
No, the new are more complete
The old only supports ascii dxf R12 and 2000
The new supports R12, 2000, 2004, 2007 & 2010
in both ascii and binary.
The new also supports ellipse andpolyline hatch boundary, vports and more
Avneet Kaur wrote
Where is new library and it's documentaton ??
Last code:
https://github.com/LibreCAD/LibreCAD/tree/master/libraries/libdxfrwHeader files are documented and, as example use, read:
https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/lib/filters/rs_filterdxfrw.cppAlso you can download as independant code from:
http://sourceforge.net/projects/libdxfrw/and build with standard ./configure && make && sudo make install