Too many things are written to the output files (STP & INP in this case)
I'm stumbling a bit when exporting different file types. For testing I have chosen a simple rounded cube, see attachment. I want to export it once to Abaqus INP format (the mesh) and once to STP exchange format (the geometry). With both formats I have a similar problem: Too much is exported.
With the STP export I get not only the volume, but also each line / wire loop / face separately (in the attachment I exploded the STP in FreeCAD, and get 27 parts, which are composed of 12 lines, 6 wire loops, 6 faces, 1 surface loop, 1 volume and 1 time all vertices). This leads to the fact that the STP becomes unnecessarily large with more complex models and accordingly can be loaded and processed slowly in the CAD programs.
The Abaqus INP format has a similar effect: In addition to the desired 3D volume elements, there are also 1D or 2D elements for each line and each surface. I also noticed (but this is not the case with the attached example) that PhysicalGroups are always exported as element selection. But since I want to have only the 3D elements, it would be more convenient to export PhysicalGroups of lower order (everything less than or equal to 2D in my case where i want to have volume elements) as node selections.
Can I somehow control what exactly should be exported?
By the way, I exported with the command:
gmsh "RoundedCube.geo" -3 -o "RoundedCube.inp" gmsh "RoundedCube.geo" -o "RoundedCube.stp" -0