Plugins to Manipulate Composite Layup Files

I wrote the attached plugins to help manipulate .layup files for use with Composite Modeler for Abaqus.

 

We had a use case where the part geometry and layup file were in different coordinate systems, so the entire layup had to be translated to map correctly. The image below shows a preview of the original layup being mapped to the offset mesh:

The 'Layup Offset'plugin takes the name of a layup file and the required offset coordinates (think of it as a vector translation from the origin):

It writes a new file 'layupname_mod.layup' which can then be mapped onto the offset mesh:

 

The second plugin mirrors layup files, allowing you to quickly create the other half of a symmetry model. Again, specify the name of the layup file and select the global axis corresponding to the mirror plane normal. You can also select whether to mirror the ply angles or not:

 

The resulting layup file is named 'layupname_mirror-?-Axis.Layup'.

 

Scripts are in the attached zip and as usual, extra credit for the following:

Add capability to mirror about aribtary/selected plane

Add option to selectively mirror angles

Write an additional plugin to rotate layup files

 

Good luck!