Solid¶
SOLID (DXF Reference) is a filled triangle or quadrilateral. Access vertices by name
(entity.dxf.vtx0 = (1.7, 2.3)
) or by index (entity[0] = (1.7, 2.3)
).
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.
Solid
¶ -
-
transform
(m: Matrix44) → Solid¶ Transform the SOLID/TRACE entity by transformation matrix m inplace.
-
vertices
(close: bool = False) → List[Vec3]¶ Returns OCS vertices in correct order, if argument close is
True
, last vertex == first vertex. Does not return duplicated last vertex if represents a triangle.New in version 0.15.
-
wcs_vertices
(close: bool = False) → List[Vec3]¶ Returns WCS vertices in correct order, if argument close is
True
, last vertex == first vertex. Does not return duplicated last vertex if represents a triangle.New in version 0.15.
-