NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_HoleFeatureBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_HoleFeatureBuilder.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/Features_RPOBuilder.hxx>
22
#include <NXOpen/ugmath.hxx>
23
#include <NXOpen/libnxopencpp_features_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
Features
34
{
35
class
HoleFeatureBuilder
;
36
}
37
class
Body
;
38
class
Expression
;
39
namespace
Features
40
{
41
class
RPOBuilder
;
42
}
43
class
ISurface
;
44
namespace
Features
45
{
46
class
_HoleFeatureBuilderBuilder;
47
class
HoleFeatureBuilderImpl;
51
class
NXOPENCPP_FEATURESEXPORT HoleFeatureBuilder :
public
NXOpen::Features::RPOBuilder
52
{
54
public
:
enum
HoleSubtype
55
{
56
HoleSubtypeSimple
,
57
HoleSubtypeCounterbore
,
58
HoleSubtypeCountersink
59
};
60
private
:
HoleFeatureBuilderImpl
* m_holefeaturebuilder_impl;
61
private
:
friend
class
_HoleFeatureBuilderBuilder;
62
protected
:
HoleFeatureBuilder
();
63
public
:
~HoleFeatureBuilder
();
70
public
:
NXOpen::ISurface
*
GetThruFace
71
(
72
);
78
public
:
void
SetThruFace
79
(
80
NXOpen::ISurface
* thruFace
81
);
88
public
:
NXOpen::Body
*
GetTargetBody
89
(
90
);
96
public
:
void
SetTargetBody
97
(
98
NXOpen::Body
* targetBody
99
);
104
public
:
NXOpen::Expression
*
Depth
105
(
106
);
112
public
:
void
SetDepth
113
(
114
const
NXString
& depth
115
);
121
void
SetDepth
122
(
123
const
char
* depth
124
);
129
public
:
NXOpen::Expression
*
TipAngle
130
(
131
);
137
public
:
void
SetTipAngle
138
(
139
const
NXString
& tipAngle
140
);
146
void
SetTipAngle
147
(
148
const
char
* tipAngle
149
);
153
public
:
NXOpen::Features::HoleFeatureBuilder::HoleSubtype
Subtype
154
(
155
);
159
public
:
void
SetSubtype
160
(
161
NXOpen::Features::HoleFeatureBuilder::HoleSubtype
subtype
162
);
167
public
:
NXOpen::Point3d
HoleLocation
168
(
169
);
174
public
:
void
SetHoleLocation
175
(
176
const
NXOpen::Point3d
& referencePoint
177
);
181
public
:
bool
ReverseDirection
182
(
183
);
187
public
:
void
SetReverseDirection
188
(
189
bool
reverse
190
);
194
public
:
NXOpen::ISurface
*
PlacementFace
195
(
196
);
200
public
:
void
SetPlacementFace
201
(
202
NXOpen::ISurface
* placementFace
203
);
207
public
:
NXOpen::Expression
*
Diameter
208
(
209
);
214
public
:
void
SetDiameter
215
(
216
const
NXString
& diameter
217
);
222
void
SetDiameter
223
(
224
const
char
* diameter
225
);
229
public
:
NXOpen::Expression
*
CounterboreDiameter
230
(
231
);
236
public
:
void
SetCounterboreDiameter
237
(
238
const
NXString
& diameter
239
);
244
void
SetCounterboreDiameter
245
(
246
const
char
* diameter
247
);
251
public
:
NXOpen::Expression
*
CounterboreDepth
252
(
253
);
258
public
:
void
SetCounterboreDepth
259
(
260
const
NXString
& depth
261
);
266
void
SetCounterboreDepth
267
(
268
const
char
* depth
269
);
274
public
:
NXOpen::Expression
*
CountersinkDiameter
275
(
276
);
281
public
:
void
SetCountersinkDiameter
282
(
283
const
NXString
& diameter
284
);
289
void
SetCountersinkDiameter
290
(
291
const
char
* diameter
292
);
297
public
:
NXOpen::Expression
*
CountersinkAngle
298
(
299
);
304
public
:
void
SetCountersinkAngle
305
(
306
const
NXString
& angle
307
);
312
void
SetCountersinkAngle
313
(
314
const
char
* angle
315
);
319
public
:
void
CreateHole
320
(
321
);
326
public
:
void
SetDepthAndTipAngle
327
(
328
const
NXString
& depth ,
329
const
NXString
& tipAngle
330
);
335
void
SetDepthAndTipAngle
336
(
337
const
char
* depth ,
338
const
char
* tipAngle
339
);
343
public
:
void
SetSimpleHole
344
(
345
const
NXOpen::Point3d
& referencePoint ,
346
bool
reverseDirection ,
347
NXOpen::ISurface
* placementFace ,
348
const
NXString
& diameter
349
);
353
void
SetSimpleHole
354
(
355
const
NXOpen::Point3d
& referencePoint ,
356
bool
reverseDirection ,
357
NXOpen::ISurface
* placementFace ,
358
const
char
* diameter
359
);
363
public
:
void
SetCounterboreHole
364
(
365
const
NXOpen::Point3d
& referencePoint ,
366
bool
reverseDirection ,
367
NXOpen::ISurface
* placementFace ,
368
const
NXString
& diameter ,
369
const
NXString
& counterboreDiameter ,
370
const
NXString
& counterboreDepth
371
);
375
void
SetCounterboreHole
376
(
377
const
NXOpen::Point3d
& referencePoint ,
378
bool
reverseDirection ,
379
NXOpen::ISurface
* placementFace ,
380
const
char
* diameter ,
381
const
char
* counterboreDiameter ,
382
const
char
* counterboreDepth
383
);
387
public
:
void
SetCountersinkHole
388
(
389
const
NXOpen::Point3d
& referencePoint ,
390
bool
reverseDirection ,
391
NXOpen::ISurface
* placementFace ,
392
const
NXString
& diameter ,
393
const
NXString
& countersinkDiameter ,
394
const
NXString
& countersinkAngle
395
);
399
void
SetCountersinkHole
400
(
401
const
NXOpen::Point3d
& referencePoint ,
402
bool
reverseDirection ,
403
NXOpen::ISurface
* placementFace ,
404
const
char
* diameter ,
405
const
char
* countersinkDiameter ,
406
const
char
* countersinkAngle
407
);
408
};
409
}
410
}
411
#ifdef _MSC_VER
412
#pragma warning(pop)
413
#endif
414
#ifdef __GNUC__
415
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
416
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
417
#endif
418
#endif
419
#undef EXPORTLIBRARY