원시데이터 수집 시스템
선정목록으로

The Research of Outputting Iges File of Fabric Geometry

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (1) 에어백(3) 자동차 인테리어 소재(24) 패션(코오롱FnC)

기본 정보

저자
  1. Tianyong Zheng — School of Textile Engineering, Zhongyuan University of Technology, No 41, Zhongyuan Road (Middle), Zhengzhou City, Henan Prov., China,|||School of Textile Engineering, Zhongyuan University of Technology, China
  2. Jing Wei — School of Textile Engineering, Zhongyuan University of Technology, China
DOI
10.15406/jteft.2017.01.00021
저널
Journal of Textile Engineering & Fashion Technology
발행년도
2017
발행기관
MedCrave Group
피인용수
0
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.15406/jteft.2017.01.00021
토픽
Textile materials and evaluations
OpenAlex ID
W2734958636

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(1) 에어백, (3) 자동차 인테리어 소재, (24) 패션(코오롱FnC)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
fabric geometry, 3D simulation, B-spline surface, woven fabrics, finite element (FEM)
판단 근거
본 논문은 직물의 기하학적 구조를 3D CAD 및 유한요소해석(FEM) 소프트웨어에서 정확하게 구현하기 위한 IGES 파일 출력 알고리즘을 다룹니다.
R&D 활용 포인트
에어백 원단, 타이어코드, 자동차 인테리어용 부직포 등 복잡한 섬유 구조물의 물리적 특성을 예측하기 위한 디지털 트윈 및 시뮬레이션 모델링 기술로 활용 가능합니다.
평가 입력
본문 18,684자

초록

Most of the fabric CAD systems lack the function of exchanging or outputting the accurate geometry structure of the fabric.In this research, the geometric structure of the yarn and the fabric modeled by B-spline surface are tried to be saved in IGES file for exchanging the information.IGES format is one of the most widely used file formats in graphics exchange; most of the entities are mentioned in the standard.In this paper, the file format of yarn and fabric structure is transferred from a special TXT to IGES.In the special TXT file, a yarn only has yarn body data modeled by B-spline surface; it will be transferred into hollow tube when opened by other 3D entity software browser.Therefore, 2 end faces are also modeled by B-spline surface to cover the hollow tube to ensure the yarn body to be sealed.Thus, 3 NURBS entities are required to write in an IGES file to form a complete yarn.To give an example, 4 yarns which construct a plain weave fabric are written in an IGES file and are opened by Pro/E.The result shows that the 3D information of the fabric structure can be progressed by other software.

본문 18,684자

