Maybe something related to DXF reading, e.g. https://github.com/coin3d/dime or https://sourceforge.net/projects/libdxfrw/