NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
CAM_Cycle.hxx
1
//--------------------------------------------------------------------------
2
// 版权所有 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口到 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// CAM_Cycle.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_StepoverBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/ugmath.hxx>
24
#include <NXOpen/libnxopencpp_cam_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
CAM
35
{
36
class
Cycle
;
37
}
38
namespace
CAM
39
{
40
class
CycleCoolant
;
41
}
42
namespace
CAM
43
{
44
class
CycleDwell
;
45
}
46
namespace
CAM
47
{
48
class
CycleNodragClearance
;
49
}
50
namespace
CAM
51
{
52
class
CycleSpindle
;
53
}
54
namespace
CAM
55
{
56
class
CycleStepRetract
;
57
}
58
namespace
CAM
59
{
60
class
CycleTipRelease
;
61
}
62
namespace
CAM
63
{
64
class
StepoverBuilder
;
65
}
66
namespace
CAM
67
{
68
class
_CycleBuilder;
69
class
CycleImpl;
73
class
NXOPENCPP_CAMEXPORT Cycle :
public
NXOpen::TaggedObject
74
{
76
public
:
enum
DwellType
77
{
78
DwellTypeOn
,
79
DwellTypeOff
,
80
DwellTypeSeconds
,
81
DwellTypeRevolutions
82
};
83
84
public
:
enum
MotionOutputTypes
85
{
86
MotionOutputTypesMachineCycle
,
87
MotionOutputTypesSingleMoves
,
88
MotionOutputTypesInterruptedMoves
89
};
90
91
public
:
enum
CutMode
92
{
93
CutModeOff
,
94
CutModeValue
,
95
CutModePercentage
96
};
97
private
:
CycleImpl
* m_cycle_impl;
98
private
:
friend
class
_CycleBuilder;
99
protected
:
Cycle
();
100
public
:
~Cycle
();
104
public
:
NXString
CycleType
105
(
106
);
110
public
:
void
SetCycleType
111
(
112
const
NXString
& cycleName
113
);
117
void
SetCycleType
118
(
119
const
char
* cycleName
120
);
124
public
:
NXOpen::CAM::Cycle::DwellType
Dwell
125
(
126
);
130
public
:
void
SetDwell
131
(
132
NXOpen::CAM::Cycle::DwellType
dwell
133
);
137
public
:
double
DwellValue
138
(
139
);
143
public
:
void
SetDwellValue
144
(
145
double
doubleValue
146
);
150
public
:
bool
Option
151
(
152
);
156
public
:
void
SetOption
157
(
158
bool
optionType
159
);
163
public
:
bool
CamStatus
164
(
165
);
169
public
:
void
SetCamStatus
170
(
171
bool
camStatus
172
);
176
public
:
int
CamValue
177
(
178
);
182
public
:
void
SetCamValue
183
(
184
int
doubleValue
185
);
189
public
:
double
CsinkDiameter
190
(
191
);
195
public
:
void
SetCsinkDiameter
196
(
197
double
doubleValue
198
);
202
public
:
double
EntranceDiameter
203
(
204
);
208
public
:
void
SetEntranceDiameter
209
(
210
double
doubleValue
211
);
215
public
:
NXString
Text
216
(
217
);
221
public
:
void
SetText
222
(
223
const
NXString
& cText
224
);
228
void
SetText
229
(
230
const
char
* cText
231
);
235
public
:
NXOpen::CAM::Cycle::MotionOutputTypes
MotionOutput
236
(
237
);
241
public
:
void
SetMotionOutput
242
(
243
NXOpen::CAM::Cycle::MotionOutputTypes
newValue
244
);
248
public
:
NXOpen::CAM::StepoverBuilder
*
AxialStepover
249
(
250
);
254
public
:
bool
StepClearanceStatus
255
(
256
);
260
public
:
void
SetStepClearanceStatus
261
(
262
bool
camStatus
263
);
267
public
:
double
StepClearance
268
(
269
);
273
public
:
void
SetStepClearance
274
(
275
double
doubleValue
276
);
280
public
:
NXOpen::CAM::Cycle::DwellType
DwellStart
281
(
282
);
286
public
:
void
SetDwellStart
287
(
288
NXOpen::CAM::Cycle::DwellType
dwell
289
);
293
public
:
double
DwellStartValue
294
(
295
);
299
public
:
void
SetDwellStartValue
300
(
301
double
doubleValue
302
);
306
public
:
NXOpen::CAM::Cycle::DwellType
DwellFinal
307
(
308
);
312
public
:
void
SetDwellFinal
313
(
314
NXOpen::CAM::Cycle::DwellType
dwell
315
);
319
public
:
double
DwellFinalValue
320
(
321
);
325
public
:
void
SetDwellFinalValue
326
(
327
double
doubleValue
328
);
332
public
:
NXOpen::CAM::Cycle::CutMode
FirstCutMode
333
(
334
);
338
public
:
void
SetFirstCutMode
339
(
340
NXOpen::CAM::Cycle::CutMode
firstCutMode
341
);
345
public
:
double
FirstCutValue
346
(
347
);
351
public
:
void
SetFirstCutValue
352
(
353
double
doubleValue
354
);
358
public
:
NXOpen::CAM::Cycle::CutMode
LastCutMode
359
(
360
);
364
public
:
void
SetLastCutMode
365
(
366
NXOpen::CAM::Cycle::CutMode
lastCutMode
367
);
371
public
:
double
LastCutValue
372
(
373
);
377
public
:
void
SetLastCutValue
378
(
379
double
doubleValue
380
);
384
public
:
bool
ShiftStatus
385
(
386
);
390
public
:
void
SetShiftStatus
391
(
392
bool
camStatus
393
);
397
public
:
double
Shift
398
(
399
);
403
public
:
void
SetShift
404
(
405
double
doubleValue
406
);
410
public
:
bool
TimesStatus
411
(
412
);
416
public
:
void
SetTimesStatus
417
(
418
bool
camStatus
419
);
423
public
:
int
Times
424
(
425
);
429
public
:
void
SetTimes
430
(
431
int
times
432
);
436
public
:
bool
OrientationStatus
437
(
438
);
442
public
:
void
SetOrientationStatus
443
(
444
bool
oStatus
445
);
449
public
:
double
Orientation
450
(
451
);
455
public
:
void
SetOrientation
456
(
457
double
orientation
458
);
462
public
:
bool
GetParameterActive
463
(
464
const
NXString
& cycleParamName
465
);
469
bool
GetParameterActive
470
(
471
const
char
* cycleParamName
472
);
476
public
:
void
SetParameterActive
477
(
478
const
NXString
& cycleParamName ,
479
bool
parameterActive
480
);
484
void
SetParameterActive
485
(
486
const
char
* cycleParamName ,
487
bool
parameterActive
488
);
492
public
:
int
GetIntegerValue
493
(
494
const
NXString
& cycleParamName
495
);
499
int
GetIntegerValue
500
(
501
const
char
* cycleParamName
502
);
506
public
:
void
SetIntegerValue
507
(
508
const
NXString
& cycleParamName ,
509
int
integerValue
510
);
514
void
SetIntegerValue
515
(
516
const
char
* cycleParamName ,
517
int
integerValue
518
);
522
public
:
double
GetDoubleValue
523
(
524
const
NXString
& cycleParamName
525
);
529
double
GetDoubleValue
530
(
531
const
char
* cycleParamName
532
);
536
public
:
void
SetDoubleValue
537
(
538
const
NXString
& cycleParamName ,
539
double
doubleValue
540
);
544
void
SetDoubleValue
545
(
546
const
char
* cycleParamName ,
547
double
doubleValue
548
);
552
public
:
bool
GetBooleanValue
553
(
554
const
NXString
& cycleParamName
555
);
559
bool
GetBooleanValue
560
(
561
const
char
* cycleParamName
562
);
566
public
:
void
SetBooleanValue
567
(
568
const
NXString
& cycleParamName ,
569
bool
booleanValue
570
);
574
void
SetBooleanValue
575
(
576
const
char
* cycleParamName ,
577
bool
booleanValue
578
);
582
public
:
NXOpen::Point3d
GetPointValue
583
(
584
const
NXString
& cycleParamName
585
);
589
NXOpen::Point3d
GetPointValue
590
(
591
const
char
* cycleParamName
592
);
596
public
:
void
SetPointValue
597
(
598
const
NXString
& cycleParamName ,
599
const
NXOpen::Point3d
& point
600
);
604
void
SetPointValue
605
(
606
const
char
* cycleParamName ,
607
const
NXOpen::Point3d
& point
608
);
612
public
:
NXOpen::Vector3d
GetVectorValue
613
(
614
const
NXString
& cycleParamName
615
);
619
NXOpen::Vector3d
GetVectorValue
620
(
621
const
char
* cycleParamName
622
);
626
public
:
void
SetVectorValue
627
(
628
const
NXString
& cycleParamName ,
629
const
NXOpen::Vector3d
& vector
630
);
634
void
SetVectorValue
635
(
636
const
char
* cycleParamName ,
637
const
NXOpen::Vector3d
& vector
638
);
642
public
:
NXString
GetStringValue
643
(
644
const
NXString
& cycleParamName
645
);
649
NXString
GetStringValue
650
(
651
const
char
* cycleParamName
652
);
656
public
:
void
SetStringValue
657
(
658
const
NXString
& cycleParamName ,
659
const
NXString
& stringValue
660
);
664
void
SetStringValue
665
(
666
const
char
* cycleParamName ,
667
const
char
* stringValue
668
);
672
public
:
NXString
CycleTrackingPoint
673
(
674
);
678
public
:
void
SetCycleTrackingPoint
679
(
680
const
NXString
& cText
681
);
685
void
SetCycleTrackingPoint
686
(
687
const
char
* cText
688
);
692
public
:
NXOpen::CAM::CycleDwell
*
DwellAtDepth
693
(
694
);
698
public
:
NXOpen::CAM::CycleDwell
*
DwellAtStartPoint
699
(
700
);
704
public
:
NXOpen::CAM::CycleDwell
*
DwellBeforeCut
705
(
706
);
710
public
:
NXOpen::CAM::CycleDwell
*
DwellAtFinalDepth
711
(
712
);
716
public
:
NXOpen::CAM::CycleDwell
*
DwellBeforeEngage
717
(
718
);
722
public
:
NXOpen::CAM::CycleDwell
*
DwellBeforeRetract
723
(
724
);
728
public
:
NXOpen::CAM::CycleSpindle
*
SpindleBeforeEngage
729
(
730
);
734
public
:
NXOpen::CAM::CycleSpindle
*
SpindleBeforeRetract
735
(
736
);
740
public
:
NXOpen::CAM::CycleStepRetract
*
StepRetract
741
(
742
);
746
public
:
NXOpen::CAM::CycleNodragClearance
*
NodragClearance
747
(
748
);
752
public
:
NXOpen::CAM::CycleCoolant
*
CoolantBeforeEngage
753
(
754
);
758
public
:
NXOpen::CAM::CycleCoolant
*
CoolantBeforeCut
759
(
760
);
764
public
:
NXOpen::CAM::CycleCoolant
*
CoolantBeforeRetract
765
(
766
);
770
public
:
NXOpen::CAM::CycleTipRelease
*
TipRelease
771
(
772
);
773
};
774
}
775
}
776
#ifdef _MSC_VER
777
#pragma warning(pop)
778
#endif
779
#ifdef __GNUC__
780
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
781
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
782
#endif
783
#endif
784
#undef EXPORTLIBRARY