본문 펼치기
<u>J</u> <u>g</u> <u>g</u> <u>gy</u> Research Article Open Access # The research of outputting IGES file of fabric geometry Abstract Most of the fabric CAD systems lack the function of exchanging or outputting the accurate geometry structure of the fabric. In this research, the geometric structure of the yarn and the fabric modeled by B-spline surface are tried to be saved in IGES file for exchanging the information. IGES format is one of the most widely used file formats in graphics exchange; most of the entities are mentioned in the standard. In this paper, the file format of yarn and fabric structure is transferred from a special TXT to IGES. In the special TXT file, a yarn only has yarn body data modeled by B-spline surface; it will be transferred into hollow tube when opened by other 3D entity software browser. Therefore, 2 end faces are also modeled by B-spline surface to cover the hollow tube to ensure the yarn body to be sealed. Thus, 3 NURBS entities are required to write in an IGES file to form a complete yarn. To give an example, 4 yarns which construct a plain weave fabric are written in an IGES file and are opened by Pro/E. The result shows that the 3D information of the fabric structure can be progressed by other software. Keywords: 3d simulation, fabric structure, b-spline surface, iges file, fabric geometry, geometrical structure, woven fabrics, geometrical configuration, revised algorithm, knitted fabrics, b-spline curve, yarn, parameter data line count, polygon, weave fabric entity Volume 1 Issue 4 - 2017 Tianyong Zheng, Jing Wei School of Textile Engineering, Zhongyuan University of Technology, China Correspondence: Tianyong Zheng, School of Textile Engineering, Zhongyuan University of Technology, No 41, Zhongyuan Road (Middle), Zhengzhou City, Henan Prov., China, Tel 0086 3716 2506 976, Email zty_zzti@126.com Received: March 27, 2017 | Published: April 10, 2017 Abbreviations: 3D, 3 dimensional; NURBS, non-uniform rational b-splines; IGES, initial graphics exchange specification; CAD, computer aided design; CAM, computer aided manufacturing; FEM, finite element Introduction The geometrical structure of the woven fabrics, knitted fabrics or braided fabrics affects the physical properties of the fabric to a great extent. In order to predict the properties of the component made of fabric, the fabric geometry usually has to be modeled manually in some special finite element (FEM) software such as ANSYS and ABAQUS. <sup>1,2</sup> Obviously, it is a tedious process and the worse thing is that the 3D model of fabric geometric structure by hand is not accurate. There is a lot of CAD software <sup>3,4</sup> that can simulate the 3D model of the fabric geometry, but they lack of modeling the 3D geometry of the fabric of various yarns with changing cross-sections. However, the yarns in the fabric must be pressed to irregular shape. In other words, the geometric structure might not be accurate enough. Therefore, the purpose of the paper is to study how to output a standard and universal accepted 3D file (such as IGES 5.3 or STEP format) that can accurately describe the fabric geometric structure. Format of the existing woven structure Fabric structure based on B-spline curve technology Most fabrics are composed of yarns; therefore, the 3D geometrical configuration of the yarn has to be modeled before the 3D geometrical structure of the fabrics is to be modeled. After each yarn has been modeled, the fabric structure will be modeled as well. In this research, the yarns or fabric will be modeled based on B-spline curve technology. <sup>5</sup> B-spline curve and surface are defined by Riesenfeld, see Pigel. <sup>6</sup> In order to give a robust and accurate result, shape preserving cubic B-spline curve is used to model the yarn along its central line while quasi quadratic B-spline curve for the cross-section of the yarn are based on the algorithm by Zheng. <sup>7</sup> There are many algorithms to calculate the geometry of the fabrics. Peirce model <sup>8</sup> were universal accepted for woven structure, Zheng <sup>9</sup> proposed a revised algorithm based on progressive iteration of spring-slide model. As for the knitted fabrics and the braided fabrics, they have their special calculating model. <sup>10,11</sup> Whatever the type of the fabric, the positions of the central points and the shapes of the cross-section of all the control key points for a single yarn have to be determined, and the geometric structure of the yarn and then the fabric will be reconstructed and imitated by B-spline surface. TXT format file of free yarn or fabric Zheng <sup>7</sup> proposed a ‘.txt’ 3D file format for yarn and fabric which can be edited by Notebook or Office. In the file, the thickness, twist, color, number of the yarns, property of the yarn (warp or weft), the grid of the control points by the central line and the cross-section are recorded. As for the format of ‘.txt’, see Zheng. <sup>7</sup> The following is a typical file of 3D fabric structure in ‘.txt’ file format as shown in Figure 1. From the file, it can be concluded that there are 3 yarns. All the yarns are 30tex, the diameters are all 0.0912mm, and all the yarns are controlled by 6 cross-sections. To the first yarn, the color components are 200 for Red, 205 for Green and 0 for Blue respectively. Format of the IGES 5.3 file for 3D objects The Initial Graphics Exchange Specification (IGES) is defined as ANSI standard to exchange the information from different Computer Submit Manuscript ~~| http://medcraveonline.com~~ _J Textile Eng Fashion Technol._ 2017;1(4):115 - 119 115 [© 2017 Zheng et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which](https://creativecommons.org/licenses/by-nc/4.0/) permits unrestricted use distribution and build upon your work non-commercially Copyright: _The research of outputting IGES file of fabric geometry_ ©2017 Zheng et al. 116 Aided Design (CAD) & Computer-Aided Manufacturing (CAM) systems. The latest version is IGES 5.3. <sup>12</sup> IGES file consists of 80-column lines which are grouped into 5 sections. Each line contains section-specific data field(s) in columns ID for yarn or fabric <mark>.txt file version</mark> of .txt format Yarn order (start from 0) Yarn type 1:warp 0:weft Yarn thickness (tex) XYZ coordiantes of central points of the first cross-sctions Parameters for the yarn order 1 Parameters for the yarn order 2 Figure 1 Structure of the yarn of fabric data in a ‘.txt’ file format. Table 1 Structure of IGES file 1-72, an identifying letter code in column 72, and an ascending sequence number in columns from 74 to 80. Within each section, the sequence No. starts at 1 and is increased by 1 for each line. All the sections in the IGES shall appear in the following order as shown in Table 1. Number of yarns Yarn radiium Direction of ( mm ) twist(1:Z,2:S) Color of Yarn: Red 200, Green 205, Blue 000 Number of cross-sections Twist count Number/10cm Shape controlling parameter 2 Shape controlling parameter 1 Shape type of cross-section Parameters for the 6th crosssections of the yarn Order 2 1--8 9--16 17--24 25--32 33--40 41--48 49--56 57--64 65--72 73--80 Start Section: Annotation of the file, it can be empty. S 1 … S a Global Section: Information of sending system. G 1 … G b Directory entry Section: Index of parameter section and entity information. D 1 D 2 Parameter Section: Entity data. P 1 P 2 ... P c Terminate Section: Line count of every part. empty T 1 Citation: Zheng T, Wei J. The research of outputting IGES file of fabric geometry. _J Textile Eng Fashion Technol._ 2017;1(4):115 - 119. [DOI: 10.15406/jteft.2017.01.00021](https://doi.org/10.15406/jteft.2017.01.00021) Copyright: _The research of outputting IGES file of fabric geometry_ ©2017 Zheng et al. 117 Within an IGES file, the entity type number of NURBS surface is 128, and the directory entry section can be set according to Table 2. The parameter data section of NURBS surface is free format. The data can be written in this order: a. Entity type number. b. K1, the section direction control points number minus 1. c. K2, the center line direction control point’s number minus 1. d. M1, the number of times of section direction. e. M2, the number times of center line direction. f. PROP1, the curve of section direction is close or not. g. PORP2, the curve of the center line direction is close or not. Table 2 The directory entry section h. PROP3, rational or polynomial. i. PROP4, periodical in the section direction or not. j. PROP5, periodical in the center line direction or not. k. The knot sequence in section direction. l. The knot sequence in center line direction. m. Weight of all control points. n. Coordinate of all control points. o. The start value in section direction and the final value. p. The start value in center line direction and the final value. Figu re 2 demonstrates a NURBS surface in an IGES file. <u>1--8</u> <u>9--16</u> <u>17--24</u> <u>25--32</u> <u>33--40</u> <u>41--48</u> <u>49--56</u> <u>57--64</u> <u>65--72</u> <u>73--80</u> Entity type number Parameter data start line Transformation State Structure Line pattern Level View Associativity matrix number Entity type Color Line width number number Parameter data line <u>count</u> Form Entity Keep Keep Entity label number subscript Serial number Serial number Figure 2 An IGES file for a NURBS surface (middle data is omitted). Algorithm of writing the yarn data into IGES file After the control grid of a single yarn is calculated, the shape of the yarn is determined. However, it is still not enough to input a 128 entity into an IGES file to model the yarn since the object is just a hollow tube when the file is opened by a Pro/E or Solid Works, see Figure 3. It is necessary to construct 2 end faces to cover the hollow tube to ensure the yarn body to be sealed. Modeling the two end faces by B-spline surface Although the end face is a flat surface, it can be modeled by a cubic NURBS (Non-Uniform Rational B-Splines) surface as long as all the control points are on the same plane. Since the contour of the end faces are determined by the first and the last cross-sections respectively while the center of the end faces are calculated as well, it is necessary to find at least 2 control points along each control polygon to form a control grid. Obviously, the simplest way is to ensure these 2 points on the segment line determined by the centre of the end face and the outmost control points on the border. Therefore, the control gird of the end face is shown in Figure 4. To some extent, the end face can be regarded as a distorted yarn body only is different in that 4 crosssections of are in the same plane. Thus, the way to write the NURBS entity of end face is the same as the yarn body. Flow chart of writing the IGES file In an IGES file, the line occupied by the NURBS surface varies Citation: Zheng T, Wei J. The research of outputting IGES file of fabric geometry. _J Textile Eng Fashion Technol._ 2017;1(4):115 - 119. [DOI: 10.15406/jteft.2017.01.00021](https://doi.org/10.15406/jteft.2017.01.00021) Copyright: _The research of outputting IGES file of fabric geometry_ ©2017 Zheng et al. 118 according to the number of the cross-sections. Thus, the Parameter Data Line Count in Directory entry Section is variable. To obtain the Line Count, it is necessary to record the current position in Line of parameter section when each data of the NURBS parameter is written in the file. Function Write a Float to IGES_Para is designed to write a float data into parameter section. Prototype: void Write a Float to IGES_Para (BOOL bEnd, FILE *fp, int nEntityIndex, float fDataToWrite, int& nCurLineParaSection, int& nCur XPos In Line). Function: To write a float data into the parameter section in IGES file. If there is enough room to write the float, the index of the Entity of this line will be finished first, and then letter ‘P’ and the index of line will be written. Figure 3 A hollow yarn body. Figure 4 Control points mesh of end face. Parameters input i. bEnd: Is the float the last data of the NURBS or not. ii. FILE *fp: File pointer of the IGES file. iii. Int nEntity Index: Index of the NURBS. iv. Float fData To Write: The float to write. v. Int & nCurLineParaSection: Line index in the parameter sec tion. Call function WriteAFloatToIGES_Para `4` Save 4 data Times End Figure 5 Flow chart of writing a NURBS entity into an IGES file. Figure 6 Yarn with 2 end faces to form a closed entity. More than a yarn can be written in an IGES file. The simplest plain weave fabric includes at least 4 yarns, 2 of them for warp and 2 for weft. In other words, this file made up of 12 B-Spline surface entities, 4 for yarn body and the rest are end faces. Figure 7 demonstrates a plain weave fabric entity. Application of the IGES file The above IGES file containing the plain structure can be opened by Pro/E as shown in Figure 8. By further processing, i.e., adding vi. Int & nCurX Pos in Line: Position index at the line of the para meter section, from 0-63. Parameters output A. Int & nCur Line Para Section: Current line index after writing the float. B. Int & nCur XPos in Line: Current position in line after writing the float. C. To each NURBS entity, the algorithm can be described in the following flow-chart. To save a single yarn, three NURBS entities including 2 end faces and a yarn body are required. Outputting the fabric IGES file When 2 end faces and a yarn body are written in an IGES file according to NURBS surface, a closed yarn entity is formed as shown in Figure 5 & 6. Start Save knots of cross sections Save knots of central lines Save the weighs of all the control points Save 3D coordinates of all control points Call function WriteAFloatToIGES_Para t+4 times (t= number of cross -sections) Call function WriteAFloatToIGES_Para 18*t Times (t= number of cross -sections) Call function WriteAFloatToIGES_Para 54*t Times (t= number of cross -sections) Call function WriteAFloatToIGES_Para 21 times Citation: Zheng T, Wei J. The research of outputting IGES file of fabric geometry. _J Textile Eng Fashion Technol._ 2017;1(4):115 - 119. [DOI: 10.15406/jteft.2017.01.00021](https://doi.org/10.15406/jteft.2017.01.00021) Copyright: _The research of outputting IGES file of fabric geometry_ ©2017 Zheng et al. 119 mesh control to the surface of each yarn, all the yarn can be divided into triangle facets, which means the fabric structure can be processed by finite element software such as Ansys or Abacus. Similarly, the fabric structure in IGES file can be transferred to other standard 3D file such as STEP for further processing. Figure 7 Plain weave fabric entity. Figure 8 Plain weave fabric with triangle facets processed by Pro/E. Conclusion Yarn or fabric geometric structure can be accurately modeled by NURBS. By adding two end faces, a yarn can be modeled by 3 NURBS surfaces and written into a universal accepted 3D IGES file. By opening and processing the IGES file with Pro/E, it can be concluded that the information of yarn or fabric structure can be well exchanged and further processed by other 3D modeling software or FE software. Acknowledgements None. Conflict of interest Author declares there is no conflict of interest in publishing the article. References [1. http://www.ansys.com](http://www.ansys.com/) [2. http://www.abqus.com](http://www.abqus.com) [3. http://scotweave.com/products/technical-weaver](http://scotweave.com/products/technical-weaver) [4. http://www.bluefox.com](http://www.bluefox.com) [5. Zheng TY, Cui S. The Study on constructing the 3D Yarn model by](http://www.scirp.org/%0x28S%0x28351jmbntvnsjt1aadkposzje%0x29%0x29/reference/ReferencesPapers.aspx?ReferenceID=1404014) [B-spline Surface. Part I: Construction of 3D Yarn model with different](http://www.scirp.org/%0x28S%0x28351jmbntvnsjt1aadkposzje%0x29%0x29/reference/ReferencesPapers.aspx?ReferenceID=1404014) cross sections. _[J of Textile Res](http://www.scirp.org/%0x28S%0x28351jmbntvnsjt1aadkposzje%0x29%0x29/reference/ReferencesPapers.aspx?ReferenceID=1404014)_ . 2006;27:53‒57. 6. Pigel L, Tiller W. _[The NURBS Book.](http://www.springer.com/gp/book/9783540615453)_ 2nd ed _._ Berlin, Heidelberg: Sprin[ger-Verlag; 1997. p. 646.](http://www.springer.com/gp/book/9783540615453) [7. Zheng TY. Study on general geometrical modeling of single Yarn with](http://journals.sagepub.com/doi/abs/10.1177/0040517509346442) 3D twist effect. _[Textile Research Journal](http://journals.sagepub.com/doi/abs/10.1177/0040517509346442)_ . 2010;80(10):867‒879. [8. Peirce FT. Geometry of Cloth Structure.](http://www.tandfonline.com/doi/abs/10.1080/19447023708658809) _J Tex Inst Trans._ [1937;28(3):T45‒T96.](http://www.tandfonline.com/doi/abs/10.1080/19447023708658809) [9. Zheng TY, Zhang XJ, Zhao ZX, et al. Geometric structure model of](http://journals.sagepub.com/doi/abs/10.1177/0040517514528562) [plain woven fabric based on progressive spring-slide mechanics.](http://journals.sagepub.com/doi/abs/10.1177/0040517514528562) _Textile_ _Research Journal_ [. 2014;84(17):1803‒1819.](http://journals.sagepub.com/doi/abs/10.1177/0040517514528562) [10. Kurbak A, Soydan AS. Geometrical Models for Balanced Rid Knitted](http://www.scirp.org/%0x28S%0x28351jmbntvnsjt1aadkposzje%0x29%0x29/reference/ReferencesPapers.aspx?ReferenceID=1404016) [Fabrics Part III: 2×2, 3×3, 4×4, and 5×5 Rib Fabrics.](http://www.scirp.org/%0x28S%0x28351jmbntvnsjt1aadkposzje%0x29%0x29/reference/ReferencesPapers.aspx?ReferenceID=1404016) _Textile Research_ _Journal_ [. 2009;79(6):618‒625.](http://www.scirp.org/%0x28S%0x28351jmbntvnsjt1aadkposzje%0x29%0x29/reference/ReferencesPapers.aspx?ReferenceID=1404016) [11. Kurbak A, Alpyildiz T. Geometrical models for cardigan structures. Part](http://journals.sagepub.com/doi/abs/10.1177/0040517508102258) I: Full Cardigan. _[Textile Research Journal](http://journals.sagepub.com/doi/abs/10.1177/0040517508102258)_ . 2009;79(14):1281‒1300. 12. US PRO. _[Initial graphics exchange specification 5.3.](http://www.ingmecc.uniroma1.it/attachments/2080_iges_STD_ANSI.pdf)_ USA: Meral Pro[ductions Inc; 2006. p. 1‒650.](http://www.ingmecc.uniroma1.it/attachments/2080_iges_STD_ANSI.pdf) Citation: Zheng T, Wei J. The research of outputting IGES file of fabric geometry. _J Textile Eng Fashion Technol._ 2017;1(4):115 - 119. [DOI: 10.15406/jteft.2017.01.00021](https://doi.org/10.15406/jteft.2017.01.00021)

