Re: DWG Support by Rallaz
Posted by gaganjyot on Jul 06, 2013; 5:11pm
URL: https://forum.librecad.org/DWG-Support-by-Rallaz-tp5707705p5708525.html
Hello Rallaz,
I am working on LibreDWG as GSoC project this year. This post regarding LibreDWG caught my attention.
Regarding point 3, I wanted to know why you considered there is an over usage of macros?
Actually I was creating functions to extract entities and for the 49 entities as in LibreDWG I had to create 49 functions because each function had a struct as return and return type was different based on entity. This caused very much repetition. My mentor "Rodrigo" one of the core developers of LibreDWG has guided me to again use macros to avoid repetition.
I seek your review and guidance on this.
Regarding your 4th point, I changed the load_dwg program according to my requirements and I tested it with example.dwg provided with LibreDWG on both 32 and 64 bits and got the same results.
--
Thanks
GaganJyot