当前位置:网站首页>PolyWorks script development learning notes (4) - data import and alignment using file import
PolyWorks script development learning notes (4) - data import and alignment using file import
2022-07-03 09:25:00 【zeng31403】
Polyworks Script development learning notes ( Four )- utilize FILE IMPORT Import and align data
Import reference and data
- FILE IMPORT_REFERENCE Import referenced CAD Documents such as igs Format
The parameters in brackets are ( Import file path ,CAD layer -, Original file path )
FILE IMPORT_REFERENCE NURBS IGES ( “D:\CAD\11.igs”, , ) Import CAD file D:\CAD\11.igs
FILE IMPORT_REFERENCE NURBS IGES ( “D:\CAD\11.igs”,“aa” , ) Import CAD file D:\CAD\11.igs Of "aa" layer
FILE IMPORT_REFERENCE NURBS IGES ( {“D:\CAD\11.igs”,“D:\CAD\22.igs”}, , )
Import two... As a string array CAD file D:\CAD\11.igs and D:\CAD\22.igs
FILE IMPORT_REFERENCE NURBS IGES ( “D:\CAD\11.igs”, “D:\CAD\22.igs”)
Import "D:\CAD\11.igs" replace "D:\CAD\22.igs"
Of course , It is also possible to import triangulated models as reference data , as follows :
FILE IMPORT_REFERENCE POLYGONAL_MODEL ( “D:\PtCloud\111.stl”, “stl”, )
- FILE IMPORT_DATA Import the compared data
There are many formats for importing triangulated data, as follows , The most commonly used is stl FormatFILE IMPORT_DATA POLYGONAL_MODEL( “D:\PtCloud\111.stl”, “stl”, ) Import “D:\PtCloud\111.stl” As comparison data
FILE IMPORT_DATA POLYGONAL_MODEL( {“D:\PtCloud\111.stl”,“D:\PtCloud\222.stl”}, “stl”, )
Import “D:\PtCloud\111.stl” “D:\PtCloud\222.stl" Multiple triangulated data are used as comparison data
FILE IMPORT_DATA POLYGONAL_MODEL( “D:\PtCloud\111.stl”, “stl”,“D:\PtCloud\222.stl” )
Import “D:\PtCloud\111.stl” replace "D:\PtCloud\222.stl”
Set best fit alignment
Best fit alignment , Is to compare the data DATA And reference data REFERENCE A simple method of alignment using best fit
Using scripts requires setting alignment parameters first , Then the alignment method is realized .
For example, using best fit will 111.stl And 11.igs alignment
Set specified ( step 2) Reference objects for 11.igs( step 3)
Set specified ( step 4) Data objects for 111.stl( step 5)
Use pre alignment ( step 1) Align the best fit of the above data object to the reference object , Name it " Best fit to reference 5"( step 6)
ALIGN BEST_FIT DATA_TO_REFERENCE OPTIONS CREATE REFERENCE_OBJECTS ( “Specific” ) step 2
ALIGN BEST_FIT DATA_TO_REFERENCE OPTIONS CREATE REFERENCE_OBJECTS SPECIFIC ( “11.igs” ) step 3
ALIGN BEST_FIT DATA_TO_REFERENCE OPTIONS CREATE DATA_OBJECTS ( “Specific” ) step 4
ALIGN BEST_FIT DATA_TO_REFERENCE OPTIONS CREATE DATA_OBJECTS SPECIFIC ( “111.stl” ) step 5
ALIGN BEST_FIT DATA_TO_REFERENCE CREATE FIT_TO_REFERENCE_OBJECT_SURFACES USING_PRE_ALIGNMENT AUTOMATIC ( “ Best fit to reference 5” ) step 1+ step 6
边栏推荐
- Serializer rewrite: update and create methods
- [point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
- Powerdesign reverse wizard such as SQL and generates name and comment
- The less successful implementation and lessons of RESNET
- LeetCode每日一题(2090. K Radius Subarray Averages)
- [kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
- 【点云处理之论文狂读经典版12】—— FoldingNet: Point Cloud Auto-encoder via Deep Grid Deformation
- Spark cluster installation and deployment
- LeetCode每日一题(1996. The Number of Weak Characters in the Game)
- [point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds
猜你喜欢
2022-2-14 learning xiangniuke project - Session Management
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
npm install安装依赖包报错解决方法
[set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
Jenkins learning (II) -- setting up Chinese
Hudi 数据管理和存储概述
Detailed steps of windows installation redis
Windows安装Redis详细步骤
Hudi学习笔记(三) 核心概念剖析
Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
随机推荐
2022-2-13 learn the imitation Niuke project - Project debugging skills
Jenkins learning (III) -- setting scheduled tasks
Vscode编辑器右键没有Open In Default Browser选项
CATIA automation object architecture - detailed explanation of application objects (III) systemservice
【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?
Build a solo blog from scratch
CATIA automation object architecture - detailed explanation of application objects (I) document/settingcontrollers
【点云处理之论文狂读经典版12】—— FoldingNet: Point Cloud Auto-encoder via Deep Grid Deformation
【点云处理之论文狂读经典版10】—— PointCNN: Convolution On X-Transformed Points
[set theory] order relation (eight special elements in partial order relation | ① maximum element | ② minimum element | ③ maximum element | ④ minimum element | ⑤ upper bound | ⑥ lower bound | ⑦ minimu
State compression DP acwing 291 Mondrian's dream
Flink学习笔记(十一)Table API 和 SQL
Temper cattle ranking problem
Trial of the combination of RDS and crawler
LeetCode每日一题(2232. Minimize Result by Adding Parentheses to Expression)
LeetCode每日一题(2115. Find All Possible Recipes from Given Supplies)
Just graduate student reading thesis
Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)
Jenkins learning (I) -- Jenkins installation
NPM install installation dependency package error reporting solution