NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Die_TrimTaskBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Die_TrimTaskBuilder.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.hxx>
22#include <NXOpen/Features_FeatureBuilder.hxx>
23#include <NXOpen/libnxopencpp_die_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Die
34 {
35 class TrimTaskBuilder;
36 }
38 namespace Features
39 {
40 class Feature;
41 }
42 namespace Features
43 {
44 class FeatureBuilder;
45 }
46 class ILocation;
47 class IProfile;
48 class ISurface;
49 class View;
50 namespace Die
51 {
52 class _TrimTaskBuilderBuilder;
53 class TrimTaskBuilderImpl;
57 class NXOPENCPP_DIEEXPORT TrimTaskBuilder : public NXOpen::Features::FeatureBuilder
58 {
66
74 private: TrimTaskBuilderImpl * m_trimtaskbuilder_impl;
75 private: friend class _TrimTaskBuilderBuilder;
76 protected: TrimTaskBuilder();
77 public: ~TrimTaskBuilder();
81 public: void CheckAndMovePlanes
82 (
84 NXOpen::Features::Feature * targetTip ,
85 NXOpen::ISurface * origStartPlaneTag ,
86 NXOpen::ISurface * origEndPlaneTag ,
87 NXOpen::ISurface ** targetStartPlaneTag ,
88 NXOpen::ISurface ** targetEndPlaneTag
89 );
94 (
95 );
99 public: void SetTippedProduct
100 (
101 NXOpen::Features::Feature * tippedProduct
102 );
107 public: void SetTrimBounds
108 (
110 const std::vector<NXOpen::IProfile *> & profileEntries
111 );
115 public: std::vector<NXOpen::IProfile *> GetTrimBounds
116 (
118 );
123 (
124 );
128 public: void SetCamDirection
129 (
130 NXOpen::ILocation * camDirection
131 );
136 (
137 );
141 public: void SetStartPlane
142 (
143 NXOpen::ISurface * startPlane
144 );
149 (
150 );
154 public: void SetEndPlane
155 (
156 NXOpen::ISurface * endPlane
157 );
161 public: void SetScrapCutters
162 (
163 const std::vector<NXOpen::ISurface *> & planes
164 );
168 public: std::vector<NXOpen::ISurface *> GetScrapCutters
169 (
170 );
175 (
176 const std::vector<NXOpen::DisplayableObject *> & objects
177 );
181 public: std::vector<NXOpen::DisplayableObject *> GetAssociativeObjects
182 (
183 );
187 public: void SetCameraViews
188 (
189 const std::vector<NXOpen::View *> & objects
190 );
194 public: std::vector<NXOpen::View *> GetCameraViews
195 (
196 );
201 public: bool FinishOperation
202 (
203 );
209 (
210 bool finishOperation
211 );
216 public: bool LayoutFlange
217 (
218 );
223 public: void SetLayoutFlange
224 (
225 bool layoutFlange
226 );
231 public: bool CreateScrap
232 (
233 );
238 public: void SetCreateScrap
239 (
240 bool createScrap
241 );
246 public: bool ReverseTrimSide
247 (
248 );
254 (
255 bool reverse
256 );
261 (
262 );
266 public: void SetMatchCutType
267 (
269 );
274 (
275 );
279 public: void SetCamType
280 (
282 );
286 public: double AngleTolerance
287 (
288 );
292 public: void SetAngleTolerance
293 (
294 double angleTolerance
295 );
299 public: double DistanceTolerance
300 (
301 );
306 (
307 double distanceTolerance
308 );
312 public: void SetDetails
313 (
314 std::vector<NXString> & strings
315 );
319 public: std::vector<NXString> GetDetails
320 (
321 );
325 public: double MatchCutNotchOffset
326 (
327 );
332 (
333 double notchOffset
334 );
338 public: double MatchCutFirstRadius
339 (
340 );
345 (
346 double firstRadius
347 );
351 public: double MatchCutSecondRadius
352 (
353 );
358 (
359 double secondRadius
360 );
364 public: double MatchCutOffsetLength
365 (
366 );
371 (
372 double offsetLength
373 );
377 public: double MatchCutThirdRadius
378 (
379 );
384 (
385 double thirdRadius
386 );
391 (
392 );
397 (
398 double extensionAngle
399 );
404 (
405 );
410 (
411 double scrapCutterLength
412 );
417 (
418 );
423 (
424 double offsetFromPlane
425 );
431 public: std::vector<NXString> GetCameraLayerAndXmlp
432 (
433 std::vector<NXString> & xmlpData
434 );
439 (
440 std::vector<NXString> & layerSettings ,
443 std::vector<NXString> & xmlpData
444 );
448 public: void SetCameraNames
449 (
450 std::vector<NXString> & strings
451 );
455 public: std::vector<NXString> GetCameraNames
456 (
457 );
462 public: bool TrimNewDieFace
463 (
464 );
469 public: void SetTrimNewDieFace
470 (
471 bool newDieFace
472 );
473 };
474 }
475}
476#ifdef _MSC_VER
477#pragma warning(pop)
478#endif
479#ifdef __GNUC__
480#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
481#pragma GCC diagnostic warning "-Wdeprecated-declarations"
482#endif
483#endif
484#undef EXPORTLIBRARY