I’m looking for some ideas on how to best manage a model in the script I am working on to import into blender using python. I am writing an import script for .msh files (the format for Fluent, an engineering program.)
We typically do models which are broken up into major groups and then smaller subsets. So an example would be:
BodyGroup.msh (which would include)
hood
doors
roof
trunk
WheelsAndSuspension.msh
wheels
suspenion
brakes
ChassisGroup.msh
frame
floorpan
firewall
Some of our models contain 15 .msh files with up 100 components.
I would like to mantain the hierarchy and have the ability to operate on a group or an individual component. So if I wanted to toggle visibility I could turn off the entire body group, or I could just turn off the doors.
Does anyone have any recommendations on what sort of structure would be the best to achieve this?
I have considered reading the main groups in as mesh objects and then having each component be a vertex group. But I’m not sure this is the way to go.
I have also considered reading each component in as its own mesh object, but some our models have have so many components, it seems it would be cumbersome.
Is there a way to group mesh objects?
Any other ideas?