纺织学报 ›› 2020, Vol. 41 ›› Issue (06): 69-75.doi: 10.13475/j.fzxb.20190604907

• 纺织工程 • 上一篇    下一篇

基于Rhino-Python的多圈高簇绒地毯三维仿真

代振兴, 陈广锋(), 陈革   

  1. 东华大学 机械工程学院, 上海 201620
  • 收稿日期:2019-06-24 修回日期:2020-02-19 出版日期:2020-06-15 发布日期:2020-06-28
  • 通讯作者: 陈广锋
  • 作者简介:代振兴(1996—),男,硕士生。主要研究方向为纺织品数字化设计与仿真。
  • 基金资助:
    国家重点研发计划重点专项资助项目(2017YFB1304000)

Three-dimensional simulation of multiple high-low loop tufting carpet based on Rhino-Python

DAI Zhenxing, CHEN Guangfeng(), CHEN Ge   

  1. College of Mechanical Engineering, Donghua University, Shanghai 201620, China
  • Received:2019-06-24 Revised:2020-02-19 Online:2020-06-15 Published:2020-06-28
  • Contact: CHEN Guangfeng

摘要:

为解决空间结构复杂的多圈高簇绒地毯在实现其外观三维仿真时缺乏真实感的问题,利用Rhino环境下的PythonScript实现了簇绒地毯外观的三维仿真。将绒圈中心线及截面曲线分段后局部求解相关控制点坐标,再由B样条曲线对二者进行拟合。同时考虑到地毯绒圈之间的相互挤压导致绒圈发生了随机偏转变形,通过设计算法模拟了绒圈产生形变后的状态。在此基础上添加绒圈表面纹理及光照模型,进一步渲染输出仿真结果。测试结果表明:利用B样条曲线拟合原理并借助于Rhino-Python平台的簇绒地毯三维仿真方法是可行的,且易于实现;与实际地毯样品相比,能够较为真实地模拟不同排纱规律下多种花型图案、绒圈高度变化的簇绒地毯。

关键词: 簇绒地毯, 三维仿真, 地毯绒圈, B样条曲线, Rhino-Python, 几何建模

Abstract:

In order to solve the problem that the multiple high-low loop tufting carpet with complex spatial structure lacks realism when realizing the three-dimensional simulation of its appearance, PythonScript under Rhino environment was used to realize the three-dimensional simulation of the appearance of tufted carpet. By segmenting the loop centerline and section curve, the relevant control point coordinates were locally solved, and then the two were fitted by the B-spline curve. At the same time, considering the mutual squeezing of the carpet loops, the loops were randomly deflected and deformed, and the state after the loops were deformation was simulated by a design algorithm. On this basis, the loop surface texture and lighting model were added to further render and output the simulation results. The test results show that the three-dimensional simulation method of tufted carpet using the B-spline curve fitting principle and the Rhino-Python platform is feasible and easy to implement. Compared with actual carpet samples, it can more realistically simulate tufted carpets with various flower patterns and loop height changes under different yarn arrangements.

Key words: tufted carpet, three-dimensional simulation, carpet loop, B-spline curve, Rhino-Python, geometric modeling

中图分类号: 

  • TS186.9

图1

簇绒地毯基本结构示意图"

图2

簇绒地毯三维仿真流程图"

图3

二次B样条曲线拟合原理"

图4

绒圈中心线的二次B样条拟合"

表1

圈高为9 mm时绒圈中心线控制点坐标"

控制点序号 x坐标 y坐标 z坐标
0 0.530 0 0
1 1.141 1.881 0
2 0.611 3.935 0
3 0 6.870 0
4 0.815 8.545 0
5 1.630 9.000 0
6 2.445 8.545 0
7 3.260 6.870 0
8 3.668 3.935 0
9 2.119 1.881 0
10 2.730 0 0

图5

Rhino中绒圈中心线绘制"

图6

Rhino中绒圈圆形截面表示"

图7

圈高为8 mm(左)和10 mm(右)的绒圈几何模型"

图8

绒圈空间位置偏转变形示意"

图9

绒圈偏转变形模拟效果"

图10

簇绒地毯外观整体仿真程序框架"

图11

簇绒地毯外观仿真效果与实物对比 (a)Simulation; (b)Finished product"

图12

不同花型簇绒地毯整体外观仿真效果"

