A Problem in 3D textiles modeling.

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
sagafive
Posts: 2
Joined: Wed May 03, 2017 8:18 am

A Problem in 3D textiles modeling.

Post by sagafive »

I use the script to modeling a four step braiding textile, but The section rotate unreasonably.
I suppose maybe because the control point of the yarn here is in the line parallel to axes Z. which means point [X,Y,Z1] and[X,Y, Z2] that the texgen can's handle.
The Braid_New.zip is the script.
Can any one explain this?
[img]Braid_New.png[/img]
Attachments
Braid_New.png
Braid_New.png (113.07 KiB) Viewed 4684 times
Braid_New.zip
python script file for textile modeling.
(1020 Bytes) Downloaded 112 times
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: A Problem in 3D textiles modeling.

Post by louisepb »

Hi,
This is a problem with the 'up vector' as described in the thread here: http://texgen.sourceforge.net/phpBB3/vi ... ctor#p2976

Hope that helps,
Louise
sagafive
Posts: 2
Joined: Wed May 03, 2017 8:18 am

Re: A Problem in 3D textiles modeling.

Post by sagafive »

Thanks Louise, I fix it with the SetUp() function.
Post Reply