I need to produce simulation data for randomly generated cantilever beams, and save their maximum deflection given a load, and/or perform frequency-response analysis. To do this the body needs to be meshed as an FEM mesh. Hence, I would like to write a script that generates a mesh file (.msh) from that single-body .step file.
Desired Pipeline: Input: single-body .step file of a cantilever beam with an arbitrary cross-section Output: .msh file of the meshed body