POINT (DXF Reference) at location
The POINT styling is a global setting, stored as header variable $PDMODE, this also means all POINT entities in a DXF document have the same styling:
|0||center dot (.)|
|1||none ( )|
Combined with these bit values
e.g. circle + square + center dot = 32 + 64 + 0 = 96
The size of the points is defined by the header variable $PDSIZE:
|0||5% of draw area height|
|<0||Specifies a percentage of the viewport size|
|>0||Specifies an absolute size|
|Inherited DXF attributes||Common graphical DXF attributes|
Do not instantiate entity classes by yourself - always use the provided factory functions!
Angle in degrees of the x-axis for the UCS in effect when POINT was drawn (float); used when PDMODE is nonzero.
transform(m: Matrix44) → Point¶
Transform the POINT entity by transformation matrix m inplace.
translate(dx: float, dy: float, dz: float) → Point¶
Optimized POINT translation about dx in x-axis, dy in y-axis and dz in z-axis.
virtual_entities(pdsize: float = 1, pdmode: int = 0) → List[DXFGraphic]¶
Yields point graphic as DXF primitives LINE and CIRCLE entities. The dimensionless point is rendered as zero-length line!
Check for this condition:
e.dxftype() == 'LINE' and e.dxf.start.isclose(e.dxf.end)
if the rendering engine can’t handle zero-length lines.
- pdsize – point size in drawing units
- pdmode – point styling mode