NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
32namespace 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 {
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 {
83
90
97 private: CycleImpl * m_cycle_impl;
98 private: friend class _CycleBuilder;
99 protected: Cycle();
100public: ~Cycle();
105 (
106 );
110 public: void SetCycleType
111 (
112 const NXString & cycleName
113 );
118 (
119 const char * cycleName
120 );
125 (
126 );
130 public: void SetDwell
131 (
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 );
209 (
210 double doubleValue
211 );
216 (
217 );
221 public: void SetText
222 (
223 const NXString & cText
224 );
229 (
230 const char * cText
231 );
236 (
237 );
241 public: void SetMotionOutput
242 (
244 );
249 (
250 );
255 (
256 );
261 (
262 bool camStatus
263 );
267 public: double StepClearance
268 (
269 );
273 public: void SetStepClearance
274 (
275 double doubleValue
276 );
281 (
282 );
286 public: void SetDwellStart
287 (
289 );
293 public: double DwellStartValue
294 (
295 );
300 (
301 double doubleValue
302 );
307 (
308 );
312 public: void SetDwellFinal
313 (
315 );
319 public: double DwellFinalValue
320 (
321 );
326 (
327 double doubleValue
328 );
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 );
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 );
443 (
444 bool oStatus
445 );
449 public: double Orientation
450 (
451 );
455 public: void SetOrientation
456 (
457 double orientation
458 );
463 (
464 const NXString & cycleParamName
465 );
470 (
471 const char * cycleParamName
472 );
477 (
478 const NXString & cycleParamName ,
479 bool parameterActive
480 );
485 (
486 const char * cycleParamName ,
487 bool parameterActive
488 );
492 public: int GetIntegerValue
493 (
494 const NXString & cycleParamName
495 );
500 (
501 const char * cycleParamName
502 );
506 public: void SetIntegerValue
507 (
508 const NXString & cycleParamName ,
509 int integerValue
510 );
515 (
516 const char * cycleParamName ,
517 int integerValue
518 );
522 public: double GetDoubleValue
523 (
524 const NXString & cycleParamName
525 );
530 (
531 const char * cycleParamName
532 );
536 public: void SetDoubleValue
537 (
538 const NXString & cycleParamName ,
539 double doubleValue
540 );
545 (
546 const char * cycleParamName ,
547 double doubleValue
548 );
552 public: bool GetBooleanValue
553 (
554 const NXString & cycleParamName
555 );
560 (
561 const char * cycleParamName
562 );
566 public: void SetBooleanValue
567 (
568 const NXString & cycleParamName ,
569 bool booleanValue
570 );
575 (
576 const char * cycleParamName ,
577 bool booleanValue
578 );
583 (
584 const NXString & cycleParamName
585 );
590 (
591 const char * cycleParamName
592 );
596 public: void SetPointValue
597 (
598 const NXString & cycleParamName ,
599 const NXOpen::Point3d & point
600 );
605 (
606 const char * cycleParamName ,
607 const NXOpen::Point3d & point
608 );
613 (
614 const NXString & cycleParamName
615 );
620 (
621 const char * cycleParamName
622 );
626 public: void SetVectorValue
627 (
628 const NXString & cycleParamName ,
629 const NXOpen::Vector3d & vector
630 );
635 (
636 const char * cycleParamName ,
637 const NXOpen::Vector3d & vector
638 );
643 (
644 const NXString & cycleParamName
645 );
650 (
651 const char * cycleParamName
652 );
656 public: void SetStringValue
657 (
658 const NXString & cycleParamName ,
659 const NXString & stringValue
660 );
665 (
666 const char * cycleParamName ,
667 const char * stringValue
668 );
673 (
674 );
679 (
680 const NXString & cText
681 );
686 (
687 const char * cText
688 );
693 (
694 );
699 (
700 );
705 (
706 );
711 (
712 );
717 (
718 );
723 (
724 );
729 (
730 );
735 (
736 );
741 (
742 );
747 (
748 );
753 (
754 );
759 (
760 );
765 (
766 );
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