当前位置:网站首页>PolyWorks script development learning notes (I) - script development environment
PolyWorks script development learning notes (I) - script development environment
2022-07-03 09:26:00 【zeng31403】
Polyworks Script development learning notes ( One )- Script development environment
background
Polyworks The scanning dimension measurement and analysis module of is a module often used in my work , I'm not measuring , But the use of Polyworks It is a very important tool to analyze the size matching of the scanned point cloud . This module is very powerful , If we can do a good job in secondary development , It will become a sharp tool for dimensional analysis .
Polyworks Scripting language
Polyworks Provides macro script development function , And it's very easy to use . It's a kind of similarity Lisp Macro script for , The threshold of getting started is very low , The system provides very powerful and detailed development documents , You can find in the help .
Open macro script , Open the link of the secondary development document , Its documentation is like this . This is the case file of the whole script development .
All commands used in the script are in the help " command " Documents can be opened in , The important commands are as follows :
Polyworks Macro script development tools
Under Tools menu , Use the command menu , Click start recording , And then operate , You can easily record macro commands . After recording , Paste into the script editor , You can learn and edit macro scripts .
The macro script editor is as follows : Paste the recorded macro command into the editor below , Using execution and step-by-step execution, you can debug .
Polyworks Basic structure of main object
stay Polyworks in , The main operations revolve around Treeview That is, the directory tree expands , Build project PROJECT after , Objects created OBJECT It is divided into the following basic types :
REFERENCE: Reference data Mostly for CAD, It can also be point cloud and triangulation model
DATA: Comparison data , Most of them are point clouds and triangulation models , And REFENCE compare
DATA_ ALIGNMENT: Data alignment , Definition DATA The alignment of , You can create multiple alignment groups , Under each alignment group is the alignment of the sequence
DATA_COLOR_MAP: Data color map , take DATA And REFERENCE After comparison , Thermodynamic diagram generated according to deviation
FEATURE: Survey features created , Divided into points / circular hole /SLOT hole / A straight line / Cylinder and other sub types
COORDINATE_SYSTEM : Coordinate system
CROSS_SECTION: section
COMPARISON_POINT: Comparison point
GAUGE: Gauge
REFERENCE_TARGET: Reference target , That is, the reference when aligning with the reference target
FORMATTED_REPORT : Format report , That is, the created test report
The parent class of the above type is OBJECT, All belong to this abstract type .
After all objects are grouped , be called OBJECT GROUP, Have group name , You can choose in groups / No election / Display etc. .
After mastering the method of operating these objects with macro script , Basically, you can use these commands to create some flexibility 、 Efficient tools .
边栏推荐
- Powerdesign reverse wizard such as SQL and generates name and comment
- 图像修复方法研究综述----论文笔记
- [point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis
- CATIA automation object architecture - detailed explanation of application objects (I) document/settingcontrollers
- [kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
- Hudi学习笔记(三) 核心概念剖析
- [point cloud processing paper crazy reading classic version 10] - pointcnn: revolution on x-transformed points
- 用Redis实现分布式锁
- Install third-party libraries such as Jieba under Anaconda pytorch
- [untitled] use of cmake
猜你喜欢

Navicat, MySQL export Er graph, er graph

Temper cattle ranking problem
![[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature](/img/66/2e7668cfed1ef4ddad26deed44a33a.png)
[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature

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

About the configuration of vs2008+rade CATIA v5r22

Jenkins learning (II) -- setting up Chinese

IDEA 中使用 Hudi

Using Hudi in idea

Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
![[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions](/img/a3/b442508af9b059d279cffb34dee9bf.png)
[kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
随机推荐
制作jetson nano最基本的根文件系统、服务器挂载NFS文件系统
LeetCode每日一题(745. Prefix and Suffix Search)
2022-1-6 Niuke net brush sword finger offer
LeetCode每日一题(2109. Adding Spaces to a String)
Detailed steps of windows installation redis
[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis
PowerDesigner does not display table fields, only displays table names and references, which can be modified synchronously
Overview of database system
Alibaba cloud notes for the first time
Using Hudi in idea
一款开源的Markdown转富文本编辑器的实现原理剖析
[kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
【Kotlin学习】高阶函数的控制流——lambda的返回语句和匿名函数
Spark 概述
Computing level network notes
Jenkins learning (III) -- setting scheduled tasks
WARNING: You are using pip ; however. Later, upgrade PIP failed, modulenotfounderror: no module named 'pip‘
Hudi 数据管理和存储概述
IDEA 中使用 Hudi
Hudi learning notes (III) analysis of core concepts