섹션 본문 18문단 · 8,729자

(제목 없음)

1Most of the fabric CAD systems lack the function of exchanging or outputting the accurate geometry structure of the fabric. In this research, the geometric structure of the yarn and the fabric modeled by B-spline surface are tried to be saved in IGES file for exchanging the information. IGES format is one of the most widely used file formats in graphics exchange; most of the entities are mentioned in the standard. In this paper, the file format of yarn and fabric structure is transferred from a special TXT to IGES. In the special TXT file, a yarn only has yarn body data modeled by B-spline surface; it will be transferred into hollow tube when opened by other 3D entity software browser. Therefore, 2 end faces are also modeled by B-spline surface to cover the hollow tube to ensure the yarn body to be sealed. Thus, 3 NURBS entities are required to write in an IGES file to form a complete yarn. To give an example, 4 yarns which construct a plain weave fabric are written in an IGES file and are opened by Pro/E. The result shows that the 3D information of the fabric structure can be progressed by other software.

Introduction

2The geometrical structure of the woven fabrics, knitted fabrics or braided fabrics affects the physical properties of the fabric to a great extent. In order to predict the properties of the component made of fabric, the fabric geometry usually has to be modeled manually in some special finite element (FEM) software such as ANSYS and ABAQUS. 1,2 Obviously, it is a tedious process and the worse thing is that the 3D model of fabric geometric structure by hand is not accurate. There is a lot of CAD software 3,4 that can simulate the 3D model of the fabric geometry, but they lack of modeling the 3D geometry of the fabric of various yarns with changing cross-sections. However, the yarns in the fabric must be pressed to irregular shape. In other words, the geometric structure might not be accurate enough. Therefore, the purpose of the paper is to study how to output a standard and universal accepted 3D file (such as IGES 5.3 or STEP format) that can accurately describe the fabric geometric structure.

