Release v0.12.5

By mozman, Fr 22 Mai 2020, in category Release

bin-dxf, explode, odafc, release

Virtual Entities

It is possible to examine the content of block references as "virtual" entities, this entities are located at the "exploded" positions, but are not stored in the entity database, have no handle and are not assigned to any layout.

This is an experimental feature and good enough for simple tasks, but not everything will work as expected from a CAD application, as example non uniform scaling returns incorrect results for text entities (TEXT, MTEXT, ATTRIB) and some other entities like ELLIPSE, SHAPE, HATCH with arc or ellipse path segments and POLYLINE/LWPOLYLINE with arc segments.

Virtual entities are also supported by LWPOLYLINE and 2D/3D POLYLINE, POLYMESH, POLYFACE and DIMENSION entities. This entities will be broken down to LINE, ARC, 3DFACE and TEXT entities.

Explode

The "explode" feature add the "virtual" entities to the drawing entity database and places this entities at a target layout, which is the same layout as for the source entity by default and delete the source entity. All limitations of "virtual" entities apply also to the "explode" feature.

Block Reference Attributes

Insert.add_auto_attribs() add ATTRIB entities defined as ATTDEF in the block layout and fill tags with values defined by a dict, this method avoids the wrapper block of the BaseLayout.add_auto_blockref method, but the visual results may not match the results of CAD applications, especially for non uniform scaling.

If the visual result is very important to you, use the add_auto_blockref() method.

Hyperlinks

Get/set hyperlinks for graphical DXF entities.

Binary DXF

ezdxf can read and write binary encoded DXF files. The binary DXF format is also supported by the r12writer add-on, but not by the iterdxf add-on.

Warning!

DXF files containing ACSH_SWEEP_CLASS objects which are saved as binary DXF by ezdxf can not be opened by AutoCAD, this is maybe also true for other 3rd party entities. BricsCAD opens this binary DXF files without complaining, but saves the ACSH_SWEEP_CLASS entities as ACAD_PROXY_OBJECT when writing back, so error analyzing is not possible without the full version of AutoCAD.

ODAFC Add-on

Use an installed ODA File Converter for converting between different versions of .dwg, .dxb and .dxf.

The ODA File Converter has to be installed by the user, the application is available for Windows XP, Windows 7 or later, Mac OS X, and Linux in 32/64-bit RPM and DEB format.

At least at Windows the GUI of the ODA File Converter pops up on every call.

Change Log

Version 0.12 - 2020-04-12

Version 0.12.1 - 2020-04-25

Version 0.12.2 - 2020-05-03

Version 0.12.3 - 2020-05-16

Version 0.12.4 - 2020-05-22