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

ezdxf.entities.DXFGraphic

DXF type

'SOLID'

Factory function

ezdxf.layouts.BaseLayout.add_solid()

Inherited DXF attributes

Common graphical DXF attributes

Warning

Do not instantiate entity classes by yourself - always use the provided factory functions!

class ezdxf.entities.Solid
dxf.vtx0

Location of 1. vertex (2D/3D Point in OCS)

dxf.vtx1

Location of 2. vertex (2D/3D Point in OCS)

dxf.vtx2

Location of 3. vertex (2D/3D Point in OCS)

dxf.vtx3

Location of 4. vertex (2D/3D Point in OCS)