NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
NestingSettings.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 钣金排样设置的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// NestingSettings.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/TransientObject.hxx>
22
#include <NXOpen/libnxopencpp_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
class
NestingSettings
;
33
class
NestingSettingsImpl;
37
class
NXOPENCPPEXPORT
NestingSettings
:
public
NXOpen::TransientObject
38
{
40
public
:
enum
NestDirections
41
{
42
NestDirectionsBottomLeft
,
43
NestDirectionsBottomRight
,
44
NestDirectionsTopLeft
,
45
NestDirectionsTopRight
46
};
47
48
public
:
enum
EdgeToPartDistanceOptions
49
{
50
EdgeToPartDistanceOptionsSingle
,
51
EdgeToPartDistanceOptionsMultiple
52
};
53
54
public
:
enum
OutputOptions
55
{
56
OutputOptionsTwoD
,
57
OutputOptionsThreeD
58
};
59
private
:
NestingSettingsImpl
* m_nestingsettings_impl;
61
public
:
explicit
NestingSettings
(
void
*ptr);
63
66
public
:
virtual
~NestingSettings
();
70
public
:
int
BatchQuantity
71
(
72
);
76
public
:
void
SetBatchQuantity
77
(
78
int
batchQuantity
79
);
83
public
:
double
NestTime
84
(
85
);
89
public
:
void
SetNestTime
90
(
91
double
nestTime
92
);
96
public
:
NXOpen::NestingSettings::NestDirections
NestDirection
97
(
98
);
102
public
:
void
SetNestDirection
103
(
104
NXOpen::NestingSettings::NestDirections
anchorLocation
105
);
109
public
:
double
EdgeToPartDistance
110
(
111
);
115
public
:
double
LeftEdgeToPartDistance
116
(
117
);
121
public
:
double
RightEdgeToPartDistance
122
(
123
);
127
public
:
double
TopEdgeToPartDistance
128
(
129
);
133
public
:
double
BottomEdgeToPartDistance
134
(
135
);
139
public
:
NXOpen::NestingSettings::EdgeToPartDistanceOptions
EdgeToPartDistanceOption
140
(
141
);
145
public
:
void
SetEdgeToPartDistance
146
(
147
double
distance
148
);
152
public
:
void
SetLeftEdgeToPartDistance
153
(
154
double
leftEdgeToPartDistance
155
);
159
public
:
void
SetRightEdgeToPartDistance
160
(
161
double
rightEdgeToPartDistance
162
);
166
public
:
void
SetTopEdgeToPartDistance
167
(
168
double
topEdgeToPartDistance
169
);
173
public
:
void
SetBottomEdgeToPartDistance
174
(
175
double
bottomEdgeToPartDistance
176
);
180
public
:
void
SetEdgeToPartDistanceOption
181
(
182
NXOpen::NestingSettings::EdgeToPartDistanceOptions
edgeToPartDistanceOption
183
);
187
public
:
double
PartToPartDistance
188
(
189
);
193
public
:
void
SetPartToPartDistance
194
(
195
double
distance
196
);
200
public
:
NXString
OutputFilePath
201
(
202
);
206
public
:
void
SetOutputFilePath
207
(
208
const
NXString
& filePath
209
);
213
void
SetOutputFilePath
214
(
215
const
char
* filePath
216
);
220
public
:
NXString
StandardStockFilePath
221
(
222
);
226
public
:
void
SetStandardStockFilePath
227
(
228
const
NXString
& filePath
229
);
233
void
SetStandardStockFilePath
234
(
235
const
char
* filePath
236
);
240
public
:
void
AddLayerToCutLayers
241
(
242
int
layer
243
);
247
public
: std::vector<int>
GetCutLayers
248
(
249
);
253
public
:
void
ClearCutLayers
254
(
255
);
259
public
:
void
AddLayerToAttachLayers
260
(
261
int
layer
262
);
266
public
: std::vector<int>
GetAttachLayers
267
(
268
);
272
public
:
void
ClearAttachLayers
273
(
274
);
278
public
:
NXString
RemnantFolderLocation
279
(
280
);
284
public
:
void
SetRemnantFolderLocation
285
(
286
const
NXString
& folderPath
287
);
291
void
SetRemnantFolderLocation
292
(
293
const
char
* folderPath
294
);
298
public
:
double
RemnantMinDimension
299
(
300
);
304
public
:
void
SetRemnantMinDimension
305
(
306
double
minDimension
307
);
311
public
:
double
RemnantMinArea
312
(
313
);
317
public
:
void
SetRemnantMinArea
318
(
319
double
minArea
320
);
324
public
:
NXOpen::NestingSettings::OutputOptions
OutputOption
325
(
326
);
330
public
:
void
SetOutputOption
331
(
332
NXOpen::NestingSettings::OutputOptions
outputOption
333
);
334
};
//lint !e1712 default constructor not defined for class
335
}
336
#ifdef _MSC_VER
337
#pragma warning(pop)
338
#endif
339
#ifdef __GNUC__
340
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
341
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
342
#endif
343
#endif
344
#undef EXPORTLIBRARY