Table of Contents

Method Explode

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Explode()

Gets the faces the mesh breaks into, as AutoCAD's Explode, as ezdxf's virtual_entities gives them: a 3DFACE for each face, in the order of the file, its corners the points its numbers name, the edge from a corner whose number is below nought hidden. A face of three corners ends on its third, as AutoCAD writes one, and the edge from its third back to its first, the 3DFACE's fourth, is hidden with its third. Each has the mesh's look: a layer or a colour its face record writes of its own is not taken, as AutoCAD 2021's Explode gives the faces of a PFACE on INPUT_PFACE_LAYER whose records stand on FACE_OWN_LAYER, one of them red, that layer and BYLAYER. The pyramid of a square base and four sides gives five faces, the base of four corners and four triangles. Its corners are its numbers up to the first of nought, as the reader takes them: a face of fewer than three corners so, (1, 2, 0, 4) among them, or one naming a point the mesh has not, is left out, as the reader leaves it out of the mesh's body.

public override IReadOnlyList<DxfEntity> Explode()

Returns

IReadOnlyList<DxfEntity>

The entities, in no file, to be added to a drawing by AppendEntity(DxfEntity).