How to generate tetrahedral mesh of Yarn
Moderators: Martin, Developers
How to generate tetrahedral mesh of Yarn
H.I'm new to editing Python. After reading the TexGen Scripting Guide.pdf file, I only found a way to create a tetrahedral mesh with CMesher, but this method would output the matrix mesh.I don't want this matrix mesh.
Re: How to generate tetrahedral mesh of Yarn
Hi,
Sorry for the slow reply - I've been on holiday
Do you definitely need a tetrahedral mesh or are you just looking for a conformal mesh? If it doesn't have to be tetrahedral the the dry fibre export is the most reliable option. The easiest way to see how to do it using Python is to do a dry fibre export in the GUI and then look in the Pythong Output window to see what functions were executed. This just exports the yarns.
The volume mesh does not have an option to save just the yarns but you could edit the .inp file and remove the matrix element set.
Hope that helps,
Louise
Sorry for the slow reply - I've been on holiday
Do you definitely need a tetrahedral mesh or are you just looking for a conformal mesh? If it doesn't have to be tetrahedral the the dry fibre export is the most reliable option. The easiest way to see how to do it using Python is to do a dry fibre export in the GUI and then look in the Pythong Output window to see what functions were executed. This just exports the yarns.
The volume mesh does not have an option to save just the yarns but you could edit the .inp file and remove the matrix element set.
Hope that helps,
Louise