Entities
entities/ helix
#include "dxfio/entities/helix.hpp"In DxfIO::Entities
struct Coil
The AcDbHelix subclass of a HELIX: the axis, radius and turns the coil follows.
| Field | Type and default | Meaning |
|---|---|---|
Major | int | The major version of the helix's layout. Group 90. |
Minor | int | The minor version of the helix's layout. Group 91. |
Base | Vector | The base point of the axis, in world coordinates. Groups 10, 20, 30. |
Start | Vector | The point the helix starts at, in world coordinates. Groups 11, 21, 31. |
Axis | Vector{Up} | The direction of the axis. Groups 12, 22, 32. |
Radius | double{1} | The radius, in drawing units. Group 40. |
Turns | double{1} | The number of turns. Group 41. |
Rise | double{1} | The height of one turn. Group 42. |
Right | bool{true} | Whether the helix turns right-handed. Group 290. |
Constraint | int | What is kept when the helix is edited: 0 the height of a turn, 1 the turns, 2 the height. Group 280. |
struct HelixHELIX
A HELIX: a spiral in 3D, kept both as a spline and as its axis and turns.
| 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. |
Curve | Boxed<Entities::Curve> | The spline that draws the helix, from the AcDbSpline subclass. |
Coil | Entities::Coil | The axis, radius and turns, from the AcDbHelix subclass. |