Format of the existing woven structure

3Fabric structure based on B-spline curve technology

4Most fabrics are composed of yarns; therefore, the 3D geometrical configuration of the yarn has to be modeled before the 3D geometrical structure of the fabrics is to be modeled. After each yarn has been modeled, the fabric structure will be modeled as well. In this research, the yarns or fabric will be modeled based on B-spline curve technology. 5 B-spline curve and surface are defined by Riesenfeld, see Pigel. 6 In order to give a robust and accurate result, shape preserving cubic B-spline curve is used to model the yarn along its central line while quasi quadratic B-spline curve for the cross-section of the yarn are based on the algorithm by Zheng. 7 There are many algorithms to calculate the geometry of the fabrics. Peirce model 8 were universal accepted for woven structure, Zheng 9 proposed a revised algorithm based on progressive iteration of spring-slide model. As for the knitted fabrics and the braided fabrics, they have their special calculating model. 10,11 Whatever the type of the fabric, the positions of the central points and the shapes of the cross-section of all the control key points for a single yarn have to be determined, and the geometric structure of the yarn and then the fabric will be reconstructed and imitated by B-spline surface.

5TXT format file of free yarn or fabric Zheng 7 proposed a '.txt' 3D file format for yarn and fabric which can be edited by Notebook or Office. In the file, the thickness, twist, color, number of the yarns, property of the yarn (warp or weft), the grid of the control points by the central line and the cross-section are recorded. As for the format of '.txt', see Zheng. 7 The following is a typical file of 3D fabric structure in '.txt' file format as shown in Figure 1.

