BakeTask
`construct.bake`: bake one SDF item into a tri mesh or a tet volume item, as the Bake menu does.
| Inherits | OpalTask |
In the namespace construct::opal. Declared in src/libs/libconstruct/construct/opal/BakeTask.hpp.
Detailed description
construct-mesh-tet-items §MTO-1. Since work-placement §WPI-7 it is "submit, wait, apply": it packs the live document, submits the job `construct.bake` to the queue of setBakeBatch(), waits for it, fetches the mesh to the bake's path and adds the item, so a plan and a person get the same result (§WPB-4). Where no queue is set, it calls the job's body, construct::xport::runBake(), inline on the task thread. The item is built by the one read-back the menu also uses (construct::xport::readBakeOutput). The result names the time of each step — job, read back, materialize — because the hang fixture of §MTH-4 reads them.