3D Part > 3D Container 2 "Path" (Entity Type "Extended Object")

www.CAD6.com

The 3D container "Path" is used to store 3D information in a 3D Part.

 

Data Block Sequence

General:

Data Block 1101( 2, Resolution )

Data Block 1000( Matrix )

Data Block 110( Comment )

Specific:

Data Block 000( Point )

Data Block 1001( Rotation )

Data Block 1001( Tilt )

Data Block 1130( PathType, SourceType, Mode )

Data Block 1131( Angle, Vertical )

 

These data blocks are followed by one sequence of data blocks for one outline identical to those stored in an object of type "Curve", see Object 12 "Curve", or object of type "Surface", see Object 13 "Surface" (based on PathType). This is the path along which the second object will be traversed.

 

These data blocks are then followed by another sequence of data blocks for one outline identical to those stored in an object of type "Curve", see Object 12 "Curve", object of type "Surface", see Object 13 "Surface", or object of type "Marking", see Object 41 "Marking" (based on SourceType). This is the data that will be moved along the path.

 

Parameters

Resolution

[__int32] Relative resolution of this element. Possible values are:

0Default × 0.35
1Default × 0.5
2Default × 0.71
3Default
4Default × 1.41
5Default × 2
6Default × 2.82

Matrix

[MKI_3D_MATRIX] 3×4 elements of a 3D matrix.

Comment

[MKI_COMMENTSHORT] Comment on the 3D container.

Point

[MKI_POINT] 2D reference point of the path.

Rotation

[MKI_3D_VECTOR] Rotation around the X-, Y- and Z-axis in [rad]. The rotation around the Y-axis is inverted compared to a standard right-hand system.

Tilt

[MKI_3D_VECTOR] Tilting of the outline towards the X-, Y- and Z-axes in [rad]. The tilting towards the Y-axis is inverted compared to a standard right-hand system.

PathType

[__int32] Object type of the path data. Possible values are:

MKI_OBJ_CURVE

The path is a curve.

MKI_OBJ_SURFACE

The path is a surface.

SourceType

[__int32] Object type of the source data. Possible values are:

MKI_OBJ_CURVE

The data to be moved along the path is a curve.

MKI_OBJ_SURFACE

The data to be moved along the path is a surface.

MKI_OBJ_MARK

The data to be moved along the path is a marking (resulting in an "edge").

Mode

[__int32] A bit-wise OR combination of options. It can be any combination of the following values:

0x00000000

No special mode.

0x00000001

Close the start of the path object.

0x00000002

Close the end of the path object.

Angle

[double] Additional rotation angle per path in [rad].

Vertical

[double] Vertical offset in [mm] per rotation (perpendicular to rotation plane).

 

Interface Command Sequence

MKI_ObjectOpen, Type = MKI_OBJ_CONTAINER

MKI_ExtAddInt32, Type = 1101, ElemCount = 2

MKI_ExtAddDouble, Type = 1000, ElemCount = 12

MKI_ExtAddText, Type = 110, Size = 256, StaticLength = true

MKI_ExtAddPoint, Type = MKI_DB_POINT_ANY

MKI_ExtAddDouble, Type = 1001, ElemCount = 3

MKI_ExtAddDouble, Type = 1001, ElemCount = 3

MKI_ExtAddInt32, Type = 1130, ElemCount = 3

MKI_ExtAddDouble, Type = 1131, ElemCount = 2

MKI_ExtDataAddOpenObject

 

Use code like the following to parse the data blocks of this entity in memory:

 

MKI_BLOCK_ENUM b1101( f_pObj ),

               b1000( f_pObj ),

               b110( f_pObj ),

               b000( f_pObj ),

               b1001( f_pObj ),

               b1002( f_pObj ),

               b1130( f_pObj ),

               b1131( f_pObj );

b1000.SetNext( b1101 );

b110.SetNext( b1000 );

b000.SetNext( b110 );

b1001.SetNext( b000 );

b1002.SetNext( b1001 );

b1130.SetNext( b1002 );

b1131.SetNext( b1130 );

 

__int32 nContainerType = b1101.Int32(0);

__int32 nResolution = b1101.Int32(1);

 

...

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH