ezdxf<0.9
to your requirements.txt
Importer()
from ezdxf.tools
to ezdxf.addons
- internal structures of modern DXF files are too complex
and too undocumented to support importing data in a reliable way - using Importer()
may corrupt your DXF files or just
don't work!setup
in ezdxf.new('R12', setup=True)
to setup default line types, text styles and dimension styles,
this feature is disabled by default.dwg.styles.duplicate_entry('OpenSans', new_name='OpenSansNew')
, this works for
all tables, but is intended to duplicate STYLES and DIMSTYLES.ezdxf.render
, because of DIMENSION renderingtxt
font ezdxf.algebra
to ezdxf.math
addons.curves
to render.curves
addons.mesh
to render.mesh
addons.r12spline
to render.r12spline
addons.forms
to render.forms
Ray2D()
renamed to ConstructionRay()
Circle()
renamed to ConstructionCircle()
Arc()
renamed to ConstructionArc()
ConstructionLine()
and ConstructionBox()
almost_equal
use math.isclose
almost_equal_points
use ezdxf.math.is_close_points
UCS.to_ocs_angle_deg()
correctedPython 2 support dropped
Support for linear dimension (more dimension types to come), but I have no time to write a documentation now, please look at the script dimensions_linear.py for many examples. DIMENSION works with DXF R12, but you will get better results with DXF R2000 and later.
Run tests by tox on Manjaro Linux in an VM on VirtualBox.
Replaced all fonts by open source fonts.