当前位置:网站首页>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
边栏推荐
- Alibaba cloud notes for the first time
- About the configuration of vs2008+rade CATIA v5r22
- The idea of compiling VBA Encyclopedia
- CATIA automation object architecture - detailed explanation of application objects (III) systemservice
- Hudi learning notes (III) analysis of core concepts
- LeetCode每日一题(1300. Sum of Mutated Array Closest to Target)
- Navicat, MySQL export Er graph, er graph
- PowerDesigner does not display table fields, only displays table names and references, which can be modified synchronously
- Spark overview
- Go language - Reflection
猜你喜欢

Flink学习笔记(十一)Table API 和 SQL

Using Hudi in idea

Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)

【点云处理之论文狂读前沿版9】—Advanced Feature Learning on Point Clouds using Multi-resolution Features and Learni

Jenkins learning (III) -- setting scheduled tasks

LeetCode每日一题(2212. Maximum Points in an Archery Competition)

Move anaconda, pycharm and jupyter notebook to mobile hard disk

Flink学习笔记(九)状态编程

Hudi data management and storage overview

软件测试工程师是做什么的 通过技术测试软件程序中是否有漏洞
随机推荐
图像修复方法研究综述----论文笔记
全球KYC服务商ADVANCE.AI 活体检测产品通过ISO国际安全认证 产品能力再上一新台阶
制作jetson nano最基本的根文件系统、服务器挂载NFS文件系统
Go language - JSON processing
专利查询网站
MySQL installation and configuration (command line version)
Vscode编辑器右键没有Open In Default Browser选项
Hudi data management and storage overview
[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
LeetCode每日一题(516. Longest Palindromic Subsequence)
Beego learning - Tencent cloud upload pictures
Utilisation de hudi dans idea
[graduation season | advanced technology Er] another graduation season, I change my career as soon as I graduate, from animal science to programmer. Programmers have something to say in 10 years
[advanced feature learning on point clouds using multi resolution features and learning]
Hudi quick experience (including detailed operation steps and screenshots)
Flink学习笔记(十)Flink容错机制
2022-2-14 learning xiangniuke project - generate verification code
Solve POM in idea Comment top line problem in XML file
Beego learning - JWT realizes user login and registration
Hudi 数据管理和存储概述