Units when Creating 2D Weave

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
gzherui
Posts: 4
Joined: Thu Dec 12, 2019 2:21 am

Units when Creating 2D Weave

Post by gzherui »

I am wondering about the units involved in creating a 2D weave.

http://texgen.sourceforge.net/index.php ... te_Textile

Since units are only input when creating a yarn and not in this step, are the yarn spacing/width and fabric thickness values just multiples of some inherent yarn dimension?
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Units when Creating 2D Weave

Post by louisepb »

Hi,

The default units are mm. If you want to change this you can set the units for the yarns using the textile.SetGeometryScale function. Pass the required units as a string parameter, eg textile.SetGeometryScale('m')

Hope that helps,
Louise
gzherui
Posts: 4
Joined: Thu Dec 12, 2019 2:21 am

Re: Units when Creating 2D Weave

Post by gzherui »

That really helps, thank you so much for this amazing program!
Post Reply