当前位置:网站首页>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 .
边栏推荐
- Vscode编辑器右键没有Open In Default Browser选项
- Spark 集群安装与部署
- [solution to the new version of Flink without bat startup file]
- Jenkins learning (I) -- Jenkins installation
- [point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
- Uc/os self-study from 0
- Flink学习笔记(十)Flink容错机制
- 2022-1-6 Niuke net brush sword finger offer
- 2022-2-13 learning xiangniuke project - version control
- Filter comments to filter out uncommented and default values
猜你喜欢
Go language - JSON processing
Solve POM in idea Comment top line problem in XML file
Construction of simple database learning environment
Flink学习笔记(九)状态编程
Alibaba cloud notes for the first time
Using Hudi in idea
Principles of computer composition - cache, connection mapping, learning experience
2022-2-13 learning xiangniuke project - version control
[advanced feature learning on point clouds using multi resolution features and learning]
Windows安装Redis详细步骤
随机推荐
[point cloud processing paper crazy reading classic version 11] - mining point cloud local structures by kernel correlation and graph pooling
WARNING: You are using pip ; however. Later, upgrade PIP failed, modulenotfounderror: no module named 'pip‘
npm install安装依赖包报错解决方法
Crawler career from scratch (II): crawl the photos of my little sister ② (the website has been disabled)
[advanced feature learning on point clouds using multi resolution features and learning]
Go language - JSON processing
Flask+supervisor installation realizes background process resident
LeetCode每日一题(985. Sum of Even Numbers After Queries)
Spark overview
[set theory] order relation (eight special elements in partial order relation | ① maximum element | ② minimum element | ③ maximum element | ④ minimum element | ⑤ upper bound | ⑥ lower bound | ⑦ minimu
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
Using Hudi in 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
About the configuration of vs2008+rade CATIA v5r22
2022-1-6 Niuke net brush sword finger offer
从0开始使用pnpm构建一个Monorepo方式管理的demo
[kotlin learning] classes, objects and interfaces - define class inheritance structure
Windows安装Redis详细步骤
Logstash+jdbc data synchronization +head display problems
Notes on numerical analysis (II): numerical solution of linear equations