NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_ThreadBuilder.hxx
1
//--------------------------------------------------------------------------
2
// 版权所有 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API C++接口的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_ThreadBuilder.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/Expression.hxx>
22
#include <NXOpen/Features_FeatureBuilder.hxx>
23
#include <NXOpen/SelectObject.hxx>
24
#include <NXOpen/libnxopencpp_features_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Features
35
{
36
class
ThreadBuilder
;
37
}
38
class
Expression
;
39
namespace
Features
40
{
41
class
FeatureBuilder
;
42
}
43
class
SelectDisplayableObject
;
44
namespace
Features
45
{
46
class
_ThreadBuilderBuilder;
47
class
ThreadBuilderImpl;
101
class
NXOPENCPP_FEATURESEXPORT ThreadBuilder :
public
NXOpen::Features::FeatureBuilder
102
{
104
public
:
enum
Type
105
{
106
TypeSymbolic
,
107
TypeDetailed
108
};
109
110
public
:
enum
Input
111
{
112
InputThreadTable
,
113
InputManual
114
};
115
116
public
:
enum
LimitOption
117
{
118
LimitOptionValue
,
119
LimitOptionFull
,
120
LimitOptionShortofFull
121
};
122
123
public
:
enum
Handedness
124
{
125
HandednessRightHand
,
126
HandednessLeftHand
127
};
128
129
public
:
enum
HoleSizePreference
130
{
131
HoleSizePreferenceTapDrillDiameter
,
132
HoleSizePreferenceMajorDiameter
133
};
134
135
public
:
enum
ShaftSizePreference
136
{
137
ShaftSizePreferenceMajorDiameter
,
138
ShaftSizePreferenceShaftDiameter
139
};
140
private
:
ThreadBuilderImpl
* m_threadbuilder_impl;
141
private
:
friend
class
_ThreadBuilderBuilder;
142
protected
:
ThreadBuilder
();
143
public
:
~ThreadBuilder
();
147
public
:
NXOpen::Features::ThreadBuilder::Type
ThreadType
148
(
149
);
153
public
:
void
SetThreadType
154
(
155
NXOpen::Features::ThreadBuilder::Type
threadType
156
);
160
public
:
NXOpen::SelectDisplayableObject
*
CylindricalFace
161
(
162
);
166
public
:
NXOpen::SelectDisplayableObject
*
StartObject
167
(
168
);
172
public
:
bool
ReverseThreadDirection
173
(
174
);
178
public
:
void
SetReverseThreadDirection
179
(
180
bool
reverseThreadDirection
181
);
185
public
:
NXString
ThreadStandard
186
(
187
);
191
public
:
void
SetThreadStandard
192
(
193
const
NXString
& threadStandard
194
);
198
void
SetThreadStandard
199
(
200
const
char
* threadStandard
201
);
205
public
:
double
CylinderDiameter
206
(
207
);
212
public
:
NX_DEPRECATED
(
"Deprecated in NX1953.0.0. Use NXOpen::Features::ThreadBuilder::MatchThreadSizeToCylinder instead."
) bool SmartThread
213
(
214
);
219
public:
NX_DEPRECATED
(
"Deprecated in NX1953.0.0. Use NXOpen::Features::ThreadBuilder::SetMatchThreadSizeToCylinder instead."
)
void
SetSmartThread
220
(
221
bool
smartThread
222
);
226
public:
NXString
ThreadSize
227
(
228
);
232
public:
void
SetThreadSize
233
(
234
const
NXString
& threadSize
235
);
239
void
SetThreadSize
240
(
241
const
char
* threadSize
242
);
246
public:
NXString
RadialEngage
247
(
248
);
252
public:
void
SetRadialEngage
253
(
254
const
NXString
& radialEngage
255
);
259
void
SetRadialEngage
260
(
261
const
char
* radialEngage
262
);
266
public:
double
TapDrillDiameter
267
(
268
);
272
public:
double
ShaftDiameter
273
(
274
);
278
public:
NXOpen
::
Features
::ThreadBuilder::
Handedness
ThreadHandedness
279
(
280
);
284
public:
void
SetThreadHandedness
285
(
286
NXOpen
::
Features
::ThreadBuilder::
Handedness
threadHandedness
287
);
291
public:
int
NumStarts
292
(
293
);
297
public:
void
SetNumStarts
298
(
299
int
numStarts
300
);
304
public:
NXString
ThreadMethod
305
(
306
);
310
public:
void
SetThreadMethod
311
(
312
const
NXString
& threadMethod
313
);
317
void
SetThreadMethod
318
(
319
const
char
* threadMethod
320
);
324
public:
NXOpen
::
Features
::ThreadBuilder::
LimitOption
ThreadLimit
325
(
326
);
330
public:
void
SetThreadLimit
331
(
332
NXOpen
::
Features
::ThreadBuilder::
LimitOption
threadLimit
333
);
337
public:
NXOpen
::
Expression
*
ThreadLength
338
(
339
);
343
public:
NXOpen
::
Expression
*
PitchMultiple
344
(
345
);
349
public:
NXOpen
::
Features
::ThreadBuilder::
HoleSizePreference
HolePreference
350
(
351
);
355
public:
void
SetHolePreference
356
(
357
NXOpen
::
Features
::ThreadBuilder::
HoleSizePreference
holePreference
358
);
362
public:
NXOpen
::
Features
::ThreadBuilder::
ShaftSizePreference
ShaftPreference
363
(
364
);
368
public:
void
SetShaftPreference
369
(
370
NXOpen
::
Features
::ThreadBuilder::
ShaftSizePreference
shaftPreference
371
);
375
public:
bool
ExtendStart
376
(
377
);
381
public:
void
SetExtendStart
382
(
383
bool
extendStart
384
);
388
public:
bool
MatchThreadSizeToCylinder
389
(
390
);
394
public:
void
SetMatchThreadSizeToCylinder
395
(
396
bool
matchThreadSizeToCylinder
397
);
401
public:
bool
Tapered
402
(
403
);
407
public:
bool
IsInternalThread
408
(
409
);
413
public:
double
Angle
414
(
415
);
419
public:
double
Pitch
420
(
421
);
425
public:
double
MajorDiameter
426
(
427
);
431
public:
double
MinorDiameter
432
(
433
);
437
public:
NXOpen
::
Features
::ThreadBuilder::
Input
ThreadInput
438
(
439
);
443
public:
void
SetThreadInput
444
(
445
NXOpen
::
Features
::ThreadBuilder::
Input
threadInput
446
);
450
public:
NXOpen
::
Expression
*
MajorDiameterExp
451
(
452
);
456
public:
NXOpen
::
Expression
*
MinorDiameterExp
457
(
458
);
462
public:
NXOpen
::
Expression
*
PitchExp
463
(
464
);
468
public:
NXOpen
::
Expression
*
AngleExp
469
(
470
);
474
public:
bool
TaperedValue
475
(
476
);
480
public:
void
SetTaperedValue
481
(
482
bool
taperedValue
483
);
487
public:
NXOpen
::
Expression
*
ShaftDiameterExp
488
(
489
);
493
public:
NXOpen
::
Expression
*
TapDrillDiameterExp
494
(
495
);
497
500
public: std::vector<
NXString
> GetDecalStickers
501
(
502
);
504
};
505
}
506
}
507
#ifdef _MSC_VER
508
#pragma warning(pop)
509
#endif
510
#ifdef __GNUC__
511
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
512
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
513
#endif
514
#endif
515
#undef EXPORTLIBRARY