NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Weld_WeldPointBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件:JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Weld_WeldPointBuilder.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/Builder.hxx>
22#include <NXOpen/WeldAssistant.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_weld_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 Weld
35 {
36 class WeldPointBuilder;
37 }
38 class Builder;
39 class CoordinateSystem;
40 class Curve;
41 class Direction;
43 namespace Features
44 {
45 class Feature;
46 }
47 class Plane;
48 class Section;
49 class TaggedObject;
50 namespace Weld
51 {
52 class _WeldPointBuilderBuilder;
53 class WeldPointBuilderImpl;
189 class NXOPENCPP_WELDEXPORT WeldPointBuilder : public NXOpen::Builder
190 {
191 private: WeldPointBuilderImpl * m_weldpointbuilder_impl;
192 private: friend class _WeldPointBuilderBuilder;
193 protected: WeldPointBuilder();
194public: ~WeldPointBuilder();
199 (
200 );
204 public: void SetOutputType
205 (
206 NXOpen::Weld::OutputType outputType
207 );
212 (
213 );
218 (
219 int numConnectedPanels
220 );
225 (
226 );
231 (
232 NXOpen::Weld::WeldParasetLocation startDistLocation
233 );
238 (
239 NXOpen::Weld::WeldParasetLocation endDistLocation
240 );
245 (
246 );
251 (
252 );
256 public: void SetPointMethod
257 (
259 );
264 (
266 );
271 (
272 );
277 (
278 bool workCsysState
279 );
283 public: bool CsysWorkPartState
284 (
285 );
290 (
291 bool assyCsysState
292 );
296 public: bool CsysAssemblyState
297 (
298 );
303 (
304 bool thruWorkState
305 );
310 (
311 );
316 (
317 bool thruAssyState
318 );
323 (
324 );
328 public: void SetMirrorByType
329 (
330 bool mirrorByType
331 );
335 public: bool MirrorByType
336 (
337 );
342 (
343 );
348 (
350 );
355 (
356 );
360 public: void SetLocation
361 (
363 );
368 (
369 );
373 public: void SetExtendMethod
374 (
376 );
383 public: int SequenceNumber
384 (
385 );
392 public: void SetSequenceNumber
393 (
394 int sequenceNumber
395 );
400 (
401 );
405 public: void SetMirrorPlane
406 (
407 NXOpen::Plane * mirrorPlane
408 );
413 (
414 );
418 public: void SetTranslateCsys
419 (
420 NXOpen::CoordinateSystem * translateCsys
421 );
426 (
427 );
431 public: void SetOffsetDistance
432 (
433 const NXString & offsetDistance
434 );
439 (
440 const char * offsetDistance
441 );
446 (
447 );
451 public: void SetStartDistance
452 (
453 const NXString & startDistStr
454 );
459 (
460 const char * startDistStr
461 );
466 (
467 );
471 public: void SetEndDistance
472 (
473 const NXString & endDistStr
474 );
479 (
480 const char * endDistStr
481 );
486 (
487 );
491 public: void SetSpacingNumber
492 (
493 const NXString & spacingOrNumberStr
494 );
499 (
500 const char * spacingOrNumberStr
501 );
506 (
507 );
512 (
513 const NXString & transXDistStr
514 );
519 (
520 const char * transXDistStr
521 );
526 (
527 );
532 (
533 const NXString & transYDistStr
534 );
539 (
540 const char * transYDistStr
541 );
546 (
547 );
552 (
553 const NXString & transZDistStr
554 );
559 (
560 const char * transZDistStr
561 );
565 public: double DistanceTolerance
566 (
567 );
572 (
573 double distanceTolerance
574 );
578 public: double PointsGuideDistance
579 (
580 );
585 (
586 double pointsGuideDist
587 );
591 public: double CustomRadius
592 (
593 );
597 public: void SetCustomRadius
598 (
599 double customRadius
600 );
604 public: double CustomCylinderAbove
605 (
606 );
611 (
612 double customCylinderAbove
613 );
618 (
619 );
624 (
625 double totalCylinderLength
626 );
631 (
632 );
637 (
638 double measurementDefaultWidth
639 );
644 (
645 );
650 (
651 double measurementDefaultHeight
652 );
656 public: double MeasurementHoleSize
657 (
658 );
663 (
664 double holeSize
665 );
669 public: double MeasurementSlotWidth
670 (
671 );
676 (
677 double slotWidth
678 );
683 (
684 );
689 (
690 double slotLength
691 );
695 public: double MeasurementStudSize
696 (
697 );
702 (
703 double studSize
704 );
709 (
710 );
714 public: void SetSolidType
715 (
716 NXOpen::Weld::WeldCustom solidType
717 );
722 (
723 );
727 public: void SetWeldType
728 (
730 );
735 (
736 );
741 (
743 );
748 (
749 bool connectingOnlyOnePart
750 );
755 (
756 );
761 (
762 NXOpen::Direction * direction
763 );
768 (
769 );
774 (
775 const NXOpen::Vector3d & direction
776 );
781 (
782 );
787 (
788 );
793 (
794 NXOpen::Plane * plane
795 );
800 (
801 );
806 (
807 NXOpen::Weld::WeldSpacingCalcMethod spacingCalcMethod
808 );
813 (
814 );
819 (
821 );
826 (
827 );
832 (
834 );
839 (
840 );
845 (
847 );
851 public: void SetSizeMethod
852 (
854 );
859 (
860 );
864 public: void GetSectionCurves
865 (
866 NXOpen::Section * section ,
867 std::vector<NXOpen::Curve *> & curves
868 );
872 public: void GetFaceSet
873 (
874 int facesetIndex ,
875 std::vector<NXOpen::DisplayableObject *> & objects ,
876 std::vector<NXOpen::Features::Feature *> & frecs
877 );
881 public: void SetFaceSet
882 (
883 NXOpen::Weld::WeldFacesetIndex facesetIndex ,
884 const std::vector<NXOpen::DisplayableObject *> & objects
885 );
890 (
892 );
896 public: void ClearFaceSets
897 (
898 );
902 public: void CommitFaceSets
903 (
904 );
909 (
910 );
915 (
916 int currentRefSheet
917 );
922 (
923 const NXOpen::Point3d & pointCoord
924 );
928 public: void SetFirstSection
929 (
930 NXOpen::Section * section
931 );
936 (
937 NXOpen::Section * totalSection
938 );
943 (
944 NXOpen::Section * totalSection
945 );
949 public: void SetSecondSection
950 (
951 NXOpen::Section * section
952 );
957 (
958 );
963 (
964 std::vector<NXOpen::Point3d> & points
965 );
969 public: void SetPoint
970 (
971 int index
972 );
977 (
978 const NXString & attrTitle ,
980 const NXString & attrValue
981 );
986 (
987 const char * attrTitle ,
989 const char * attrValue
990 );
994 public: void UpdateCsys
995 (
996 const NXOpen::Point3d & origin ,
997 const NXOpen::Matrix3x3 & matrix
998 );
1002 public: void MovePoint
1003 (
1004 const NXOpen::Point3d & origin
1005 );
1010 (
1011 );
1015 public: void CommitSection
1016 (
1017 NXOpen::Section * path
1018 );
1022 public: void SetSelectionType
1023 (
1024 NXOpen::Weld::WeldSelectionType selectionType
1025 );
1029 public: void FlipZAxis
1030 (
1031 );
1036 (
1037 );
1042 (
1043 );
1048 (
1049 NXOpen::Weld::WeldCreationDirection creationDirection
1050 );
1055 (
1056 const std::vector<NXOpen::TaggedObject *> & refs
1057 );
1062 (
1063 std::vector<NXOpen::DisplayableObject *> & objects
1064 );
1069 (
1070 );
1075 (
1076 const NXString & attrTitle ,
1078 const NXString & attrValue
1079 );
1084 (
1085 const char * attrTitle ,
1087 const char * attrValue
1088 );
1092 public: void RemoveWeldPoint
1093 (
1094 );
1098 public: int GetNumFaceSets
1099 (
1100 );
1105 (
1106 );
1111 (
1112 );
1117 (
1118 );
1122 public: void GetCsys
1123 (
1124 NXOpen::Point3d* origin ,
1125 NXOpen::Matrix3x3* matrix
1126 );
1130 public: void ProjectPoints
1131 (
1132 );
1133 };
1134 }
1135}
1136#ifdef _MSC_VER
1137#pragma warning(pop)
1138#endif
1139#ifdef __GNUC__
1140#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1141#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1142#endif
1143#endif
1144#undef EXPORTLIBRARY