当前位置: 首页 > ai >正文

C# NX二次开发:投影曲线和偏置曲线UFUN函数详解

大家好,今天要讲的是关于投影曲线和偏置曲线相关的函数。

(1)UF_CURVE_create_proj_curves1:这个函数的定义为创建投影曲线。

Defined in: uf_curve.h
 

Overview

Creates projection curves.

Objects to project may be points, curves, sketch feature identifiers, or
other projected curve feature identifiers. The "number of curves and
points" is the number of such object tags (and does not include the
numbers of curves in any sketch or projection curve feature).

For copy_flag=1 or 2, a group identifier is returned. You can perform
operations on the entire group or extract individual curves from the
group and operate on them.

CAUTION: Because multiple projection curves can be returned for
single defining curves, no attempt is made to assure that the order of
the output curves in the group corresponds to the order of the input
curves. If the order is important, for copy_flag = 1 or 2, the curves
should be projected one at a time.

NOTE: The Along Vector option (proj_type = 3) projects the selected
objects along a specified vector. You can project the curves in the
direction indicated by the vector by setting the multiplicity to 1
(single), or in both directions by setting the multiplicity to 2 (both).
The Along Vector option produces all possible images on the face.

CAUTION: For copy_flag = 2 (move), new curves/points are created
and the original curves/points are deleted.
For a projected curve feature created using copy_flag=3, the feature
can be deleted using UF_MODL_delete_feature. Individual projection
curves of the feature can not be deleted.

UF_MODL_move_feature can be used to move the projected curve feature.

Points can not be projected using "angle and vector" (proj_type = 4)
or "equal arc length" (proj_type =6).

NOTE: You can change the tolerance used to create a curve
projection by using the subroutine UF_MODL_set_distance_tolerance.
The projection along face normals or along a vector produces an exact
projection when projecting onto a plane.
 

Environment

Internal and External
 

See Also

UF_MODL_create_proj_curves
UF_MODL_ask_proj_curves
UF_CURVE_ask_proj_curves
 

History

Originally released in NX4.0
 

Required License(s)

( solid_modeling  or  drafting )


 

int UF_CURVE_create_proj_curves1
(

int n_curve_refs,
tag_t * curve_refs,
int n_face_refs,
tag_t * face_refs,
int copy_flag,
UF_CURVE_proj1_p_t proj_data,
tag_t * proj_curve_feature

)

intn_curve_refsInputNumber of curves and points
tag_t *curve_refsInputArray of curve and point identifiers.
intn_face_refsInputNumber of sheet bodies, faces and planes
tag_t *face_refsInputArray of plane, datum plane, face or sheet body identifiers.
intcopy_flagInputCopy flag:
1 = copy
2 = move
3= associate
UF_CURVE_proj1_p_tproj_dataInputPointer to projection curve data structure.
See documentation of UF_CURVE_proj1_s for
entries.
tag_t *proj_curve_featureOutputGroup identifier for copy_flag = 1 or 2,
Projected curve feature identifier for
copy_flag=3

(2)UF_CURVE_create_offset_curve

Defined in: uf_curve.h
 

Overview

Offsets a string of curves (non-associative).
 

Environment

Internal and External
 

See Also

UF_CURVE_offset_data_t
 

Required License(s)

( solid_modeling  or  drafting )


 

int UF_CURVE_create_offset_curve
(

UF_CURVE_offset_data_p_t offset_data_pointer,
int * num_offset_curves,
tag_t * * offset_curve_tags

)

UF_CURVE_offset_data_p_toffset_data_pointerInputPointer to structure containing the
defining data of the offset curve.
int *num_offset_curvesOutputNumber of offset curves created
tag_t * *offset_curve_tagsOutput to UF_*free*Object identifiers of offset curves created.
Use UF_free to deallocate memory when done.

今天要介绍的就是这么多,我们下篇文章再见。

http://www.xdnf.cn/news/4319.html

相关文章:

  • Redis--哈希类型
  • 深度学习中的autograd与jacobian
  • C++ 日志系统实战第四步:设计与代码实现详解
  • 从0开始学习大模型--Day03--Agent规划与记忆
  • “胖都来”商标申请可以通过注册不!
  • 如何应对客户在验收后提出新需求?
  • ESP32蓝牙开发笔记(十四)
  • Zsh + iTerm2搭配使用教学,非常舒服,macOS
  • 系统架构-云原生架构设计
  • 14前端项目----登录/注册
  • 【强化学习】#4 蒙特卡洛方法
  • leetcode 70.爬楼梯(c++详细最全解法+补充知识)
  • C++ 备忘录模式详解
  • NVM完全指南:安装、配置与最佳实践
  • 尤雨溪宣布:Vue 生态正式引入 AI
  • 医疗人工智能大模型中的关键能力:【中期训练】mid-training
  • android中的背压问题及解决方案
  • AOP封装进行批量的数据查询并填充
  • shell 脚本
  • Android学习总结之MMKV(代替SharedPreferences)
  • 黑电平校正(Black Level Correction, BLC)算法
  • 【C++】C++中this指针的介绍及使用
  • 实现引用计数线程安全的shared_ptr
  • 从Huggingface下载模型的方法小结
  • Linux如何安装AppImage程序
  • WHAT - Rust 静态派发(Static Dispatch)和 动态派发(Dynamic Dispatch)
  • 计算机视觉注意力机制【一】常用注意力机制整理
  • The Action Replay Process
  • spark行动算子
  • Java中对象集合转换的优雅实现【实体属性范围缩小为vo】:ListUtil.convert方法详解