Altering fibre crimp in 3D weaves

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
Yusuf

Altering fibre crimp in 3D weaves

Post by Yusuf »

Hi,

I am currently making representations of 3D weaves in texgen and was wondering how I can change the waviness of particular yarns in the structure in order to model some of them being stiff rods.

Any help would be gratefully received

Yusuf
Wout

Post by Wout »

Hello Yusuf,

If you want to affect the yarn waviness, you could just modify the node locations that the yarn passes through.

clip from example script:

Code: Select all

Yarns = [CYarn(), CYarn(), CYarn(), CYarn()] 
 
# Add nodes to the yarns to describe their paths 
Yarns[0].AddNode(CNode(XYZ(0, 0, 0))) 
Yarns[0].AddNode(CNode(XYZ(0.22, 0, 0.05))) 
Yarns[0].AddNode(CNode(XYZ(0.44, 0, 0))) 
... 

Cheers
W

PS> You might want to sign up for the forum, that way you'll be informed by mail if you get a reply.
Yusuf

Post by Yusuf »

Thanks, I'll give ti a go

Yusuf
Post Reply