NEW RELEASE 0.8.4
Check it out at https://bitbucket.org/treyerl/io_import_scene_dxf/overview
- Blocks are being imported and are reflected in Blender as linked objects or optionally as group instances. For linked objects sub-blocks get parented to the main block. If a block contains mixed curve / mesh / surface / text / light entities, the different types are being imported to different objects that are being parented to the main block.
- Layers are being reflected with “Blender-groups”. Select an object and type Shift-G to select all objects within the same “Blender-Group” (they should call it category, because that’s what it is). Anyhow as Blender supports “only” 20 layers and DXF files can have virtually an infinite amount of layers I think it’s best users would select grouped objects as described and move them themselves to layers as they wish.
- Speed: Using as many generators instead of lists as possible minimizes memory consumption. Parts of the the underlying dxf library “dxfgrabber” are written in cython and can be compiled to platform specific modules.
- DXF Attributes: DXF specific attributes (e.g. thickness, width and extrusion) are taken into account to import geometry as precise as possible.
- Geo Referencing: If the pyproj library is available, the scene center will be converted to lat/lon taking into account re-centering of geometry. The origin/DXF coordinate system (SRID) must be specified. If you have a DXF file from QGIS or ArcGIS this option should be most likely set to WGS84. The destination/scene SRID is by default the same as the DXF SRID, but of course you can set it to your local coordinate system. If a scene has a SRID already, this option is not available and the DXF SRID MUST be specified, so that the DXF geometry can be aligned to the scene geometry. For the installation of pyproj see “Installation”.