NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Weld_WeldJointBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口到 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Weld_WeldJointBuilder.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/Die_DieLimitsBuilder.hxx>
22#include <NXOpen/LineColorFontWidthBuilder.hxx>
23#include <NXOpen/Weld_StructureWeldBuilder.hxx>
24#include <NXOpen/ObjectList.hxx>
25#include <NXOpen/ScCollector.hxx>
26#include <NXOpen/SelectObjectList.hxx>
27#include <NXOpen/Weld_CharacteristicsBuilder.hxx>
28#include <NXOpen/Weld_JointItemBuilder.hxx>
29#include <NXOpen/ugmath.hxx>
30#include <NXOpen/libnxopencpp_weld_exports.hxx>
31#ifdef _MSC_VER
32#pragma warning(push)
33#pragma warning(disable:4996)
34#endif
35#ifdef __GNUC__
36#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
37#endif
38namespace NXOpen
39{
40 namespace Weld
41 {
42 class WeldJointBuilder;
43 }
44 namespace Assemblies
45 {
46 class Component;
47 }
48 class Curve;
49 namespace Die
50 {
51 class DieLimitsBuilder;
52 }
53 namespace Die
54 {
56 }
58 class Part;
59 namespace Routing
60 {
61 class Port;
62 }
63 class ScCollector;
64 class SelectCurveList;
66 namespace Weld
67 {
69 }
70 namespace Weld
71 {
72 class JointItemBuilder;
73 }
74 namespace Weld
75 {
77 }
78 namespace Weld
79 {
81 }
82 namespace Weld
83 {
84 class _WeldJointBuilderBuilder;
85 class WeldJointBuilderImpl;
101 class NXOPENCPP_WELDEXPORT WeldJointBuilder : public NXOpen::Weld::StructureWeldBuilder
102 {
112
125
131
144
145 public:
146 struct JointMidPointData
147 {
154 public: JointMidPointData() :
156 JointTangent(),
161{
162 }
164 public: JointMidPointData(const NXOpen::Point3d &jointMidPointInitial ,
165 const NXOpen::Vector3d &jointTangentInitial ,
166 const NXOpen::Vector3d &primaryFaceNormalInitial ,
167 const NXOpen::Vector3d &secondaryFaceNormalInitial ,
168 const NXOpen::Vector3d &groovePrimaryDirectionInitial ,
169 bool grooveAlignedWithPrimaryInitial ) :
170 JointMidPoint(jointMidPointInitial),
171 JointTangent(jointTangentInitial),
172 PrimaryFaceNormal(primaryFaceNormalInitial),
173 SecondaryFaceNormal(secondaryFaceNormalInitial),
174 GroovePrimaryDirection(groovePrimaryDirectionInitial),
175 GrooveAlignedWithPrimary(grooveAlignedWithPrimaryInitial)
176 {
177 }
178 };
179
185
192 private: WeldJointBuilderImpl * m_weldjointbuilder_impl;
193 private: friend class _WeldJointBuilderBuilder;
194 protected: WeldJointBuilder();
195 public: ~WeldJointBuilder();
203 (
204 );
209 (
210 );
215 (
216 );
223 (
224 );
232 (
233 );
241 (
242 );
250 (
251 );
259 (
260 );
267 (
268 );
275 (
276 );
283 (
284 );
289 (
290 );
294 public: void SetNamePrefix
295 (
296 const NXString & prefix
297 );
302 (
303 const char * prefix
304 );
309 (
310 );
314 public: void SetJointPrefix
315 (
316 const NXString & prefix
317 );
322 (
323 const char * prefix
324 );
329 (
330 );
334 public: void SetSubsetPart
335 (
336 NXOpen::Part * part
337 );
341 public: void Delete
342 (
343 );
348 (
349 );
353 public: void SetWorkPart
354 (
355 NXOpen::Part * part
356 );
361 (
362 );
369 (
370 );
374 public: void Split
375 (
376 );
380 public: void UpdateJointType
381 (
383 );
388 (
389 );
394 (
395 );
400 (
401 );
405 public: void MarkJointsToKeep
406 (
407 );
412 public: int NumberSegments
413 (
414 );
419 public: void SetNumberSegments
420 (
421 int numberSegments
422 );
426 public: double SplitAngle
427 (
428 );
432 public: void SetSplitAngle
433 (
434 double angle
435 );
439 public: double SplitLength
440 (
441 );
445 public: void SetSplitLength
446 (
447 double length
448 );
454 public: double SpacingLength
455 (
456 );
462 public: void SetSpacingLength
463 (
464 double length
465 );
469 public: double MaximumFaceGap
470 (
471 );
475 public: void SetMaximumFaceGap
476 (
477 double gapValue
478 );
489 public: void ShowJoints
490 (
491 );
496 (
497 );
501 public: void SetSplitOption
502 (
504 );
509 (
510 );
514 public: void SetWeldType
515 (
517 );
522 (
523 );
528 (
530 );
535 (
536 );
540 public: void SetDestination
541 (
543 );
548 (
549 );
553 public: void SetType
554 (
556 );
561 (
562 );
566 public: void SetCreateMethod
567 (
569 );
573 public: bool DuplicateCheck
574 (
575 );
579 public: void SetDuplicateCheck
580 (
581 bool status
582 );
586 public: bool AssociativeSplit
587 (
588 );
593 (
594 bool status
595 );
600 (
601 );
606 (
607 bool status
608 );
613 (
614 );
619 (
620 NXOpen::Curve * curve
621 );
626 (
627 NXOpen::Curve * curve
628 );
632 public: bool GetJointChanged
633 (
634 NXOpen::Curve * curve
635 );
639 public: void SetJointChanged
640 (
641 NXOpen::Curve * curve ,
642 bool changed
643 );
648 (
649 NXOpen::Curve * jointCurve
650 );
654 public: void UpdateCollectors
655 (
656 NXOpen::Curve * jointCurve
657 );
662 (
663 );
668 (
670 );
674 public: void CopyLimits
675 (
677 );
682 (
683 NXOpen::Curve * featureCurve ,
684 bool updateBuilder
685 );
690 (
691 const std::vector<double> & variableAngles
692 );
697 (
698 std::vector<double> & variableAngles
699 );
703 public: void GetConnectedParts
704 (
705 std::vector<NXOpen::Assemblies::Component *> & parts
706 );
710 public: void FindPortsInParts
711 (
712 const std::vector<NXOpen::Assemblies::Component *> & parts ,
713 std::vector<NXOpen::Routing::Port *> & ports
714 );
718 public: double GetPrimaryThickness
719 (
720 NXOpen::Curve * curve
721 );
726 (
727 NXOpen::Curve * curve
728 );
732 public: double GetAngleBetween
733 (
734 );
738 public: bool GetIsLongPoint
739 (
740 );
744 public: bool IsCornerOpen
745 (
746 );
750 public: bool IsPipeJoint
751 (
752 );
757 (
758 );
763 (
764 std::vector<NXOpen::Curve *> & curves ,
765 std::vector<NXOpen::Weld::JointItemBuilder *> & newItemBuilder
766 );
771 (
772 );
777 (
778 const NXString & message
779 );
784 (
785 const char * message
786 );
790 public: void SetErrorMessage
791 (
792 const NXString & message
793 );
798 (
799 const char * message
800 );
805 (
808 );
813 (
814 );
819 (
820 );
825 (
826 );
831 (
832 );
837 (
838 );
843 (
844 );
849 (
850 );
855 (
856 );
857 };
858 }
859}
860#ifdef _MSC_VER
861#pragma warning(pop)
862#endif
863#ifdef __GNUC__
864#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
865#pragma GCC diagnostic warning "-Wdeprecated-declarations"
866#endif
867#endif
868#undef EXPORTLIBRARY