NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
30namespace NXOpen
31{
32 class NestingSettings;
33 class NestingSettingsImpl;
37 class NXOPENCPPEXPORT NestingSettings : public NXOpen::TransientObject
38 {
47
53
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 );
97 (
98 );
102 public: void SetNestDirection
103 (
105 );
109 public: double EdgeToPartDistance
110 (
111 );
116 (
117 );
122 (
123 );
128 (
129 );
134 (
135 );
140 (
141 );
146 (
147 double distance
148 );
153 (
154 double leftEdgeToPartDistance
155 );
160 (
161 double rightEdgeToPartDistance
162 );
167 (
168 double topEdgeToPartDistance
169 );
174 (
175 double bottomEdgeToPartDistance
176 );
181 (
183 );
187 public: double PartToPartDistance
188 (
189 );
194 (
195 double distance
196 );
201 (
202 );
206 public: void SetOutputFilePath
207 (
208 const NXString & filePath
209 );
214 (
215 const char * filePath
216 );
221 (
222 );
227 (
228 const NXString & filePath
229 );
234 (
235 const char * filePath
236 );
241 (
242 int layer
243 );
247 public: std::vector<int> GetCutLayers
248 (
249 );
253 public: void ClearCutLayers
254 (
255 );
260 (
261 int layer
262 );
266 public: std::vector<int> GetAttachLayers
267 (
268 );
272 public: void ClearAttachLayers
273 (
274 );
279 (
280 );
285 (
286 const NXString & folderPath
287 );
292 (
293 const char * folderPath
294 );
298 public: double RemnantMinDimension
299 (
300 );
305 (
306 double minDimension
307 );
311 public: double RemnantMinArea
312 (
313 );
317 public: void SetRemnantMinArea
318 (
319 double minArea
320 );
325 (
326 );
330 public: void SetOutputOption
331 (
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