Parse DXF files with layers
With CAD-software e.g. LibreCAD it is possible to organize the geometry in different layers.
See for instance this introduction from the archived project jps2dxf
jpseditor
can parse DXF files, however as a bunch of lines without any structure.
Implement the possibility to parse also the given structure.