摘要:
为满足横编针织物在线设计的需求,在传统横编计算机辅助设计(CAD)的基础上,基于超文本标记语言5(HTML5)技术设计并实现互联网横编CAD系统.根据横编针织物的设计特点和成形原理,分别对花型数据和成形数据进行数学建模和数据结构优化,实现多视图设计和成形工艺设计.同时,结合数据库技术开发款式与组织库自定义的功能,并在研究花型编译的基础上,实现上机文件的生成.此外,研究了软件架构,基于B/S模式将程序部署在服务器上,系统的运行则在客户端,从而实现了数据处理与显示的分离.最后,通过提花围巾设计实例进行系统检验,结果表明该系统设计织物直观方便效率高,满足横编针织物在线设计的需求.%In order to meet the requirement of online design of flat-knitted fabric, on the basis of conventional flat-knitted computer aided design ( CAD ) , this paper designed and implemented the Internet CAD system for flat-knitted fabric based on hyper text markup language 5 technology. According to the design features and shaping principle of the flat-knitted fabric, the data of pattern and shaping were mathematically modeled and data structure was optimized, respectively, and multi-view and shaping process design was realized. Meanwhile, by combining with database technology, the functions of sweater style and pattern custom database were developed. And based on the research of pattern compiling, the file export was realized. Besides, the software architecture was researched, and the system was deployed on the server based on the B/S mode and ran at the client terminal. Thus the separation of data process and display was realized. Finally, by the design example of jacquard scarf, the system was tested. And the results show that the system is intuitive, convenient and efficient for design fabric, meeting the demands of online design of flat-knitted fabrics.