NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Tooling_DirectUnfoldBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Tooling_DirectUnfoldBuilder.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/ScCollector.hxx>
23#include <NXOpen/SelectObject.hxx>
24#include <NXOpen/SelectObjectList.hxx>
25#include <NXOpen/Tooling_DefineNeutralFactorBuilder.hxx>
26#include <NXOpen/libnxopencpp_tooling_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Tooling
37 {
39 }
40 namespace Assemblies
41 {
42 class SelectComponent;
43 }
44 class Builder;
45 class NXObject;
46 class ScCollector;
47 class SelectEdgeList;
48 class SelectFaceList;
49 namespace Tooling
50 {
52 }
53 namespace Tooling
54 {
55 class _DirectUnfoldBuilderBuilder;
56 class DirectUnfoldBuilderImpl;
93 class NXOPENCPP_TOOLINGEXPORT DirectUnfoldBuilder : public NXOpen::Builder
94 {
103
104 public: enum BodyList
105 {
107 };
108
109 public: enum MatType
110 {
112 };
113
122 private: DirectUnfoldBuilderImpl * m_directunfoldbuilder_impl;
123 private: friend class _DirectUnfoldBuilderBuilder;
124 protected: DirectUnfoldBuilder();
125 public: ~DirectUnfoldBuilder();
130 (
131 );
135 public: void SetUnfoldType
136 (
138 );
143 (
144 );
149 (
150 );
155 (
156 );
160 public: void SetCurBodies
161 (
163 );
168 (
169 );
174 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::PartMaterial instead.") NXOpen::Tooling::DirectUnfoldBuilder::MatType Materials
175 (
176 );
181 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetPartMaterial instead.") void SetMaterials
182 (
183 NXOpen::Tooling::DirectUnfoldBuilder::MatType materials
184 );
189 public: NX_DEPRECATED("Deprecated in NX10.0.0. This functionality is no longer supported.") void LoadDatabase
190 (
191 );
196 public: NX_DEPRECATED("Deprecated in NX10.0.0. This functionality is no longer supported.") void KByMaterial
197 (
198 );
203 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::NeutralFactor instead.") NXString KFactor
204 (
205 );
210 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetNeutralFactor instead.") void SetKFactor
211 (
212 const NXString & kFactor
213 );
219 (
220 const char * kFactor
221 );
226 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::BendDevelopedLength instead.") double DevLength
227 (
228 );
233 public: NX_DEPRECATED("Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetBendDevelopedLength instead.") void SetDevLength
234 (
235 double devLength
236 );
241 (
242 );
246 public: NXOpen::Tooling::DirectUnfoldBuilder::Bend NumBends
247 (
248 );
252 public: void SetNumBends
253 (
254 NXOpen::Tooling::DirectUnfoldBuilder::Bend numBends
255 );
259 public: double Angle1
260 (
261 );
265 public: void SetAngle1
266 (
267 double angle1
268 );
272 public: double Angle2
273 (
274 );
278 public: void SetAngle2
279 (
280 double angle2
281 );
285 public: double Angle3
286 (
287 );
291 public: void SetAngle3
292 (
293 double angle3
294 );
298 public: double Angle4
299 (
300 );
304 public: void SetAngle4
305 (
306 double angle4
307 );
311 public: double Angle5
312 (
313 );
317 public: void SetAngle5
318 (
319 double angle5
320 );
324 public: double Angle6
325 (
326 );
330 public: void SetAngle6
331 (
332 double angle6
333 );
337 public: int DesignSequence
338 (
339 );
343 public: void SetDesignSequence
344 (
345 int designSequence
346 );
350 public: int NumInter
351 (
352 );
356 public: void SetNumInter
357 (
358 int numInter
359 );
363 public: int StartStation
364 (
365 );
369 public: void SetStartStation
370 (
371 int startStation
372 );
376 public: double Pitch
377 (
378 );
382 public: void SetPitch
383 (
384 double pitch
385 );
389 public: int OrientPitch
390 (
391 );
395 public: void SetOrientPitch
396 (
397 int orientPitch
398 );
402 public: NXOpen::Assemblies::SelectComponent * InterStage
403 (
404 );
408 public: int EditOption
409 (
410 );
414 public: void SetEditOption
415 (
416 int editOption
417 );
422 (
423 );
428 (
429 const NXString & interNamingRule
430 );
435 (
436 const char * interNamingRule
437 );
441 public: bool InterRenameComp
442 (
443 );
448 (
449 bool interRenameComp
450 );
455 (
456 NXOpen::NXObject * baseBody
457 );
461 public: void MergeBends
462 (
463 const std::vector<NXOpen::NXObject *> & mergeBendsFaces
464 );
468 public: void DefinePreBends
469 (
470 const std::vector<NXOpen::NXObject *> & selBends
471 );
475 public: void DeleteBends
476 (
477 const std::vector<NXOpen::NXObject *> & bendFaces
478 );
483 (
484 NXOpen::NXObject * baseBody
485 );
490 (
491 double newKFactor ,
492 const std::vector<NXOpen::NXObject *> & bendUDO
493 );
497 public: std::vector<NXOpen::NXObject *> GetAllBendsUDO
498 (
499 NXOpen::NXObject * baseBody
500 );
504 public: void SetCurrentBody
505 (
506 NXOpen::NXObject * currentBody
507 );
512 (
513 );
514 };
515 }
516}
517#ifdef _MSC_VER
518#pragma warning(pop)
519#endif
520#ifdef __GNUC__
521#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
522#pragma GCC diagnostic warning "-Wdeprecated-declarations"
523#endif
524#endif
525#undef EXPORTLIBRARY