NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
CAM_Tool.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口访问 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// CAM_Tool.ja
9
//
10
// 生成方式:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/CAM_ToolSolid.hxx>
22
#include <NXOpen/CAM_NCGroup.hxx>
23
#include <NXOpen/libnxopencpp_cam_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
CAM
34
{
35
class
Tool
;
36
}
37
namespace
CAM
38
{
39
class
GenericTrackingBuilder
;
40
}
41
namespace
CAM
42
{
43
class
NCGroup
;
44
}
45
namespace
CAM
46
{
47
class
ProbeTrackPoint
;
48
}
49
namespace
CAM
50
{
51
class
ProbeTrackingBuilder
;
52
}
53
namespace
CAM
54
{
55
class
SolidTrackPoint
;
56
}
57
namespace
CAM
58
{
59
class
SolidTrackingBuilder
;
60
}
61
namespace
CAM
62
{
63
class
ToolSolid;
64
}
65
namespace
CAM
66
{
67
class
TrackPointCollection
;
68
}
69
namespace
CAM
70
{
71
class
_ToolBuilder;
72
class
ToolImpl;
76
class
NXOPENCPP_CAMEXPORT Tool :
public
NXOpen::CAM::NCGroup
77
{
79
public
:
enum
Types
80
{
81
TypesMill
,
82
TypesDrill
,
83
TypesTurn
,
84
TypesGroove
,
85
TypesThread
,
86
TypesWedm
,
87
TypesBarrel
,
88
TypesTcutter
,
89
TypesForm
,
90
TypesDrillSpcGroove
,
91
TypesSolid
,
92
TypesMillForm
,
93
TypesLaser
,
94
TypesSoft
= 12
95
};
96
97
public
:
enum
Subtypes
98
{
99
SubtypesUndefined
,
100
SubtypesMill5
,
101
SubtypesMill7
,
102
SubtypesMill10
,
103
SubtypesMillBall
,
104
SubtypesDrillStandard
,
105
SubtypesDrillCenterBell
,
106
SubtypesDrillCountersink
,
107
SubtypesDrillSpotFace
,
108
SubtypesDrillSpotDrill
,
109
SubtypesDrillBore
,
110
SubtypesDrillReam
,
111
SubtypesDrillCounterbore
,
112
SubtypesDrillTap
,
113
SubtypesDrillBurnishing
,
114
SubtypesDrillThreadMill
,
115
SubtypesDrillBackSpotFace
,
116
SubtypesDrillStep
,
117
SubtypesTurnStandard
,
118
SubtypesTurnButton
,
119
SubtypesTurnBoringBar
,
120
SubtypesGrooveStandard
,
121
SubtypesGrooveRing
,
122
SubtypesGrooveFullNoseRadius
,
123
SubtypesGrooveUserDefined
,
124
SubtypesThreadStandard
,
125
SubtypesThreadButress
,
126
SubtypesThreadAcme
,
127
SubtypesThreadTrapezoidal
,
128
SubtypesGeneric
,
129
SubtypesProbe
,
130
SubtypesMillChamfer
,
131
SubtypesMillSpherical
,
132
SubtypesDrillCore
,
133
SubtypesStdLaser
,
134
SubtypesLaser
= 34,
135
SubtypesDrillBackCountersink
,
136
SubtypesCoaxialLaser
,
137
SubtypesDrillBoringBar
,
138
SubtypesDrillChamferBoringBar
,
139
SubtypesDrillBackBore
,
140
SubtypesThreadTriangularStandard
,
141
SubtypesThreadTriangularTrapezoidal
,
142
SubtypesBarrelStandard
,
143
SubtypesBarrelTangent
,
144
SubtypesBarrelTaper
,
145
SubtypesBarrelLens
,
146
SubtypesMillDovetail
,
147
SubtypesTurnPrime
148
};
149
private
:
ToolImpl
* m_tool_impl;
150
private
:
friend
class
_ToolBuilder;
151
protected
:
Tool
();
152
public
:
~Tool
();
156
public
:
NXOpen::CAM::SolidTrackingBuilder
*
CreateSolidTrackingBuilder
157
(
158
NXOpen::CAM::SolidTrackPoint
* csoObject
159
);
163
public
:
NXOpen::CAM::GenericTrackingBuilder
*
CreateGenericTrackingBuilder
164
(
165
NXOpen::CAM::SolidTrackPoint
* csoObject
166
);
170
public
:
NXOpen::CAM::ProbeTrackingBuilder
*
CreateProbeTrackingBuilder
171
(
172
NXOpen::CAM::ProbeTrackPoint
* csoObject
173
);
177
public
:
void
UpdateFromLibrary
178
(
179
);
183
public
:
void
GetTypeAndSubtype
184
(
185
NXOpen::CAM::Tool::Types
* type ,
186
NXOpen::CAM::Tool::Subtypes
* subtype
187
);
191
public
:
bool
RetrieveHolder
192
(
193
const
NXString
& libRef
194
);
198
bool
RetrieveHolder
199
(
200
const
char
* libRef
201
);
205
public
:
void
ExportPart
206
(
207
const
NXString
& libRef
208
);
212
void
ExportPart
213
(
214
const
char
* libRef
215
);
217
220
public
: NXOpen::CAM::ToolSolid * GetToolSolid
221
(
222
);
224
227
public
:
bool
RetrieveShank
228
(
229
const
NXString
& shankLibRef
230
);
234
bool
RetrieveShank
235
(
236
const
char
* shankLibRef
237
);
241
public
:
NXOpen::CAM::TrackPointCollection
*
CAMTrackPointCollection
();
242
};
243
}
244
}
245
#ifdef _MSC_VER
246
#pragma warning(pop)
247
#endif
248
#ifdef __GNUC__
249
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
250
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
251
#endif
252
#endif
253
#undef EXPORTLIBRARY