deep penetration wrong orientation

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
whyzjuhit
Regular
Posts: 13
Joined: Sun Jun 16, 2019 8:37 am

deep penetration wrong orientation

Post by whyzjuhit »

Dear Louise,

Due to deep penetration between yarns, the orientation of some elements are wrong.

Can I do something to correct this?
P1.png
P1.png (168.24 KiB) Viewed 9582 times
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: deep penetration wrong orientation

Post by louisepb »

Hi,

It's not easy to see what is going on when some of the yarns are missing. My guess is that if the penetrations are very deep then the PointInsideYarn function which finds the point at which to work out the orientations is finding the wrong yarn and returning the orientation for that. (It will have located the point inside two yarns and then have made a decsion about which one to use). The best way to fix that would be to correct your model so that you don't have the penetrations as this is not physically possible and would not be a good representation of the textile.

I hope that helps,
Louise
whyzjuhit
Regular
Posts: 13
Joined: Sun Jun 16, 2019 8:37 am

Re: deep penetration wrong orientation

Post by whyzjuhit »

louisepb wrote:Hi,

It's not easy to see what is going on when some of the yarns are missing. My guess is that if the penetrations are very deep then the PointInsideYarn function which finds the point at which to work out the orientations is finding the wrong yarn and returning the orientation for that. (It will have located the point inside two yarns and then have made a decsion about which one to use). The best way to fix that would be to correct your model so that you don't have the penetrations as this is not physically possible and would not be a good representation of the textile.

I hope that helps,
Louise
Hi Louise,

My yarn section edge is too sharp, is there some way to make it smooth?
www11.png
www11.png (54.83 KiB) Viewed 9523 times
ww22.png
ww22.png (151.22 KiB) Viewed 9523 times
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: deep penetration wrong orientation

Post by louisepb »

Hi,
The points on the outline of the section will depend on the resolution and the type of cross-section that you have specified. The resolution will give the number of points around the outline of the section. These are calculated so that they are evenly spaced and interpolate between the points specified which form the section shape. If the shape is one of the geometric shapes such as elliptical then, even with a low resolution, you will probably end up with a reasonably smooth shape. If you have specified a polygon section then you may end up with something like you show in your image. If you increase the resolution then it will adhere more closely to the outline given by the points.

Hope that makes sense!
Louise
Post Reply