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

www.CAD6.com

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

 

Data Block Sequence

General:

Data Block 1101( 3, Resolution )

Data Block 1000( Matrix )

Data Block 110( Comment )

Specific:

Data Block 1140( Type, Mode, Integer1, Integer2 )

Data Block 1141( Double1, Double2, Double3, Double4, Double5, Double6 )

Data Block 1001( Rotation )

 

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.

Type

[__int32] Standard object type. Possible values are:

0Cube
1Cubuid
2Prism
3Hollow Prism
4Pyramid Trunc
5Pyramid
6Cylinder
7Pipe
8Cone Trunc
9Hollow Cone Trunc
10Cone
11Cylinder Elbow
12Pipe Elbow
13Sphere
14Sphere Sector
15Hollow Sphere Sector
16Sphere Segment
17Hollow Sphere Segment
18Fillet
19Chamfer
20"L"-Profile
21"I"-Profile
22"U"-Profile
23"T"-Profile
24"Z"-Profile
25Tetraeder
26Oktaeder
27Dodekaeder
28Ikosaeder

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.

Integer1

Integer2

[__int32] Universal integer values. Their use depend on the standard type. Set to 0 if unused.

Double1

Double2

Double3

Double4

Double5

Double6

[double] Universal double values. Their use depend on the standard type. Set to 0 if unused.

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.

 

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_ExtAddInt32, Type = 1140, ElemCount = 4

MKI_ExtAddDouble, Type = 1141, ElemCount = 6

MKI_ExtAddDouble, Type = 1001, ElemCount = 3

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 ),

               b1130( f_pObj ),

               b1131( f_pObj ),

               b1001( f_pObj );

b1000.SetNext( b1101 );

b110.SetNext( b1000 );

b1140.SetNext( b110 );

b1141.SetNext( b1140 );

b1001.SetNext( b1141 );

 

__int32 nContainerType = b1101.Int32(0);

__int32 nResolution = b1101.Int32(1);

 

...

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH