Power Ellipse Section with offset in two directions

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
vptudd
Posts: 4
Joined: Thu Feb 02, 2017 3:20 pm

Power Ellipse Section with offset in two directions

Post by vptudd »

Hello,
I´ve got another question.
Is it possible to generate a yarn with two different directions of section-offset along its path?
I want to create a yarn with a power-elliptical section with an offset in x-direction to allow for a leno yarn to cross and, at different points, an offset in z-direction to properly simulate a different crossing.
I´ve tried to use only the x-offset and rotate the places where I need z-offset by 90°, but that just messed up my model.
Any help is much appreciated, thanks in advance.

PS. Please excuse grammatical and wording mistakes. English is not my native language.
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Power Ellipse Section with offset in two directions

Post by louisepb »

Hi,

At the moment there is no option to apply an offset in the z-direction on the power ellipse section. As you probably saw, if you rotate the section this, in effect, rotates the yarn so that the surface mesh becomes rotated.

I think that you could achieve what you're after by using the hybrid section as described here: http://texgen.sourceforge.net/index.php ... s-Sections You may need to play around with the combinations of section you use to get the required shape.

Alternatively, if you're ok with a bit of Python scripting, you could use the Polygon section which allows you to specify a set of points around the cross-section. This isn't available via the GUI. There is information about how to use this on the thread here: http://texgen.sourceforge.net/phpBB3/vi ... ygon#p3171

Hope that helps,
Louise
Post Reply