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.pswp.cn/bicheng/80059.shtml
繁體地址,請注明出處:http://hk.pswp.cn/bicheng/80059.shtml
英文地址,請注明出處:http://en.pswp.cn/bicheng/80059.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

用R語言+隨機森林玩轉遙感空間預測-基于R語言機器學習遙感數據處理與模型空間預測技術及實際項目案例分析

遙感數據具有高維度、非線性及空間異質性等特點,傳統分析方法往往難以充分挖掘其信息價值。機器學習技術的引入為遙感數據處理與模型預測提供了新的解決方案,其中隨機森林(Random Forest)以其優異的性能和靈活性成為研究者的首選工…

unity 導入圖片后,可選擇精靈表自動切片,并可以導出為png

腳本源代碼: #if UNITY_EDITOR using UnityEditor; using UnityEngine; using System.IO; using UnityEditorInternal; using System.Collections.Generic; using System;public class TextureImporterWindow : EditorWindow {private string folderPath "D:…

使用 Azure DevSecOps 和 AIOps 構建可擴展且安全的多區域金融科技 SaaS 平臺

引言 金融科技行業有一個顯著特點:客戶期望能夠隨時隨地即時訪問其財務數據,并且對宕機零容忍。即使是短暫的中斷也會損害用戶的信心和忠誠度。與此同時,對數據泄露的擔憂已將安全提升到整個行業的首要地位。 在本文中,我們將探…

基于Django框架開發的B2C天天生鮮電商平臺

天天生鮮 介紹 天天生鮮是一個基于Django框架開發的B2C(Business-to-Customer)電商平臺,專注于生鮮食品的在線銷售。該項目采用了主流的Python Web開發框架Django,結合MySQL數據庫、Redis緩存等技術,實現了一個功能完整、界面友好的電商網站…

ASP.NET MVC4 技術單選及多選題目匯編

一、單選題(共50題,每題2分) 1、ASP.NET MVC4 的核心架構模式是什么? A. MVP B. MVVM C. MVC D.三層架構 答案:C 2、在 MVC4 中,默認的路由配置文件名是? A. Global.asax B. RouteConfig.cs C.…

26屆秋招收割offer指南

26屆暑期實習已經陸續啟動,這也意味著對于26屆的同學們來說,“找工作”已經提上了日程。為了幫助大家更好地準備暑期實習和秋招,本期主要從時間線、學習路線、核心知識點及投遞幾方面給大家介紹,希望能為大家提供一些實用的建議和…

數據中心機電建設

電氣系統 供配電系統 設計要求:數據中心通常需要雙路市電供電,以提高供電的可靠性。同時,配備柴油發電機組作為備用電源,確保在市電停電時能及時為關鍵設備供電。根據數據中心的規模和設備功耗,精確計算電力負荷&…

每日一題洛谷P1025 [NOIP 2001 提高組] 數的劃分c++

P1025 [NOIP 2001 提高組] 數的劃分 - 洛谷 (luogu.com.cn) #include<iostream> using namespace std; int n, k; int res 0; void dfs(int num,int step,int sum) {//判斷if (sum n) {if (step k) {res;return;}}if (sum > n || step k)return;//搜索for (int i …

大模型推理--從零搭建大模型推理服務器:硬件選購、Ubuntu雙系統安裝與環境配置

自從大模型火了之后就一直想自己組裝一臺機器去深入研究一下大模型&#xff0c;奈何囊中羞澀&#xff0c;遲遲也沒有行動。在下了很大的勇氣之后&#xff0c;終于花了接近4萬塊錢組裝了一臺臺式機&#xff0c;下面給大家詳細介紹一下我的裝機過程。 1.硬件配置 研究了一周&am…

第35周Zookkeeper+Dubbo Dubbo

Dubbo 詳解 一、Dubbo 是什么 官網與定義 Dubbo 是一款高性能、輕量級的開源服務框架&#xff0c;其官網為 double.apache.org&#xff0c;提供中文版本&#xff08;網址含 “zh”&#xff09;。 核心能力 Dubbo 具備六大核心能力&#xff1a; 面向接口代理的高性能 RPC …

NX二次開發——BlockUI 彈出另一個BlockUI對話框

