upxo.pxtal.fm_steel_3d.steps.steps_mesh_export module
Mesh Export – Part J of the FM Steel 3D walkthrough.
Thin wrapper around mesh_exporter_3d.MeshExporter3D. fm_state accepts any of FMSteel3DWithPAGs/WithBlocks/WithOrientations/WithSubBlocks – the exporter auto-detects the lowest hierarchy level present for element-set/material/section assignment. Default element-set naming prefixes from the base class are used as-is. For custom set names, optional grain-boundary/junction sets, extra node sets, a chosen hierarchy level or rescaling the grid, use deck_export.export_deck.
- upxo.pxtal.fm_steel_3d.steps.steps_mesh_export.export_mesh(fm_state, out_dir, folder_name='fm_steel_mesh', element_type='C3D8', output_unit='microns', verbosity=0, custom_message='')[source]
Exports fm_state as an Abaqus voxel-conformal mesh into <out_dir>/<folder_name>/ (auto-created if missing – MeshExporter3D.set_output_base_path requires the path to already exist).
element_type: one of ‘C3D8’ (linear hex), ‘C3D4’ (linear tet), ‘C3D20’ (quadratic hex), ‘C3D10’ (quadratic tet).
- Returns:
pathlib.Path
- Return type:
the folder actually written to.