[1] 郑天勇. 纺织品CAD/CAM[M]. 北京: 化学工业出版社, 2007: 146-148.
ZHENG Tianyong. Textile CAD/CAM[M]. Beijing: Chemical Industry Press, 2007: 146-148.
[2] 李青青. 基于Open Inventor的圈绒地毯花型仿真技术研究[D]. 上海:东华大学, 2012: 20-27.
LI Qingqing. Research on simulation of loop pile tufted carpet base on Open Inventor[D]. Shanghai: Donghua University, 2012: 20-27.
[3] ZHAO Shuang, LUAN Fujun, BALA Kavita. Fitting procedural yarn models for realistic cloth rendering[J]. ACM Transactions on Graphics, 2016,35(4):2-3.
[4] CIRIO Gabriel, LOPEZ-MORENO Jorge, MIRAUT David, et al. Yarn-level simulation of woven cloth[J]. ACM Transactions on Graphics, 2014,33(6):3-5.
[5] 韩冲, 孟婥, 陈广锋, 等. 多圈高簇绒地毯外观的三维仿真[J]. 纺织学报, 2009,30(9):127-128.
HAN Chong, MENG Zhuo, CHEN Guangfeng, et al. Three-dimensional simulation of multiple high-low loop tufting carpet[J]. Journal of Textile Research, 2009,30(9):127-128.
[6] 原蕊. 簇绒地毯织机织造过程中织针与底布的耦合特性研究[D]. 上海:东华大学, 2015: 7-11.
YUAN Rui. Coupling characteristics of needles and backing during carpet tufting process[D]. Shanghai: Donghua University, 2015: 7-11.
[7] YUKSEL C, KALDOR J M, JAMES D L, et al. Stitch meshes for modeling knitted clothing with yarn level detail[J]. ACM Transactions on Graphics, 2012,31(4):1-12.
[8] 夏本亮. 纱线建模和纹织物三维仿真技术研究[D]. 济南:山东大学, 2010: 12-17.
XIA Benliang. Research on yarn modeling and 3D simulation technology of jacquard[D]. Ji'nan: Shandong University, 2010: 12-17.
[9] 郑天勇, 崔世忠. 用B样条曲面构建纱线三维模型的研究(Ⅰ):具有不同截面的三维纱线模型的构造[J]. 纺织学报, 2006,27(2):54-55.
ZHENG Tianyong, CUI Shizhong. Study on constructing the 3D yarn model by B-spline surface (part Ⅰ): construction of the 3D yarn model with different cross sections[J]. Journal of Textile Research, 2006,27(2):54-55.
[10] 郑天勇, 崔世忠. 用B样条曲面构建纱线三维模型的研究(Ⅱ):纱线捻度的三维模拟[J]. 纺织学报, 2006,27(3):25-26.
ZHENG Tianyong, CUI Shizhong. Study on constructing the 3D yarn model by B-spline surface (part Ⅱ): inserting 3D bumping texture on the surface of the yarn[J]. Journal of Textile Research, 2006,27(3):25-26.
[11] 顾伯洪, 孙宝忠. 纤维集合体力学[M]. 上海: 东华大学出版社, 2014: 224-227.
GU Bohong, SUN Baozhong. Mechanics of fiber assemblies[M]. Shanghai: Donghua University Press, 2014: 224-227.
[12] 韩冲, 孙以泽, 陈广锋, 等. 多圈高簇绒地毯空间结构分析和模拟[J]. 东华大学学报(自然科学版), 2009,35(6):712-713.
HAN Chong, SUN Yize, CHEN Guangfeng, et al. Analysis and simulation on spatial structure of multi-pile tufting carpet[J]. Journal of Donghua Univer-sity(Natural Science), 2009,35(6):712-713.
[13] JIANG Zhan, HU Yuanbo, KUANG Xueqin, et al. Simulation on fiber random arrangement in the yarn[J]. The Journal of The Textile Institute, 2014,105(12):1312-1318.
[1] 陈绍用, 徐洋, 盛晓伟, 张子煜. 基于滤波最小均方算法的簇绒地毯装备噪声主动控制[J]. 纺织学报, 2020, 41(07): 88-92.
[2] 徐洋, 李昂昂, 盛晓伟, 孙志军. 基于近场声全息的纺织装备高速运动机构噪声源识别[J]. 纺织学报, 2019, 40(04): 129-134.
[3] 沙莎 蒋高明 张爱军 丛洪莲. 纬编针织物线圈建模与变形三维模拟[J]. 纺织学报, 2017, 38(02): 177-183.
[4] 刘肖 邓咏梅 陈金广. 男衬衫一片袖款式图到纸样图的转换方法[J]. 纺织学报, 2016, 37(3): 119-126.
[5] 范晓健 李晶 刘红卫 王善凯 孙晓盼. 碳纤维层叠布用缝纫机的改进设计与三维仿真[J]. 纺织学报, 2016, 37(10): 141-144.
[6] 黄双 郗欣甫 徐洋 孙以泽. 簇绒地毯织机耦联轴系的铰链间隙对毯面绒高的影响[J]. 纺织学报, 2016, 37(08): 132-137.
[7] 夏胜华 孙以泽 孟婥 任国斌 . 簇绒地毯织机提花装置的绕纱动态张力分析[J]. 纺织学报, 2015, 36(07): 136-141.
[8] 徐海燕 蒋金华 陈南梁. 基于TexGen的经编针织物的三维仿真[J]. 纺织学报, 2015, 36(03): 140-146.
[9] 谷大鹏 杨育林 齐效文 陈素文. 机织物三维仿真中组织模块化快速构建[J]. 纺织学报, 2014, 35(1): 134-0.
[10] 张丽哲. 经编针织物三维仿真技术的研究现状与发展趋势[J]. 纺织学报, 2012, 33(12): 145-149.
[11] 瞿畅;王君泽;李波. 纬编针织物三维仿真系统的开发[J]. 纺织学报, 2011, 32(4): 57-61.
[12] 张丽哲;蒋高明. 经编组织三维仿真中的线圈偏移[J]. 纺织学报, 2010, 31(3): 64-67.
[13] 徐洋;孙志军;孟婥;孙以泽;陈广锋;. 地毯簇绒系统纱线张力建模与分析[J]. 纺织学报, 2010, 31(12): 116-121.
[14] 王然;孙以泽 . 簇绒地毯的过渡圈高现象及其补偿[J]. 纺织学报, 2010, 31(1): 123-128.
[15] 韩冲;孟婥;陈广锋;孙以泽 . 多圈高簇绒地毯外观的三维仿真[J]. 纺织学报, 2009, 30(9): 127-132.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!