NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Die_AddendumSectionBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Die_AddendumSectionBuilder.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_DieAttributesBuilder.hxx>
22
#include <NXOpen/Die_DieLimitsBuilder.hxx>
23
#include <NXOpen/Expression.hxx>
24
#include <NXOpen/Features_FeatureBuilder.hxx>
25
#include <NXOpen/ScCollector.hxx>
26
#include <NXOpen/Section.hxx>
27
#include <NXOpen/SelectObjectList.hxx>
28
#include <NXOpen/ugmath.hxx>
29
#include <NXOpen/libnxopencpp_die_exports.hxx>
30
#ifdef _MSC_VER
31
#pragma warning(push)
32
#pragma warning(disable:4996)
33
#endif
34
#ifdef __GNUC__
35
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36
#endif
37
namespace
NXOpen
38
{
39
namespace
Die
40
{
41
class
AddendumSectionBuilder
;
42
}
43
class
Curve
;
44
namespace
Die
45
{
46
class
DieAttributesBuilder
;
47
}
48
namespace
Die
49
{
50
class
DieLimitsBuilder
;
51
}
52
class
Direction
;
53
class
Expression
;
54
namespace
Features
55
{
56
class
FeatureBuilder
;
57
}
58
namespace
GeometricUtilities
59
{
60
class
CurveLengthData
;
61
}
62
class
Plane
;
63
class
Point
;
64
class
ScCollector
;
65
class
Section
;
66
class
SelectDisplayableObjectList
;
67
namespace
Die
68
{
69
class
_AddendumSectionBuilderBuilder;
70
class
AddendumSectionBuilderImpl;
76
class
NXOPENCPP_DIEEXPORT AddendumSectionBuilder :
public
NXOpen::Features::FeatureBuilder
77
{
79
public
:
enum
SectionLocationType
80
{
81
SectionLocationTypeAtPoint
,
82
SectionLocationTypeAtPlane
,
83
SectionLocationTypeWithCurve
84
};
85
86
public
:
enum
SectionShapeType
87
{
88
SectionShapeTypeBasic
,
89
SectionShapeTypeDrawBar
,
90
SectionShapeTypeSimple
,
91
SectionShapeTypeChannel
,
92
SectionShapeTypeBlend
,
93
SectionShapeTypeExtension
,
94
SectionShapeTypeSystem
,
95
SectionShapeTypeUserDefined
,
96
SectionShapeTypeReuse
,
97
SectionShapeTypeBlank
98
};
99
100
public
:
enum
SectionOrientationType
101
{
102
SectionOrientationTypeDefault
,
103
SectionOrientationTypeThreeDPerpendicular
,
104
SectionOrientationTypeConjugate
,
105
SectionOrientationTypeIsoparametric
,
106
SectionOrientationTypeIncidentEdge
,
107
SectionOrientationTypeBlank
108
};
109
110
public
:
enum
SurfaceBuildType
111
{
112
SurfaceBuildTypeNoSurface
,
113
SurfaceBuildTypeSectional
,
114
SurfaceBuildTypeCurveMesh
,
115
SurfaceBuildTypeChannelTunnelCap
,
116
SurfaceBuildTypeMultipleFaceBlend
,
117
SurfaceBuildTypeWallsOnly
,
118
SurfaceBuildTypeDiskFaceBlend
,
119
SurfaceBuildTypeSphereFaceBlend
120
};
121
122
public
:
enum
SegmentType
123
{
124
SegmentTypePlus
,
125
SegmentTypePunch
,
126
SegmentTypeFirstStretchWall
,
127
SegmentTypeReverse
,
128
SegmentTypeTrimLedge
,
129
SegmentTypeDiePunch
,
130
SegmentTypeSecondStretchWall
,
131
SegmentTypeDieReverse
,
132
SegmentTypeFlatToBead
133
};
134
135
public
:
enum
SegmentParameterType
136
{
137
SegmentParameterTypeLength
,
138
SegmentParameterTypeAngle
,
139
SegmentParameterTypeRadius
,
140
SegmentParameterTypeArcLength
141
};
142
private
:
AddendumSectionBuilderImpl
* m_addendumsectionbuilder_impl;
143
private
:
friend
class
_AddendumSectionBuilderBuilder;
144
protected
:
AddendumSectionBuilder
();
145
public
:
~AddendumSectionBuilder
();
149
public
:
NXOpen::Die::AddendumSectionBuilder::SectionLocationType
LocationType
150
(
151
);
155
public
:
void
SetLocationType
156
(
157
NXOpen::Die::AddendumSectionBuilder::SectionLocationType
locationType
158
);
162
public
:
NXOpen::Die::AddendumSectionBuilder::SectionShapeType
SectionShape
163
(
164
);
168
public
:
void
SetSectionShape
169
(
170
NXOpen::Die::AddendumSectionBuilder::SectionShapeType
sectionShape
171
);
175
public
:
NXOpen::Die::AddendumSectionBuilder::SectionOrientationType
SectionOrientation
176
(
177
);
181
public
:
void
SetSectionOrientation
182
(
183
NXOpen::Die::AddendumSectionBuilder::SectionOrientationType
sectionOrientation
184
);
188
public
:
NXOpen::Die::DieAttributesBuilder
*
Attributes
189
(
190
);
194
public
:
NXOpen::Point
*
SectionPoint
195
(
196
);
200
public
:
void
SetSectionPoint
201
(
202
NXOpen::Point
* sectionPoint
203
);
207
public
:
NXOpen::Curve
*
CurveToExtend
208
(
209
);
213
public
:
void
SetCurveToExtend
214
(
215
NXOpen::Curve
* curve
216
);
220
public
:
NXOpen::Curve
*
EditedConstraintCurve
221
(
222
);
226
public
:
void
SetEditedConstraintCurve
227
(
228
NXOpen::Curve
* curve
229
);
233
public
:
void
CutSection
234
(
235
NXOpen::Curve
* section ,
236
bool
copyPlaneData
237
);
241
public
:
void
TrimExtendConstraintCurve
242
(
243
NXOpen::Section
* constraintCurve
244
);
248
public
:
NXOpen::Section
*
DeleteExtendSection
249
(
250
);
254
public
:
void
CopySection
255
(
256
NXOpen::Curve
* section ,
257
bool
copyPlaneData
258
);
262
public
:
void
InitializeEditParameters
263
(
264
NXOpen::Curve
* section
265
);
269
public
:
double
UpdateSegment
270
(
271
bool
temporary ,
272
NXOpen::Curve
* section ,
273
NXOpen::Die::AddendumSectionBuilder::SegmentType
segment ,
274
double
lengthRadius ,
275
double
angle
276
);
280
public
:
void
LockSegment
281
(
282
NXOpen::Curve
* section ,
283
NXOpen::Die::AddendumSectionBuilder::SegmentType
segment ,
284
NXOpen::Die::AddendumSectionBuilder::SegmentParameterType
type
285
);
289
public
:
void
UnlockSegment
290
(
291
NXOpen::Curve
* section ,
292
NXOpen::Die::AddendumSectionBuilder::SegmentType
segment ,
293
NXOpen::Die::AddendumSectionBuilder::SegmentParameterType
type
294
);
298
public
:
void
ResetSection
299
(
300
NXOpen::Curve
* section
301
);
305
public
:
void
EditBlendSection
306
(
307
NXOpen::Curve
* section ,
308
double
radius
309
);
313
public
:
void
ReplaceSectionCurve
314
(
315
NXOpen::Curve
* section
316
);
320
public
:
void
TerminateEditParameters
321
(
322
NXOpen::Curve
* section
323
);
329
public
:
void
UpdateSection
330
(
331
NXOpen::Curve
* section
332
);
337
public
:
NXOpen::Curve
*
ConstraintCurveToEdit
338
(
339
);
344
public
:
NXOpen::GeometricUtilities::CurveLengthData
*
ExtendData
345
(
346
);
350
public
:
NXOpen::Expression
*
ExtendStartDistance
351
(
352
);
356
public
:
NXOpen::Expression
*
ExtendEndDistance
357
(
358
);
362
public
:
NXOpen::Section
*
CreateExtendSection
363
(
364
);
368
public
:
void
ReplaceConstraintCurve
369
(
370
NXOpen::Curve
* editedCurve
371
);
375
public
:
void
MoveSectionOrigin
376
(
377
NXOpen::Curve
* section ,
378
const
NXOpen::Point3d
& newOrigin ,
379
int
useSectionPlane
380
);
384
public
:
void
ChangeSectionPlane
385
(
386
NXOpen::Curve
* section ,
387
NXOpen::Direction
* plane
388
);
393
public
:
void
UpdateSectionAttributes
394
(
395
NXOpen::Curve
* section
396
);
401
public
:
void
PasteSectionFromCurve
402
(
403
NXOpen::Curve
* curve
404
);
408
public
:
void
CreateSectionFromReuse
409
(
410
const
NXString
& fileName
411
);
415
void
CreateSectionFromReuse
416
(
417
const
char
* fileName
418
);
422
public
:
void
UpdateSectionsAfterConstraintChange
423
(
424
);
428
public
:
void
MirrorSections
429
(
430
);
434
public
:
void
DeleteSections
435
(
436
);
440
public
:
void
CreateSection
441
(
442
);
446
public
:
void
RecreateSections
447
(
448
);
452
public
:
void
PasteSection
453
(
454
);
458
public
:
void
Reinitialize
459
(
460
);
464
public
:
NXOpen::Plane
*
SectionPlane
465
(
466
);
470
public
:
void
SetSectionPlane
471
(
472
NXOpen::Plane
* sectionPlane
473
);
477
public
:
NXOpen::Section
*
ByCurves
478
(
479
);
483
public
:
NXOpen::SelectDisplayableObjectList
*
Sections
484
(
485
);
489
public
:
NXOpen::Plane
*
MirrorPlane
490
(
491
);
495
public
:
void
SetMirrorPlane
496
(
497
NXOpen::Plane
* mirrorPlane
498
);
502
public
:
NXOpen::Direction
*
DrawDirection
503
(
504
);
508
public
:
void
SetDrawDirection
509
(
510
NXOpen::Direction
* punchDirection
511
);
515
public
:
void
DefaultDraw
516
(
517
);
521
public
:
NXOpen::ScCollector
*
ConstraintCurve
522
(
523
);
527
public
:
NXOpen::ScCollector
*
Product
528
(
529
);
533
public
:
NXOpen::ScCollector
*
ConstraintFaces
534
(
535
);
539
public
:
NXOpen::Expression
*
SmoothRadius
540
(
541
);
545
public
:
void
TranslateWall
546
(
547
);
551
public
:
void
SmoothCurve
552
(
553
);
557
public
:
NXOpen::Expression
*
TranslateDistance
558
(
559
);
563
public
:
NXOpen::Section
*
NeutralCurve
564
(
565
);
569
public
:
NXOpen::Die::AddendumSectionBuilder::SurfaceBuildType
SurfaceBuildMethod
570
(
571
);
575
public
:
void
SetSurfaceBuildMethod
576
(
577
NXOpen::Die::AddendumSectionBuilder::SurfaceBuildType
surfaceBuildMethod
578
);
582
public
:
NXOpen::Expression
*
PlusLength
583
(
584
);
588
public
:
NXOpen::Expression
*
MinimumTrimLedge
589
(
590
);
594
public
:
NXOpen::Expression
*
MinimumRadius
595
(
596
);
600
public
:
NXOpen::Expression
*
MinimumDraftAngle
601
(
602
);
606
public
:
NXOpen::Expression
*
MaximumPositive
607
(
608
);
612
public
:
NXOpen::Expression
*
MinimumNegative
613
(
614
);
618
public
:
double
FacetDensity
619
(
620
);
624
public
:
void
SetFacetDensity
625
(
626
double
facetDensity
627
);
631
public
:
double
DistanceTolerance
632
(
633
);
637
public
:
void
SetDistanceTolerance
638
(
639
double
distanceTolerance
640
);
644
public
:
double
AngleTolerance
645
(
646
);
650
public
:
void
SetAngleTolerance
651
(
652
double
angleTolerance
653
);
657
public
:
NXOpen::Die::DieLimitsBuilder
*
Limits
658
(
659
);
660
};
661
}
662
}
663
#ifdef _MSC_VER
664
#pragma warning(pop)
665
#endif
666
#ifdef __GNUC__
667
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
668
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
669
#endif
670
#endif
671
#undef EXPORTLIBRARY