Abstract
This chapter gives an overview and introduction to the use of TexGen, open source software developed at the University of Nottingham as a pre-processor for 3D geometric modelling of textile structures. An overview is given of the modelling theory used in the software. There is a guide to creating automatically generated textile models using the built-in weave wizards and a detailed example of the method for creating a textile model using the functionality within the graphical user interface (GUI). An overview of the Python application programming interface (API) is given, illustrated by an example script, as well as information on how to use the Python functions to edit existing textiles. Finally there is an overview of the options for different meshing and export options used to prepare models as input for simulations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Beazley, D. & Matus, M. 2007. SWIG [Online]. Available: www.swig.org. Accessed 26 Sep 2019.
Brown, L. P., Gommer, F., Long, A. C., Matveev, M., Zeng, X. & Yan, S. 2019. TexGen Scripting Guide [Online]. Available: https://github.com/louisepb/TexGenScriptingGuide. Accessed 1 Oct 2019.
Brown, L. P. & Sherburn, M. 2019. louisepb/TexGen: TexGen v3.11.0 (Version 3.11.0). Zenodo [Online]. Available: https://doi.org/10.5281/zenodo.3241493. Accessed 21 Oct 2019.
Li, S., & Wongsto, A. (2004). Unit cells for micromechanical analyses of particle-reinforced composites. Mechanics of Materials, 36, 543–572.
Matveev, M. Y., Long, A. C., & Jones, I. A. (2014). Modelling of textile composites with fibre strength variability. Composites Science and Technology, 105, 44–50.
Notepad++ [Online]. Available: https://notepad-plus-plus.org/. Accessed 3rd Jul 2019.
OPENCASCADE. (2019). OpenCASCADE [Online]. Available: www.opencascade.com. Accessed 26 Sep 2019.
Sherburn, M. (2007). Geometric and Mechanical Modelling of Textiles. University of Nottingham.
SI, H. (2015). TetGen, a Delaunay-Based Quality Tetrahedral Mesh Generator. ACM Trans. on Mathematical Software, 41(2).
TEXGEN. (2019). TexGen [Online]. Available: http://texgen.sourceforge.net. Accessed 3 Jul 2019.
Zeng, X., Brown, L. P., Endruweit, A., Matveev, M., & Long, A. C. (2014). Geometrical modelling of 3D woven reinforcements for polymer composites: Prediction of fabric permeability and composite mechanical properties. Composites Part A, 56, 150–160.
Zeng, X., Endruweit, A., Brown, L. P., & Long, A. C. (2015). Numerical prediction of in-plane permeability for multilayer woven fabrics with manufacture-induced deformation. Composites Part A: Applied Science and Manufacturing, 77, 266–274.
Acknowledgements
Continued development of TexGen software has been supported by Engineering and Physical Sciences Research Council RSE Fellowship [Grant number: EP/N019040/1].
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
1 Electronic supplementary material
Appendix
Appendix
Exercise 1 Solution
-
1.
Either select Textiles-> Create Weave… from the main menu or Weave from the Textiles tab of the Controls menu.
-
2.
Set the number of warp and weft yarns to 4 (to create a 4 × 4 satin weave).
-
3.
Use the warp yarn data to set the yarn spacing and yarn width (as these parameters are different for the warp and weft yarns the weft dimensions will be set later using the Pattern Dialog). The Yarn Spacing is set to 1.0 based on 10 yarns/cm.
-
4.
The combined heights of the yarns is 0.5 mm so this is selected as the Fabric Thickness. The wizard will automatically set both yarn heights to 0.25 mm (half the thickness) but, again, these can be adjusted in the Pattern Dialog. Steps 2–4 are shown in Fig. 27.
-
5.
Click the Next button to move to the Weave pattern dialog.
-
6.
Shift-click on the bars at the left side of the weave pattern to select all of the warp yarns.
-
7.
Right-click on one of the selected side bars to show options to change yarn parameters for these yarns (Fig. 28)
-
8.
Select Set yarn height… and enter the value 0.3 (Fig. 29)
-
9.
Repeat steps 6–8 to select the bars at the top of the weave pattern and set the weft yarn width, height and spacing to 0.7, 0.2 and 0.769 respectively. (The spacing is calculated using 13 yarns/cm)
-
10.
Click on the crossovers on the weave pattern to create the desired weave configuration (Fig. 30)
-
11.
Select OK. The textile is created as shown in Fig. 31. The textile can also be loaded from the Ex2_9_1.tg3 file.
Exercise 2 Solution
-
1.
Either select Textiles-> Create 3D Weave… from the main menu or 3D Weave from the Textiles tab of the Controls menu.
-
2.
Select the Orthogonal weave type and select Next.
-
3.
Fill in the weft, warp and binder data as shown in Figs. 32, 33 and 34. In the binder yarn window select the Refine option and set the Target Thickness to 1.4.
-
4.
In the three subsequent windows set the yarn properties. This is shown for the weft yarn in Fig. 35.
-
5.
In the final weave pattern window click on the points on the binder yarns to create the desired weave configuration (Fig. 36)
-
6.
Select OK. The textile is created as shown in Fig. 37. The textile can also be loaded from the Ex2_9_2.tg3 file.
Exercise 3 Solution
-
1.
Either select Domain-> Edit Domain… from the main menu or Edit from the Domain tab of the Controls menu.
-
2.
The x and y dimensions of the domain are to be changed so the first four planes (ie the first four lines in the dialog) need to be changed. Select the first row. The values from this row will be displayed in the x, y, z and d text boxes. Set the d value to 2.5 and select Replace Plane. Note that the values in the main window are not updated until Replace Plane is selected.
-
3.
Repeat step 2 for the next 3 planes as shown in Fig. 38.
-
4.
Select OK. The size of the domain will be updated and the newly specified region of the textile will be displayed as shown in Fig. 39. The updated textile can be found in Ex2_9_3.tg3.
Exercise 4 Solution
The amended script can be found in Ex2_9_4.py and the resulting textile is shown in Fig. 40. The changes are as follows:
- 1 & 2.
- 3.
- 4.
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Brown, L.P. (2022). TexGen. In: Kyosev, Y., Boussu, F. (eds) Advanced Weaving Technology. Springer, Cham. https://doi.org/10.1007/978-3-030-91515-5_6
Download citation
DOI: https://doi.org/10.1007/978-3-030-91515-5_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-91514-8
Online ISBN: 978-3-030-91515-5
eBook Packages: EngineeringEngineering (R0)