Line¶
LINE (DXF Reference) entity is a 3D line from Line.dxf.start
to Line.dxf.end
.
Subclass of |
|
DXF type |
|
Factory function |
|
Inherited DXF Attributes |
Warning
Do not instantiate entity classes by yourself - always use the provided factory functions!
- class ezdxf.entities.Line¶
-
- dxf.thickness¶
Line thickness in 3D space in direction
extrusion
, default value is0
. This value should not be confused with thelineweight
value.
- dxf.extrusion¶
extrusion vector, default value is
(0, 0, 1)
- translate(dx: float, dy: float, dz: float) Line ¶
Optimized LINE translation about dx in x-axis, dy in y-axis and dz in z-axis.