There is nothing available to parse DWG for free, but you should try using libdxf in the open source library to parse dxf files bitbucket.org/Coin3D/dime, coin3d is probably used for freecad or Ivan CAD Library ivancad. com, or DWGdirect , or just simply download the free dxf files at dxf1.com :)
source share