Entities

entities/section

#include "dxfio/entities/section.hpp"

In DxfIO::Entities

struct Cut

The AcDbSection subclass of a SECTIONOBJECT: the plane that cuts the model and the line it is drawn with.

FieldType and defaultMeaning
Stateint{1}What the section cuts with: 1 a plane, 2 a boundary, 4 a volume. Group 90.
FlagsintBits of the section's settings, which DXF does not spell out. Group 91.
Namestd::stringThe name of the section. Group 1.
VerticalVector{Up}The vertical direction of the section plane. Groups 10, 20, 30.
TopdoubleThe height of the top of the section's volume. Group 40.
BottomdoubleThe height of the bottom of the section's volume. Group 41.
TransparencyintThe transparency of the plane's indicator. Group 70.
ColorintThe AutoCAD Color Index of the plane's indicator. Group 62, from R2004.
Rgbstd::optional<int>The true color of the plane's indicator, as 0xRRGGBB. Group 420, from R2004.
Verticesstd::vector<Vector>The vertices of the section line; group 92 counts them. Groups 11, 21, 31.
Backstd::vector<Vector>The vertices of the back line; group 93 counts them. Groups 12, 22, 32.
SettingsHandleThe SECTIONSETTINGS object that sets how the section is drawn. Group 360.

struct SectionObjectSECTIONOBJECT

A SECTIONOBJECT: a section plane that cuts through 3D solids and surfaces.

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.
CutBoxed<Entities::Cut>The plane, its line and its indicator, from the AcDbSection subclass.