当前位置:网站首页>Shape template matching based on Halcon learning [9] PM_ multiple_ dxf_ models. Hdev routine -- [read and write XLD from DXF file]
Shape template matching based on Halcon learning [9] PM_ multiple_ dxf_ models. Hdev routine -- [read and write XLD from DXF file]
2022-07-05 07:55:00 【BoomBiuBiu】
* This sample program demonstrates how to read DXF File and how to use this object CAD Description generate shape model .
Others are similar to the previous blog , Mainly about the use of two operators .
dev_clear_window ()
* from DXF File read XLD outline
read_contour_xld_dxf (Contours, 'metal-part-' + J$'02', [], [], DxfStatus)
* from XLD Outline creates an image of a bright object with holes
gen_model_image_of_bright_object_with_holes (Contours, Image, 3.38, 646, 482)
dev_display (Image)name :read_contour_xld_dxf- from dxf File read xld outline .
describe :read_contour_xld_dxf Read dxf file name (dxf edition AC1009,AutoCAD edition 12) The content of , And convert it to xld contours. If the absolute path is not given in the file name , Will be in HALCON Search the current directory of the process DXF file .
Output parameters DxfStatus Contains information about the number of contours read , If necessary, , Also contains DXF Unexplained warnings in the file section .
Parameters
outline ( Output object )xld\u cont(-array)→ object
read XLD outline .
file name ( Input control ) file name . read → ( character string )
DXF The name of the document .
File extension :.dxf
GenParamName( Input control ) attribute . name (-array)→ ( character string )
For DXF Enter the name of the general parameter to be adjusted .
The default value is :[]
List of values :“ Maximum approximation error ”、“ Minimum value point ”、“ read attribute ”
GenParamValue( Input _ Control ) attribute . value (- Array )→ ( The set of real Numbers / Integers / character string )
For DXF Enter the general parameter value for adjustment .
The default value is :[]
recommended value :“ really ”、“ false ”、0.1、0.25、0.5、1、2、5、10、20
DxfStatus( Output control ) character string (- Array )→ ( character string )
State information
name :gen_model_image_of_bright_object_with_holes- from XLD Outline creates an image of a bright object with holes
Parameters
outline ( Input object ) object → object
ModelImage( Output object ) object → object
The zoom ( Input control ) arbitrarily → ( Tuples )
Width ( Input control ) arbitrarily → ( Tuples )
Height ( Input control ) arbitrarily → ( Tuples )
边栏推荐
- Altium designer 19.1.18 - hide the fly line of a network
- 万字详解八大排序 必读(代码+动图演示)
- 研究發現,跨境電商客服系統都有這五點功能!
- Altium designer 19.1.18 - Import frame
- 软件设计师:03-数据库系统
- Global and Chinese markets for flexible endoscopic lithotripsy devices 2022-2028: Research Report on technology, participants, trends, market size and share
- RTOS in the development of STM32 single chip microcomputer
- MLPerf Training v2.0 榜单发布,在同等GPU配置下百度飞桨性能世界第一
- Could NOT find XXX (missing: XXX_LIBRARY XXX_DIR)
- STM32 knowledge points
猜你喜欢

Altium designer learning (I)

1-stm32 operation environment construction

Acwing-宠物小精灵之收服-(多维01背包+正序倒序+两种形式dp求答案)

Win10 shortcut key

C language uses arrays to realize the intersection, union, difference and complement of sets

C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序

Altium Designer 19.1.18 - 更改铺铜的透明度

Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world

Significance and requirements of semiconductor particle control

A simple method to prove 1/t Fourier transform
随机推荐
MySQL blind note common functions
UEFI development learning 4 - getting to know variable services
Global and Chinese market of urban rail connectors 2022-2028: Research Report on technology, participants, trends, market size and share
如何进行导电滑环选型
Global and Chinese markets for medical oxygen machines 2022-2028: Research Report on technology, participants, trends, market size and share
assert_ Usage of param function
Extern keyword function
The research found that the cross-border e-commerce customer service system has these five functions!
mysql 盲注常见函数
IC software learning
Ads usage skills
The browser cannot access Baidu
High end electronic chips help upgrade traditional oil particle monitoring
Reasons for rapid wear of conductive slip rings
1-stm32 operation environment construction
Cadence simulation encountered "input.scs": can not open input file change path problem
Nombre - 1. Création de tableaux
Day01 markdown log entry tips
Day08 ternary operator extension operator character connector symbol priority
1089 insert or merge, including test point 5