Parsing Salome Modules to limit build file size

Hi all,

For context, I’m currently using Salome through the terminal to run a dump file that builds a model in the Shaper module then meshes it in the Mesh module. I only use these two specific modules and exit the program after the mesh has been exported.

Does anyone have any guidance on how I can parse the Salome build and limit it to only those two modules to reduce its disk space or build file size? Any suggestions or insights would be greatly appreciated.