6From the file, it can be concluded that there are 3 yarns. All the yarns are 30tex, the diameters are all 0.0912mm, and all the yarns are controlled by 6 cross-sections. To the first yarn, the color components are 200 for Red, 205 for Green and 0 for Blue respectively.

Format of the IGES 5.3 file for 3D objects

7The Initial Graphics Exchange Specification (IGES) is defined as ANSI standard to exchange the information from different Computer-Aided Design (CAD) & Computer-Aided Manufacturing (CAM) systems. The latest version is IGES 5.3. 12 IGES file consists of 80-column lines which are grouped into 5 sections. Each line contains section-specific data field(s) in columns 1-72, an identifying letter code in column 72, and an ascending sequence number in columns from 74 to 80. Within each section, the sequence No. starts at 1 and is increased by 1 for each line. All the sections in the IGES shall appear in the following order as shown in Table 1. Within an IGES file, the entity type number of NURBS surface is 128, and the directory entry section can be set according to Table 2.

8The parameter data section of NURBS surface is free format. The data can be written in this order: a. Entity type number.

9b. K1, the section direction control points number minus 1.

Algorithm of writing the yarn data into IGES file

10After the control grid of a single yarn is calculated, the shape of the yarn is determined. However, it is still not enough to input a 128 entity into an IGES file to model the yarn since the object is just a hollow tube when the file is opened by a Pro/E or Solid Works, see Figure 3. It is necessary to construct 2 end faces to cover the hollow tube to ensure the yarn body to be sealed.

