{
  "schema": "nativebim.nativecad-record/1",
  "note": "What NativeCAD did with equipment/pump.stl, recorded so the build runs without it. Re-run the three calls in request.steps to refresh it.",
  "nativecad": {
    "name": "NativeCAD",
    "version": "0.25.0",
    "tool": "cad_server_info",
    "licence": "studio"
  },
  "request": {
    "generator": "NativeBIM mesh/bridge.js request.json (kind nativebim.mesh-to-brep)",
    "input": "the bridge's cleaned, welded mesh written as binary STL in millimetres (mesh.stl, 1170 triangles)",
    "steps": [
      {
        "tool": "cad_import",
        "args": {
          "path": "<work>/mesh.stl",
          "document": "new",
          "units": "mm"
        }
      },
      {
        "tool": "cad_mesh_to_brep",
        "args": {
          "of": "<handle from cad_import>",
          "mixed": true,
          "heal": true
        }
      },
      {
        "tool": "cad_export_body",
        "args": {
          "format": "step",
          "path": "equipment/pump.step",
          "of": "<handle from cad_mesh_to_brep>",
          "document": "<document from cad_import>"
        }
      }
    ]
  },
  "meshToBrep": {
    "mesh": {
      "vertices": 587,
      "triangles": 1170,
      "weldedFrom": 3510
    },
    "regions": 18,
    "recognised": {
      "plane": 12,
      "cylinder": 6
    },
    "faceCount": 24,
    "edgeCount": 48,
    "volumeMm3": 63806337.93705996,
    "watertight": true,
    "worstFitErrorMm": 0.000012787386879153928,
    "exportBytes": 34695,
    "exportWarning": "24 mesh-derived faces: their edges are chords, not curves on the surface (a strict or handoff export refuses them)"
  },
  "reimport": {
    "tool": "cad_import",
    "path": "equipment/pump.step",
    "solidCount": 1,
    "faceCount": 24,
    "edgeCount": 48,
    "vertexCount": 32,
    "volumeMm3": 63806337.93705996,
    "surfaceAreaMm2": 1229443.490622418,
    "bboxMm": {
      "min": [
        -294,
        -160,
        0
      ],
      "max": [
        600,
        160,
        454
      ]
    },
    "watertight": true,
    "topologyErrors": 0,
    "health": "clean (tier local)",
    "units": "mm, declared by the file"
  }
}
