File indexing completed on 2026-05-03 08:25:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ModelDefinitions_HeaderFile
0017 #define ModelDefinitions_HeaderFile
0018
0019 #define GEOMOBJECT_GUID Standard_GUID("6c6915ab-775f-4475-859e-befd74d26a23")
0020 #define ATTCH_GUID Standard_GUID("12e94554-6dbc-11d4-b9c8-0060b0ee281b")
0021 #define XTTCH_GUID Standard_GUID("12e94555-6dbc-11d4-b9c8-0060b0ee281b")
0022 #define PTXYZ_GUID Standard_GUID("12e94556-6dbc-11d4-b9c8-0060b0ee281b")
0023 #define PTALINE_GUID Standard_GUID("12e94557-6dbc-11d4-b9c8-0060b0ee281b")
0024 #define PRRLINE_GUID Standard_GUID("12e94558-6dbc-11d4-b9c8-0060b0ee281b")
0025 #define PMIRR_GUID Standard_GUID("12e94559-6dbc-11d4-b9c8-0060b0ee281b")
0026
0027 #define BOX_GUID Standard_GUID("12e94543-6dbc-11d4-b9c8-0060b0ee281b")
0028 #define SPH_GUID Standard_GUID("12e94544-6dbc-11d4-b9c8-0060b0ee281b")
0029 #define CYL_GUID Standard_GUID("12e94545-6dbc-11d4-b9c8-0060b0ee281b")
0030 #define CONE_GUID Standard_GUID("12e94546-6dbc-11d4-b9c8-0060b0ee281b")
0031 #define TORUS_GUID Standard_GUID("12e94547-6dbc-11d4-b9c8-0060b0ee281b")
0032
0033 #define CUT_GUID Standard_GUID("12e94548-6dbc-11d4-b9c8-0060b0ee281b")
0034 #define FUSE_GUID Standard_GUID("12e94549-6dbc-11d4-b9c8-0060b0ee281b")
0035 #define COMMON_GUID Standard_GUID("12e9454a-6dbc-11d4-b9c8-0060b0ee281b")
0036 #define SECTION_GUID Standard_GUID("12e9454b-6dbc-11d4-b9c8-0060b0ee281b")
0037
0038 #define PRISM_GUID Standard_GUID("12e94550-6dbc-11d4-b9c8-0060b0ee281b")
0039 #define FULREVOL_GUID Standard_GUID("12e94551-6dbc-11d4-b9c8-0060b0ee281b")
0040 #define SECREVOL_GUID Standard_GUID("12e94552-6dbc-11d4-b9c8-0060b0ee281b")
0041 #define FILLT_GUID Standard_GUID("12e94553-6dbc-11d4-b9c8-0060b0ee281b")
0042 #define CHAMF_GUID Standard_GUID("12e9455a-6dbc-11d4-b9c8-0060b0ee281b")
0043 #define OFFSET_GUID Standard_GUID("12e9455b-6dbc-11d4-b9c8-0060b0ee281b")
0044
0045 #define PNTXYZ_GUID Standard_GUID("12e9455c-6dbc-11d4-b9c8-0060b0ee281b")
0046 #define PNTRLT_GUID Standard_GUID("12e9455d-6dbc-11d4-b9c8-0060b0ee281b")
0047 #define LINE3D_GUID Standard_GUID("12e9455e-6dbc-11d4-b9c8-0060b0ee281b")
0048 #define WIRE_GUID Standard_GUID("12e9455f-6dbc-11d4-b9c8-0060b0ee281b")
0049
0050
0051 #define FUNCTION_ARGUMENTS_LABEL 1
0052 #define FUNCTION_RESULT_LABEL 2
0053 #define POSITION(Function, theA) \
0054 Function->Label().FindChild(FUNCTION_ARGUMENTS_LABEL).FindChild(theA)
0055 #define RESPOSITION(Function) Function->Label().FindChild(FUNCTION_RESULT_LABEL)
0056 #define BOX_DX 1
0057 #define BOX_DY 2
0058 #define BOX_DZ 3
0059 #define CYL_RADIUS 1
0060 #define CYL_HEIGHT 2
0061 #define CYL_AXIS 3
0062 #define ATTACH_ARG 1
0063 #define BOOL_TOOL 1
0064 #define SECT_OBJECT 1
0065 #define SECT_TOOL 2
0066 #define FILLET_RADIUS 1
0067 #define FILLET_SURFTYPE 2
0068 #define FILLET_PATH 3
0069 #define PTRANSF_DX 1
0070 #define PTRANSF_DY 2
0071 #define PTRANSF_DZ 3
0072 #define PTRANSF_OFF 1
0073 #define PTRANSF_ANG 1
0074 #define PTRANSF_LINE 2
0075 #define PTRANSF_PLANE 1
0076 #define PRISM_BASIS 1
0077 #define PRISM_HEIGHT 2
0078 #define PRISM_DIR 3
0079 #define REVOL_BASIS 1
0080 #define REVOL_AXIS 2
0081 #define REVOL_ANGLE 3
0082 #define REVOL_REV 4
0083 #define SPHERE_CENTER 1
0084 #define SPHERE_RADIUS 2
0085 #define PNT_DX 1
0086 #define PNT_DY 2
0087 #define PNT_DZ 3
0088 #define PNTRLT_REF 4
0089 #define LINE3D_TYPE 1
0090 #define LINE3D_PNTNB 2
0091 #define DONE 0
0092 #define NOTDONE 9999
0093 #define ALGO_FAILED 11
0094 #define RESULT_NOT_VALID 12
0095 #define WRONG_AXIS 13
0096 #define WRONG_ARGUMENT 14
0097 #define UNSUPPORTED_FUNCTION 15
0098 #define NULL_RESULT 16
0099 #define WRONG_CONTEXT 14
0100 #define NAMING_FAILED 15
0101
0102 #endif