Modeling the two end faces by B-spline surface

11Although the end face is a flat surface, it can be modeled by a cubic NURBS (Non-Uniform Rational B-Splines) surface as long as all the control points are on the same plane. Since the contour of the end faces are determined by the first and the last cross-sections respectively while the center of the end faces are calculated as well, it is necessary to find at least 2 control points along each control polygon to form a control grid. Obviously, the simplest way is to ensure these 2 points on the segment line determined by the centre of the end face and the outmost control points on the border. Therefore, the control gird of the end face is shown in Figure 4. To some extent, the end face can be regarded as a distorted yarn body only is different in that 4 crosssections of are in the same plane. Thus, the way to write the NURBS entity of end face is the same as the yarn body.

Flow chart of writing the IGES file

12In an IGES file, the line occupied by the NURBS surface varies according to the number of the cross-sections. Thus, the Parameter Data Line Count in Directory entry Section is variable.

13To obtain the Line Count, it is necessary to record the current position in Line of parameter section when each data of the NURBS parameter is written in the file. Function Write a Float to IGES_Para is designed to write a float data into parameter section.

14Prototype: void Write a Float to IGES_Para (BOOL bEnd, FILE *fp, int nEntityIndex, float fDataToWrite, int& nCurLineParaSection, int& nCur XPos In Line).

