Export Field Solve Diagnostics (field.exportDiagnostics)
Menu: none (Quick Open, the CLI, Python and MCP) · Runs as: at once
Preview: turn on Preview features in Edit › Preferences › Simulation, or run
preview.set {"enabled":true}. Its replies carrypreview: trueand a note.
What it does
Checks the record (format powercraft-fem-diagnostics version 1: solverVersion, inputHash, mesh {nodes, elements, freeNodes, regions, minAngleDeg}, iterations, residual, adaptive [{elements, energy, change}], newton [{residual, damping}], timeS, estimatedPeakMemoryBytes) and writes it as one JSON file for a bug report. Reading the file back gives the same record, every number bit for bit. The file holds counts, the solver's numbers and a hash of the input, no coordinates, names or materials; it leaves the machine only if the user sends it. Changes nothing.
Parameters
diagnostics: object (a field solve's diagnostics, or a reply that carries them under `diagnostics`)path: str? (the .json file to write, through the host's file service)
Reply
- diagnostics
- file
- path
- bytes
- written
- notes