基于Python编程语言的绗缝机NC代码的自动生成  被引量:3

Automating generate NC code of quilting machine based on programming language of Python

在线阅读下载全文

作  者:张子立 杨九铜 梅宇亮 朱志松[1] ZHANG Zili;YANG Jiutong;MEI Yuliang;ZHU Zhisong(School of Mechanical Engineering,Nantong University,Nantong,Jiangsu 226019,China)

机构地区:[1]南通大学机械工程学院

出  处:《毛纺科技》2019年第11期51-55,共5页Wool Textile Journal

基  金:江苏高校优势学科建设工程资助项目(苏财教[2018]192号);江苏省高等学校大学生创新创业训练计划(201810304070Y)

摘  要:针对绗缝机利用花型图案加工存在的问题,基于Python编程语言设计了一种自动生成NC代码的方法,根据绗缝机花型文件自动生成NC代码,用于绗缝机的加工,解决了绗缝机开放式数控系统加工过程中NC代码自动生成问题。根据花型文件中的数据结构,通过对花型文件中不同数据类型关键词的识别,获得所需各项参数,生成NC文件用于下位机加工。通过调用PyQt5软件中绘图图元等将生成的NC代码复现为花型图案。最后将复现花型与原始花型进行对比,用以校验NC代码的准确性。In order to solve the problem of quilting machines during the processing of pattern design, a method that using pattern file to generate NC code automatically in open CNC system of quilting machine was designed by Python. Based on the analyses of the pattern file, the pattern data were used to obtain the required parameters, and then the NC code was assigned to control the quilting machine. When the NC code finished, it was reproduced as a pattern by a drawing element in PyQt5. Finally, the recurring pattern was compared with the original pattern to verify the accuracy of the NC code.

关 键 词:绗缝机 NC代码 花型 PyQt5 

分 类 号:TS194.562.9[轻工技术与工程—纺织化学与染整工程] TP273[轻工技术与工程—纺织科学与工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象