[1]刘 乐,任祥放,金 鹏,等.基于Python的女式衬衫版样自动化生成技术[J].服装学报,2023,8(03):201-210.
 LIU Le,REN Xiangfang,JIN Peng,et al.Automatic Generation Technology of Women’s Ahirt Template Based on Python[J].Journal of Clothing Research,2023,8(03):201-210.
点击复制

基于Python的女式衬衫版样自动化生成技术()
分享到:

《服装学报》[ISSN:2096-1928/CN:32-1864/TS]

卷:
第8卷
期数:
2023年03期
页码:
201-210
栏目:
服装智造
出版日期:
2023-06-30

文章信息/Info

Title:
Automatic Generation Technology of Women’s Ahirt Template Based on Python
作者:
刘 乐1;  任祥放1;  金 鹏2;  沈 雷*1;  王 军3
1. 江南大学 设计学院,江苏 无锡 214122; 2. 东华大学 服装与艺术设计学院,上海 200051; 3. 红豆工业互联网有限公司,江苏 无锡 214000
Author(s):
LIU Le1;  REN Xiangfang1;  JIN Peng2;  SHEN Lei*1;  WANG Jun3
1. School of Design, Jiangnan University, Wuxi 214122, China; 2. College of Fashion and Design, Donghua University, Shanghai 200051, China; 3.Hongdou Industrial Internet Co., Ltd., Wuxi 214000, China
分类号:
TS 941.26
文献标志码:
A
摘要:
为解决自动化制版技术与工业化生产设备的兼容性等问题,结合Python语言和AutoCAD二次开发功能,提出了一种女式衬衫参数化版样自动生成技术。通过分析版样曲线拟合原理,设计3种“离散曲线”算法。根据女式衬衫制版原理计算各控制点与领围、胸围、衣长、袖长和袖头宽5个关键参数的线性关系,搭建女式衬衫参数化算法模型框架,并采用MATLAB拟合工具箱Curve Fitting Tool进行曲线真值拟合误差比对。结果表明:女式衬衫参数化版样自动生成技术可以实现个性化纸样的快速生成; 自动生成版样可作为车间数控裁剪设备的走刀路径,用于实现全自动化生产; 自动生成的曲线真值拟合误差各参数良好,手工制版与自动生成的曲线拟合相似度接近。该技术可应用到其他服装品类,提高服装个性化定制的快速反应能力。
Abstract:
In order to solve the problem of compatibility between automatic platemaking technology and industrial production equipment, combining Python language and AutoCAD secondary development function, an automatic generation technology of parametric sample of blouse was proposed. By analyzing the model curve fitting principle, three "discrete curve" algorithms were designed. According to the platemaking principle of women’s blouse, the linear relationship between each control point and five key parameters including collar circumference, chest circumference, garment length, sleeve length and sleeve width were calculated, and the parametric algorithm model framework of women’s blouse was built. MATLAB Curve Fitting Tool was used to compare the fitting errors of curve true value. The results showed that the automatic generation technology of parametric pattern could realize the rapid generation of personalized pattern. The sample could be used as the cutting path of CNC cutting equipment in the workshop to realize fully automatic production. Automatically generated curve true value fitting error parameters were good. Manual plate making and automatically generated curve fitting was similar. The technology can be applied to other clothing categories to improve the rapid response ability of personalized clothing customization.

参考文献/References:

