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.
| Field | Type | Meaning |
|---|---|---|
Version | std::optional<int> | The version of the modeler's format. Group 70. |
Lines | std::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. |
Stored | std::optional<bool> | A flag of the R2013 layout, which DXF does not document. Group 290. |
Guid | std::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.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Picture | std::string | The proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310. |
Geometry | Boxed<Entities::Geometry> | The ACIS body, from the AcDbModelerGeometry subclass. |
struct BodyBODY
A BODY: an ACIS body that is neither a solid nor a region.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Picture | std::string | The proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310. |
Geometry | Boxed<Entities::Geometry> | The ACIS body, from the AcDbModelerGeometry subclass. |
struct Solid3d3DSOLID
A 3DSOLID: a solid, kept as an ACIS body.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Picture | std::string | The proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310. |
Geometry | Boxed<Entities::Geometry> | The ACIS body, from the AcDbModelerGeometry subclass. |
History | Handle | The 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.
| Field | Type and default | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Picture | std::string | The proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310. |
Geometry | Boxed<Entities::Geometry> | The ACIS body, from the AcDbModelerGeometry subclass. |
Across | int{6} | The number of isolines drawn across the surface along U. Group 71. |
Along | int{6} | The number of isolines drawn across the surface along V. Group 72. |
Tail | std::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.
Plain | A SURFACE. |
Planar | A PLANESURFACE. |
Nurbs | A NURBSURFACE. |
Extruded | An EXTRUDEDSURFACE. |
Lofted | A LOFTEDSURFACE. |
Revolved | A REVOLVEDSURFACE. |
Swept | A 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>;