xport

Mesh export: the scene field baked to a mesh, post-processed and written to a file.

Group construct

In the namespace construct.

Detailed description

The export pipeline compiles the scene field once, divides the volume into chunks, extracts triangles from each chunk on the CPU or the GPU, runs the post-process chain on the mesh, and writes it with the mesh I/O registry. The namespace is xport and not export because export is a C++ keyword.

Function documentation

passengerStepLabel

QString xport::passengerStepLabel(const QString &spec, bool tetVolume)

The menu label of the passenger step spec, as the user chose it.

A batch job and an undo step name the operation the way the menu did, so "Merge coplanar faces" appears in the batch list and not the job type `construct/mesh_file` (construct-field-defects D7). A grouped step carries its group: `qemDecimate(0.5)` is "Decimate 50 %". The label comes from passengerMenuSteps(), the table the menu is built from, so a new step needs no label code.

spec is the step as the chain spells it, for example `coplanarMerge`. tetVolume is true for the Tet ▸ label of a tet volume, and false for the Mesh ▸ label of a tri mesh. When the step has only the other label, that one is used.

Returns the translated label, or spec itself when no menu entry has it.

Classes

Class What it is
BakeOutput Scene item that a finished bake adds, read back from its file
ClippedFieldEvaluator An IFieldEvaluator that reports the box-clipped field
FeaMaterial A material for a solve, in the mm, N, MPa system (§FEU-4, Q4)
FeaRegionResolver Regions of a solve, read from the document on the GUI thread, and resolved on a tet mesh on any thread (construct-fea-solve §FEJ-10)
FeaSetupGlyphAdapter FEA adapter of field-presentation §FVE-13: it turns a FeaSolveSetup into glyph places, and knows no glyph shape beyond the two of asset::SetupShape
FeaSolveActivity Every solve that runs, whoever started it: the menu or a plan (construct-fea-solve §FEJ-11). GUI thread
FeaSolveEstimate Memory of a solve with each solver choice, and the memory cap (construct-fea-solve §FEU-7)
FeaSolveOperation A solve of one tet volume, from the plan to the undo step (construct-fea-solve §FEJ-8)
FeaSolveRun One solve of one tet volume, from the plan to the undo step: the one path that Tet ▸ Solve… and `construct.tet.solve` both run (construct-fea-solve §FEJ-1, §FEJ-10)
FeaSolveSetup What a person chose in the Solve dialog, or a plan gave to `construct.tet.solve` (§FEU-2, §FEO-1)
OrientedBoxClip An oriented-box intersection applied to a scene SDF at export
PassengerMenuStep One entry of a passenger's Mesh ▸ or Tet ▸ menu: a step of this chain (construct-mesh-tet-items §MTM-3, §MTM-5)
PassengerOperation One operation on a finished mesh or tet volume: a step of the post-process chain that changes the item (construct-mesh-tet-items §MTM-4, owner ruling R-5)

Namespaces

Namespace What it is
results Input keys of derived results, and the cache that follows the inputs (simulation-ux §SXD-2, §SXD-5)
In this section