当前位置:网站首页>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 Format
FILE 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
边栏推荐
- LeetCode每日一题(2109. Adding Spaces to a String)
- 【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
- Database execution error: SQL_ mode only_ full_ group_ by:
- Serializer rewrite: update and create methods
- 文件系统中的目录与切换操作
- 解决Editor.md上传图片获取不到图片地址问题
- Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
- Introduction to the basic application and skills of QT
- Tag paste operator (#)
- [point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds
猜你喜欢

2022-1-6 Niuke net brush sword finger offer

Hudi quick experience (including detailed operation steps and screenshots)

Hudi learning notes (III) analysis of core concepts

【Kotlin学习】类、对象和接口——定义类继承结构
![[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs](/img/0a/480f1d1eea6f2ecf84fd5aa96bd9fb.png)
[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs

2022-2-14 learning the imitation Niuke project - send email

Idea uses the MVN command to package and report an error, which is not available

Spark cluster installation and deployment

【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字

2022-2-13 learning the imitation Niuke project - home page of the development community
随机推荐
Spark cluster installation and deployment
LeetCode每日一题(1856. Maximum Subarray Min-Product)
Run flash demo on ECS
Go language - JSON processing
Numerical analysis notes (I): equation root
LeetCode每日一题(1362. Closest Divisors)
LeetCode每日一题(1024. Video Stitching)
【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
Introduction to the basic application and skills of QT
专利查询网站
Jenkins learning (III) -- setting scheduled tasks
Alibaba cloud notes for the first time
LeetCode每日一题(2212. Maximum Points in an Archery Competition)
【Kotlin学习】运算符重载及其他约定——重载算术运算符、比较运算符、集合与区间的约定
Hudi learning notes (III) analysis of core concepts
Build a solo blog from scratch
State compression DP acwing 91 Shortest Hamilton path
2022-2-14 learning xiangniuke project - Session Management
Simple use of MATLAB
LeetCode每日一题(516. Longest Palindromic Subsequence)