![]() |
Object 8 "Circle Segment" (Entity Type "Object") Changed in Version 2021.0 |
www.CAD6.com |
Data Block SequenceData Block 003( Center ) Data Block 004( Radius ) Data Block 005( Angle1 ) Data Block 005( Angle2 ) Data Block 101( Orientation )
ParametersCenter [MKI_POINT] Center point of the circle. Radius [MKI_POINT] Radius point of the circle. Angle1 [MKI_POINT] Start angle of the segment. Angle2 [MKI_POINT] End angle of the segment. Orientation [double] Direction of the segment. If Orientation >= 0, the segment is drawn counter-clockwise from the start angle to the end angle. If Orientation < 0, the segment is drawn clockwise.
ParametersTBD1 [double] Curvature of the logarithmic spiral. Valid range is 0.0 < Curvature < 1.0. TBD2 [__int32] A bit-wise OR combination of options. It can be any combination of the following values:
0x00000000 No special mode.
0x00000001 The number of rotations will be automatically calculated (must not be combined with 0x00000002).
0x00000002 The rotation distance will be automatically calculated (must not be combined with 0x00000001).
0x00000004 The spiral will be created in reverse orientation, i.e. clockwise starting from the outermost point.
0x00000008 The spiral will be logarithmic (not Archimedean). Center [MKI_POINT] Center point of the spiral. Radius [MKI_POINT] Radius point of the outermost circle. Angle [MKI_POINT] Overall rotation relative to Center.
Attributes New in Version 2021.0A circle segment may contain attribute data blocks (see MKI_BLOCK_ATTRIBUTE) of types "local", "outline", and "point". Their position in the list of data blocks must be as follows:
The total number of attributes of each type (local, outline, point) per respective element (entity, outline, and point) is limited to MKI_ATTRIBS_PER_OBJECT.
Interface Command SequenceMKI_ObjectOpen, Type = MKI_OBJ_SEGMENT MKI_ObjectAddPoint, Type = MKI_DB_POINT_CENTER MKI_ObjectAddPoint, Type = MKI_DB_POINT_RADIUS MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANGLE MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANGLE
Use the MKI_PARSE_OBJ_ARC class to parse the data blocks of such an object in memory.
|
CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH