Search found 4 matches

by ggam
Wed Feb 05, 2020 2:27 pm
Forum: General
Topic: Adding yarn to a layer to layer interlock
Replies: 7
Views: 10948

Re: Adding yarn to a layer to layer interlock

Hello, As you suggested only left the top and bottom warps. When looping through the yarns in the middle to delete them, I noticed that the index of each yarn changed (after deleting yarn(1), the yarn(2) became yarn(1) for example) so I had to delete the second yarn of each column and loop it for th...
by ggam
Fri Jan 31, 2020 11:00 am
Forum: General
Topic: Adding yarn to a layer to layer interlock
Replies: 7
Views: 10948

Re: Adding yarn to a layer to layer interlock

Hi, You are right!. I deleted the CombiTextile but TexGen still crashes and closes when I add the Yarn to the weave. # LayerToLayer import sys sys.path.append("C:/Program Files/TexGen/Python/libxtra") from TexGen.Core import * nx = 4 # number of x (warp & binder) yarns ny = 4 # number ...
by ggam
Tue Jan 28, 2020 2:09 pm
Forum: General
Topic: Adding yarn to a layer to layer interlock
Replies: 7
Views: 10948

Re: Adding yarn to a layer to layer interlock

Dear Louise, thank you for the quick response! The documentation says Add yarn of type XYARN or NOYARN parallel to the X axis. So to add a new yarn just beside the first biding yarn that I have, for example, newyarn = weave.AddXYarn(1,1) where the first value is its grid position iy and the second v...
by ggam
Fri Jan 24, 2020 10:20 am
Forum: General
Topic: Adding yarn to a layer to layer interlock
Replies: 7
Views: 10948

Adding yarn to a layer to layer interlock

Hello everyone, I just started using TexGen and I am also very new to phyton. I've already created the pattern for the binding yarns of my textile following the examples. I need to add another yarn very close to each binding yarn only on the top and bottom layers. Is that a way to set the position o...