NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_ThreadBuilder.hxx
1//--------------------------------------------------------------------------
2// 版权所有 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API C++接口的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_ThreadBuilder.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/Expression.hxx>
22#include <NXOpen/Features_FeatureBuilder.hxx>
23#include <NXOpen/SelectObject.hxx>
24#include <NXOpen/libnxopencpp_features_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Features
35 {
36 class ThreadBuilder;
37 }
38 class Expression;
39 namespace Features
40 {
41 class FeatureBuilder;
42 }
44 namespace Features
45 {
46 class _ThreadBuilderBuilder;
47 class ThreadBuilderImpl;
101 class NXOPENCPP_FEATURESEXPORT ThreadBuilder : public NXOpen::Features::FeatureBuilder
102 {
104 public: enum Type
105 {
108 };
109
110 public: enum Input
111 {
114 };
115
122
128
134
140 private: ThreadBuilderImpl * m_threadbuilder_impl;
141 private: friend class _ThreadBuilderBuilder;
142 protected: ThreadBuilder();
143 public: ~ThreadBuilder();
148 (
149 );
153 public: void SetThreadType
154 (
156 );
161 (
162 );
167 (
168 );
173 (
174 );
179 (
180 bool reverseThreadDirection
181 );
186 (
187 );
191 public: void SetThreadStandard
192 (
193 const NXString & threadStandard
194 );
199 (
200 const char * threadStandard
201 );
205 public: double CylinderDiameter
206 (
207 );
212 public: NX_DEPRECATED("Deprecated in NX1953.0.0. Use NXOpen::Features::ThreadBuilder::MatchThreadSizeToCylinder instead.") bool SmartThread
213 (
214 );
219 public: NX_DEPRECATED("Deprecated in NX1953.0.0. Use NXOpen::Features::ThreadBuilder::SetMatchThreadSizeToCylinder instead.") void SetSmartThread
220 (
221 bool smartThread
222 );
227 (
228 );
232 public: void SetThreadSize
233 (
234 const NXString & threadSize
235 );
240 (
241 const char * threadSize
242 );
247 (
248 );
252 public: void SetRadialEngage
253 (
254 const NXString & radialEngage
255 );
260 (
261 const char * radialEngage
262 );
266 public: double TapDrillDiameter
267 (
268 );
272 public: double ShaftDiameter
273 (
274 );
279 (
280 );
285 (
286 NXOpen::Features::ThreadBuilder::Handedness threadHandedness
287 );
291 public: int NumStarts
292 (
293 );
297 public: void SetNumStarts
298 (
299 int numStarts
300 );
305 (
306 );
310 public: void SetThreadMethod
311 (
312 const NXString & threadMethod
313 );
318 (
319 const char * threadMethod
320 );
324 public: NXOpen::Features::ThreadBuilder::LimitOption ThreadLimit
325 (
326 );
330 public: void SetThreadLimit
331 (
332 NXOpen::Features::ThreadBuilder::LimitOption threadLimit
333 );
338 (
339 );
344 (
345 );
350 (
351 );
355 public: void SetHolePreference
356 (
357 NXOpen::Features::ThreadBuilder::HoleSizePreference holePreference
358 );
363 (
364 );
369 (
370 NXOpen::Features::ThreadBuilder::ShaftSizePreference shaftPreference
371 );
375 public: bool ExtendStart
376 (
377 );
381 public: void SetExtendStart
382 (
383 bool extendStart
384 );
389 (
390 );
395 (
396 bool matchThreadSizeToCylinder
397 );
401 public: bool Tapered
402 (
403 );
407 public: bool IsInternalThread
408 (
409 );
413 public: double Angle
414 (
415 );
419 public: double Pitch
420 (
421 );
425 public: double MajorDiameter
426 (
427 );
431 public: double MinorDiameter
432 (
433 );
437 public: NXOpen::Features::ThreadBuilder::Input ThreadInput
438 (
439 );
443 public: void SetThreadInput
444 (
445 NXOpen::Features::ThreadBuilder::Input threadInput
446 );
451 (
452 );
457 (
458 );
463 (
464 );
469 (
470 );
474 public: bool TaperedValue
475 (
476 );
480 public: void SetTaperedValue
481 (
482 bool taperedValue
483 );
488 (
489 );
494 (
495 );
497
500 public: std::vector<NXString> GetDecalStickers
501 (
502 );
504 };
505 }
506}
507#ifdef _MSC_VER
508#pragma warning(pop)
509#endif
510#ifdef __GNUC__
511#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
512#pragma GCC diagnostic warning "-Wdeprecated-declarations"
513#endif
514#endif
515#undef EXPORTLIBRARY