最近在研究&#xff0c;裝配體下自動導出BOM表格中需要用到BlockUI 彈出另一個BlockUI對話框。通過對網上資料進行整理總結&#xff0c;具體如下&#xff1a; 1、明確主對話框、子對話框1和子對話框2 使用BlockUI創建.cpp和.hpp文件&#xff0c;dlx文件內容如下所示 主對話框…

PostgreSQL 系統管理函數詳解

PostgreSQL 系統管理函數詳解 PostgreSQL 提供了一系列強大的系統管理函數&#xff0c;用于數據庫維護、監控和配置。這些函數可分為多個類別&#xff0c;以下是主要功能的詳細說明&#xff1a; 一、數據庫配置函數 1. 參數管理函數 -- 查看所有配置參數 SELECT name, sett…

【2025軟考高級架構師】——計算機網絡(9)

摘要 全文主要圍繞計算機網絡相關知識展開&#xff0c;包括域名服務器查詢方式、網絡規劃與設計的關鍵技術、雙協議棧與隧道技術、層次化網絡設計、網絡冗余設計以及高可靠和高可用性等方面&#xff0c;旨在為軟考高級架構師的備考提供知識參考。 1. 通信網絡架構圖 2. 通信架…

yolov8n-obb訓練rknn模型

必備&#xff1a; 準備一臺ubuntu22的服務器或者虛擬機&#xff08;x86_64&#xff09; 1、數據集標注&#xff1a; 1&#xff09;推薦使用X-AnyLabeling標注工具 2&#xff09;標注選【旋轉框】 3&#xff09;可選AI標注&#xff0c;再手動補充&#xff0c;提高標注速度 …

前端-HTML+CSS+JavaScript+Vue+Ajax概述

HTML&#xff08;超文本標記語言&#xff09;常見標簽 <html><head> <title>這是標題的內容&#xff0c;顯示在瀏覽器的頭部</title></head><body><!-- 這里面的內容在瀏覽器顯示給用戶看 --><!-- h1 -> h6 : 標題從大到小 …

嵌入式軟件--stm32 DAY 5 USART串口通訊(上)

前邊我們學的都是通用的功能&#xff0c;例如GPIO、中斷&#xff0c;現在我們要學習的是某一個特定的功能。典型的就是通訊功能。其中&#xff0c;最簡單的通訊協議就是串口了。 一、串口_通訊基礎知識 1.1 串行與并行 按數據傳送的方式分類的。 串行通信一位一位傳輸&…

c++混淆工具Hikari-LLVM15-llvm-18.1.8rel編譯安裝

目錄 1. windows 編譯1. 2 編譯工具安裝1.2.1 下載w64devkit1.2.2 添加環境變量1.2.3 驗證一下 1.3 下載llvm-18.1.8rel1.4 編譯 2. Android studio增加混淆編譯2.1 替換NDK中clang2.2 配置混淆編譯項 3. Linux編譯安裝4. Linux下增加混淆編譯4.1 在CMakeLists.txt中設置clang編…

【EasyPan】loadDataList方法及checkRootFilePid方法解析

【EasyPan】項目常見問題解答&#xff08;自用&持續更新中…&#xff09;匯總版 一、loadDataList方法概覽 /*** 文件列表加載接口* param session HTTP會話對象* param shareId 必須參數&#xff0c;分享ID&#xff08;使用VerifyParam進行非空校驗&#xff09;* param …

Vue3渲染引擎:虛擬DOM與響應式原理

Vue3渲染引擎&#xff1a;虛擬DOM與響應式原理 在當今的前端開發中&#xff0c;Vue.js作為一種流行的JavaScript框架&#xff0c;經常被用來構建用戶界面。而Vue.js 3作為其最新版本&#xff0c;在性能和功能上進行了許多優化和改進。其中&#xff0c;Vue3渲染引擎的核心原理—…

【論文閱讀】Attentive Collaborative Filtering:

Attentive Collaborative Filtering: Multimedia Recommendation with Item- and Component-Level Attention Attentive Collaborative Filtering (ACF)、隱式反饋推薦、注意力機制、貝葉斯個性化排序 標題翻譯&#xff1a;注意力協同過濾&#xff1a;基于項目和組件級注意力的…