Entities

entities/modeler

#include "dxfio/entities/modeler.hpp"

In DxfIO::Entities

struct Geometry

The AcDbModelerGeometry subclass: the ACIS body of a solid, a region or a surface.

FieldTypeMeaning
Versionstd::optional<int>The version of the modeler's format. Group 70.
Linesstd::vector<Group>The lines of the ACIS body, as DXF encodes them, kept as groups; empty when the body is in ACDSDATA. Groups 1 and 3.
Storedstd::optional<bool>A flag of the R2013 layout, which DXF does not document. Group 290.
Guidstd::optional<std::string>The GUID of the body, in the R2013 layout. Group 2.

struct RegionREGION

A REGION: a closed flat area, kept as an ACIS body.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
Picturestd::stringThe proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310.
GeometryBoxed<Entities::Geometry>The ACIS body, from the AcDbModelerGeometry subclass.

struct BodyBODY

A BODY: an ACIS body that is neither a solid nor a region.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
Picturestd::stringThe proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310.
GeometryBoxed<Entities::Geometry>The ACIS body, from the AcDbModelerGeometry subclass.

struct Solid3d3DSOLID

A 3DSOLID: a solid, kept as an ACIS body.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
Picturestd::stringThe proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310.
GeometryBoxed<Entities::Geometry>The ACIS body, from the AcDbModelerGeometry subclass.
HistoryHandleThe history of how the solid was made. Group 350, from R2007.

struct SurfaceOf

template <Sheet KindV>

A surface entity of the kind given: its ACIS body, the isolines drawn on it, and the kind's own groups.

FieldType and defaultMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
Picturestd::stringThe proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310.
GeometryBoxed<Entities::Geometry>The ACIS body, from the AcDbModelerGeometry subclass.
Acrossint{6}The number of isolines drawn across the surface along U. Group 71.
Alongint{6}The number of isolines drawn across the surface along V. Group 72.
Tailstd::vector<Group>The groups that follow the isolines, the kind's own data, kept as they came.

enum class Sheet

The kinds of surface entity.

PlainA SURFACE.
PlanarA PLANESURFACE.
NurbsA NURBSURFACE.
ExtrudedAn EXTRUDEDSURFACE.
LoftedA LOFTEDSURFACE.
RevolvedA REVOLVEDSURFACE.
SweptA SWEPTSURFACE.

using Surface

A SURFACE: a surface of no more particular kind.

using Surface = SurfaceOf<Sheet::Plain>;

using PlaneSurface

A PLANESURFACE: a flat surface.

using PlaneSurface = SurfaceOf<Sheet::Planar>;

using NurbSurface

A NURBSURFACE: a surface shaped by NURBS control vertices.

using NurbSurface = SurfaceOf<Sheet::Nurbs>;

using ExtrudedSurface

An EXTRUDEDSURFACE: a profile extruded along a direction.

using ExtrudedSurface = SurfaceOf<Sheet::Extruded>;

using LoftedSurface

A LOFTEDSURFACE: a surface through several cross sections.

using LoftedSurface = SurfaceOf<Sheet::Lofted>;

using RevolvedSurface

A REVOLVEDSURFACE: a profile turned about an axis.

using RevolvedSurface = SurfaceOf<Sheet::Revolved>;

using SweptSurface

A SWEPTSURFACE: a profile swept along a path.

using SweptSurface = SurfaceOf<Sheet::Swept>;