[1] 楼政浩. 服装样版放码技术核心算法研究与系统实现[D].杭州:浙江大学,2018.
[2] 章华霞.服装CAD软件中纸样放码方法的对比分析[J].天津纺织科技, 2015(4): 32-33.
ZHANG Huaxia. Comparative analysis of pattern grading methods in clothing CAD software[J]. Tianjin Textile Science and Technology, 2015(4): 32-33.(in Chinese)
[3] 冀艳波,王玲丽,刘凯旋.基于数字化三维人体模型的旗袍定制设计[J].纺织学报,2021,42(1): 133-137, 144.
JI Yanbo, WANG Lingli, LIU Kaixuan. Custom design of cheongsam based on digital 3D human model[J]. Journal of Textile Research, 2021, 42(1): 133-137, 144.(in Chinese)
[4] KIM S. Simulation of bespoke garments using parametrically designed patterns[J]. International Journal of Clothing Science and Technology, 2012, 24(5): 350-362.
[5] YAN J Q, KUZMICHEV V E. A virtual e-bespoke men’s shirt based on new body measurements and method of pattern drafting[J]. Textile Research Journal, 2020, 90(19/20): 2223-2244.
[6] 叶勤文,张皋鹏.基于AutoCAD参数化的个性化服装纸样生成[J].纺织学报,2019,40(4): 103-110.
YE Qinwen, ZHANG Gaopeng. Generation of personalized garment pattern based on AutoCAD parameterization[J]. Journal of Textile Research, 2019, 40(4): 103-110.(in Chinese)
[7] PAPACHRISTOU E, KYRATSIS P, BILALIS N. A comparative study of open-source and licensed CAD software to support garment development learning[J]. Machines, 2019, 7(2): 30.
[8] 凌雅丽, 朱凌轩, 邵晓煊, 等. 亚洲男士西服基本纸样自动生成系统的建立[J]. 纺织学报, 2020, 41(9)108-113, 118.
LING Yali, ZHU Lingxuan, SHAO Xiaoxuan, et al. Development of automatic pattern generation system for Asian men’s suits[J]. Journal of Textile Research, 2020, 41(9)108-113, 118.(in Chinese)
[9] 张伶俐, 张皋鹏. 应用MatLab的服装纸样参数化平面制版[J]. 纺织学报, 2019, 40(1)130-135.
ZHANG Lingli, ZHANG Gaopeng. Parametric flat pattern design for clothing based on MatLab[J]. Journal of Textile Research, 2019, 40(1)130-135.(in Chinese)
[10] 胡长鹏,张巨俭,刘瑞璞.基于VLISP和OpenDCL的西装智能CAD系统的实现[J].天津工业大学学报,2010,29(5)33-36.
HU Changpeng, ZHANG Jujian, LIU Ruipu. Realization of intelligent CAD systems of suits production based on VLISP and OpenDCL[J]. Journal of Tianjin Polytechnic University, 2010, 29(5)33-36.(in Chinese)
[11] 李永刚.基于Python的计算机软件应用技术研究[J].无线互联科技,2021,18(11):36-37.
LI Yonggang. Research on computer software application technology based on Python[J]. Wireless Internet Technology, 2021(11): 36-37.(in Chinese)
[12] 王琳,付彦娟,陈亚洲.一种AutoCAD扇形框选新方法[J].机械设计与制造,2019(6): 178-180, 185.
WANG Lin, FU Yanjuan, CHEN Yazhou. A new fan box selection method in AutoCAD[J]. Machinery Design and Manufacture, 2019(6): 178-180, 185.(in Chinese)
[13] CHEN F J, ZHANG H D. Approximation calculation of discrete data by arc Splines[J]. Mechanical Research and Application, 2012, 3(7): 23-34.
[14] 施雯.代数曲线的双圆弧逼近与等距线构造[D].杭州: 浙江工业大学,2012: 23-26.
[15] 杨泽林,马凯,吕静.DXF文件的椭圆(弧)曲线拟合算法的设计与实现[J].自动化仪表,2011,32(11):13-16.
YANG Zelin, MA Kai, LYU Jing. Design and implementation of ellipse(arc)curve fitting algorithm by adopting DXF[J]. Process Automation Instrumentation, 2011, 32(11):13-16.(in Chinese)
[16] 郭洁,尚笑梅.服装样版结构曲线拟合方法综述[J].浙江纺织服装职业技术学院学报,2020,19(2): 21-25.
GUO Jie, SHANG Xiaomei. Review of curve fitting methods for clothing pattern structure[J]. Journal of Zhejiang Textile and Fashion College, 2020, 19(2): 21-25.(in Chinese)[17] 高剑光.一种简单的二次 B 样条曲线拟合方法[J].微型电脑应用,2010,26(10):37-38,41.
GAO Jianguang. One simple algorithm based on the secondary B-spline curve fitting[J]. Microcomputer Applications, 2010,26(10): 37-38, 41.(in Chinese)
[18] 隽峰,黎小间,高建华,等.B 样条曲面拟合方法在人体测量中的应用[J].计算机应用研究,2007,24(5):183-185.
JUN Feng, LI Xiaojian, GAO Jianhua, et al. Application of B-spline fitting surface to measure of body[J]. Application Research of Computers, 2007, 24(5): 183-185.(in Chinese)
[19] 成海涛.CAD二次开发方法研究与运用[J].中阿科技论坛,2020(12):53-55.
CHENG Haitao. Research and implementation of AutoCAD secondary development method[J]. China-Arab States Science and Technology Forum, 2020(12): 53-55.(in Chinese)
[20] 董永勋,冯晓,张文斌.女装衣袖版样缩放的保型性研究[J].天津工业大学学报,2011,30(4):42- 45.
DONG Yongxun, FENG Xiao, ZHANG Wenbin. Compatibility research of pattern grading of women’s sleeves[J]. Journal of Tianjin Polytechnic University, 2011, 30(4): 42- 45.(in Chinese)
(责任编辑:卢 杰)

更新日期/Last Update: 2023-06-30