Function:

15To write a float data into the parameter section in IGES file. If there is enough room to write the float, the index of the Entity of this line will be finished first, and then letter 'P' and the index of line will be written. C. To each NURBS entity, the algorithm can be described in the following flow-chart. To save a single yarn, three NURBS entities including 2 end faces and a yarn body are required.

Outputting the fabric IGES file

16When 2 end faces and a yarn body are written in an IGES file according to NURBS surface, a closed yarn entity is formed as shown in Figure 5 More than a yarn can be written in an IGES file. The simplest plain weave fabric includes at least 4 yarns, 2 of them for warp and 2 for weft. In other words, this file made up of 12 B-Spline surface entities, 4 for yarn body and the rest are end faces. Figure 7 demonstrates a plain weave fabric entity.

Application of the IGES file

17The above IGES file containing the plain structure can be opened by Pro/E as shown in Figure 8. By further processing, i.e., adding mesh control to the surface of each yarn, all the yarn can be divided into triangle facets, which means the fabric structure can be processed by finite element software such as Ansys or Abacus. Similarly, the fabric structure in IGES file can be transferred to other standard 3D file such as STEP for further processing.

Conclusion

18Yarn or fabric geometric structure can be accurately modeled by NURBS. By adding two end faces, a yarn can be modeled by 3 NURBS surfaces and written into a universal accepted 3D IGES file. By opening and processing the IGES file with Pro/E, it can be concluded that the information of yarn or fabric structure can be well exchanged and further processed by other 3D modeling software or FE software.

참고문헌 6건

  1. Geometrical Models for Balanced Rib Knitted Fabrics Part III: 2 × 2, 3 × 3, 4 × 4, and 5 × 5 Rib Fabrics Textile Research Journal · SAGE Publishing · 2009 10.1177/0040517508096218
  2. Study on General Geometrical Modeling of Single Yarn with 3D Twist Effect Textile Research Journal · SAGE Publishing · 2009 10.1177/0040517509346442
  3. 5—THE GEOMETRY OF CLOTH STRUCTURE Journal of the Textile Institute Transactions · Taylor & Francis · 1937 10.1080/19447023708658809
  4. Geometric structure model of plain woven fabric based on progressive spring-slide mechanics Textile Research Journal · SAGE Publishing · 2014 10.1177/0040517514528562
  5. The NURBS Book Monographs in visual communication · Springer Nature · 1997 10.1007/978-3-642-59223-2
  6. Geometrical Models for Cardigan Structures Part I: Full Cardigan Textile Research Journal · SAGE Publishing · 2009 10.1177/0040517508102258