Skip to content
Development version. Forge is under active development and testing. APIs, behaviour, coverage and verification results may be incomplete or change without notice; published PASS results are not a support guarantee or production-readiness claim.

Verification

Parametric flat sheet, through hole and 90° fold

Native sheet-metal history with an associative Sketch fold line

Verified scpf 80 × 40 × 2 mm sheet; R2 bend, K=0.5, 90° fold, Ø6 hole

What this verifies

An 80 × 40 mm flat sheet blank with one through hole and one 90 degree native fold using a shared sheet rule. The bend line is a native Sketch line whose endpoints depend on the editable depth parameter, so changing depth after saving extends the fold line and rebuilds the sheet.

Expected setup

Parametric flat sheet, through hole and 90° fold expected setup diagram

Published scpf baseline: declared expected body envelopes. Conceptual projection, not verification output.

scpf source

Complete primary source from the site branch; built revision below.

scpf/model.py
"""Native sheet-metal fold fixture used by qualification #305."""


class SheetFold:
    width = 80.0
    depth = 40.0
    thickness = 2.0
    bend_radius = 2.0
    k_factor = 0.5
    fold_angle = 90.0
    hole_diameter = 6.0

    def build(self):
        with Sketch(name="Blank", plane="XY") as blank:
            Rectangle2D(self.width, self.depth)

        sheet = blank.sheet_metal(
            thickness=self.thickness,
            bend_radius=self.bend_radius,
            k_factor=self.k_factor,
            rule_name="SheetFold Rule",
        )

        sheet = sheet + Hole(
            d=self.hole_diameter,
            direction=(0, 0, -1),
        ).at(-20, 0, self.thickness)

        with Sketch(name="Fold line", plane="XY") as fold_sketch:
            fold_line = fold_sketch.line(
                start=(20, -(self.depth / 2)),
                end=(20, self.depth / 2),
            )

        return sheet.fold(
            line=fold_line,
            angle=self.fold_angle,
            fixed=(-30, 0, 0),
        )


SheetFold()

Engineering explanation

Flat sheet, through hole and 90° fold

Documentation provenance: the engineering text below is copied verbatim from the last canonical qualification/cases.py source before its removal, commit be40b09e7454a90e87d83768a9e7453c52ba5d76. Machine verification lives in verification/solidcraft.py.

Legacy group: features

Goal

Qualify the fabrication workflow used by later bent parts: create one flat sheet blank, cut an ordinary Hole while flat, fold existing material, and recover the developed flat pattern.

Forge API

with Sketch(…): Rectangle2D(…); blank.sheet_metal(thickness=…, bend_radius=…, k_factor=…); sheet + Hole(…).at(…); sheet.fold(line=…, angle=…, fixed=…)

Forge model

One 80 x 40 mm rectangular flat blank with a shared 2 mm sheet rule, one Ø6 through hole in the fixed flat, and one 90 degree fold along the Y direction near the right side.

How Forge builds it in SolidCraft

Forge emits one sheet.manage_rules, one Blank sketch, one sheet.flange(type=‘base’), one native solid.hole and one native sheet.fold. No solid.extrude or fused-solid bend approximation is used.

SolidCraft result

SolidCraft 0.42 keeps one connected sheet-metal body with the Ø6 hole on the fixed flat, one native Fold feature and a flat pattern that recovers the original rectangular blank and cutout.

Saved-design test

No saved-design mutation is required in this first sheet-metal qualification. unit, integration and native geometry checks prove the shared rule, native feature history and formed geometry; a post-build flat-pattern inspection proves recoverability of the developed blank.

Geometry evidence

Geometry-rationale provenance: copied verbatim from qualification/geometry_contracts.py at commit be40b09e7454a90e87d83768a9e7453c52ba5d76.

Bounds sufficient: false

The formed bounding box does not prove sheet thickness, the Ø6 cutout or that the upright region came from a native bend. Volume and native sheet history/flat-pattern evidence are required.

Reference notes

  • build123d — The pinned build123d 0.12.0 reference uses make_brake_formed for an independent final-geometry comparison. Its newer BuildSheet/bend API is design input only and is not silently substituted into the pinned reference runtime.
  • CadQuery — Independent final geometry is built from flat and bent solid envelopes; CadQuery does not provide the same native sheet-history contract.
  • PythonSCAD — Constructive geometry independently represents the formed envelope and through hole; native sheet rules/history remain SolidCraft-only evidence.
  • pyBOSL2 — Constructive geometry independently represents the formed envelope and through hole; native sheet rules/history remain SolidCraft-only evidence.
Generated command sequence — scpf (17)

Open published command JSON

  1. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "80",
        "name": "width",
        "unit": "mm"
      }
    }
  2. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "40",
        "name": "depth",
        "unit": "mm"
      }
    }
  3. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "2",
        "name": "thickness",
        "unit": "mm"
      }
    }
  4. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "2",
        "name": "bend_radius",
        "unit": "mm"
      }
    }
  5. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "0.5",
        "name": "k_factor",
        "unit": ""
      }
    }
  6. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "6",
        "name": "hole_diameter",
        "unit": "mm"
      }
    }
  7. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "90",
        "name": "fold_angle",
        "unit": "deg"
      }
    }
  8. sheet.manage_rules

    {
      "command": "sheet.manage_rules",
      "params": {
        "active": true,
        "bend_radius": "bend_radius",
        "k_factor": "k_factor",
        "name": "SheetFold Rule",
        "thickness": "thickness"
      }
    }
  9. sketch.create

    {
      "command": "sketch.create",
      "params": {
        "name": "Blank",
        "plane": "XY"
      }
    }
  10. sketch.rectangle.two_point

    {
      "command": "sketch.rectangle.two_point",
      "params": {
        "p0": [
          "-(width / 2)",
          "-(depth / 2)"
        ],
        "p1": [
          "width / 2",
          "depth / 2"
        ]
      }
    }
  11. sketch.finish

    {
      "command": "sketch.finish",
      "params": {}
    }
  12. sheet.flange

    {
      "command": "sheet.flange",
      "params": {
        "body_name": "SheetFold",
        "rule": "SheetFold Rule",
        "sketch": "Blank",
        "type": "base"
      }
    }
  13. solid.hole

    {
      "command": "solid.hole",
      "params": {
        "diameter": "hole_diameter",
        "direction": [
          0.0,
          0.0,
          -1.0
        ],
        "position": [
          -20,
          0,
          "thickness"
        ],
        "targets": [
          "SheetFold"
        ]
      }
    }
  14. sketch.create

    {
      "command": "sketch.create",
      "params": {
        "name": "Fold line",
        "plane": "XY"
      }
    }
  15. sketch.line

    {
      "command": "sketch.line",
      "params": {
        "connect": true,
        "ids": [
          "l1"
        ],
        "points": [
          [
            20,
            "-(depth / 2)"
          ],
          [
            20,
            "depth / 2"
          ]
        ]
      }
    }
  16. sketch.finish

    {
      "command": "sketch.finish",
      "params": {}
    }
  17. sheet.fold

    {
      "command": "sheet.fold",
      "params": {
        "angle": "fold_angle",
        "body": "SheetFold",
        "curve": "l1",
        "fixed": [
          -30,
          0,
          0
        ],
        "flip": false,
        "position": "centerline",
        "sketch": "Fold line"
      }
    }

Reference code

cadquery source · pass

cadquery/model.py
"""CadQuery geometry reference for the qualified 90-degree sheet fold."""

from math import cos, pi, sin
import cadquery as cq

R_INNER = 2.0
THICKNESS = 2.0
R_OUTER = R_INNER + THICKNESS
X_TANGENT = 17.64380551
Z_TOP = 21.64380551
CENTER = (X_TANGENT, 4.0)
SEGMENTS = 32


def arc_points(radius, start, end, count=SEGMENTS):
    return [
        (
            CENTER[0] + radius * cos(start + (end - start) * i / count),
            CENTER[1] + radius * sin(start + (end - start) * i / count),
        )
        for i in range(count + 1)
    ]


outer = arc_points(R_OUTER, -pi / 2, 0)
inner = list(reversed(arc_points(R_INNER, -pi / 2, 0)))

profile = [
    (-40.0, 0.0),
    *outer,
    (X_TANGENT + R_OUTER, Z_TOP),
    (X_TANGENT + R_INNER, Z_TOP),
    *inner,
    (-40.0, 2.0),
]

sheet = (
    cq.Workplane("XZ")
    .polyline(profile)
    .close()
    .extrude(20, both=True)
)
hole = (
    cq.Workplane("XY")
    .center(-20, 0)
    .circle(3)
    .extrude(4, both=True)
)
result = sheet.cut(hole)

model = cq.Assembly()
model.add(result, name="sheet_fold")
Published reference result

Independent implementation result.

build123d source · pass

build123d/model.py
"""build123d 0.12 geometry reference for the qualified 90-degree sheet fold.

build123d's make_brake_formed helper is not used here because the pinned 0.12
implementation fails to solidify this small R2 / 2 mm fixture. The reference
instead builds the exact folded XZ section independently and extrudes it across
the 40 mm width.
"""

from math import cos, pi, sin

from build123d import (
    Align,
    BuildPart,
    BuildSketch,
    Cylinder,
    Locations,
    Mode,
    Plane,
    Polygon,
    extrude,
)

R_INNER = 2.0
THICKNESS = 2.0
R_OUTER = R_INNER + THICKNESS
X_TANGENT = 17.64380551
Z_TOP = 21.64380551
CENTER = (X_TANGENT, 4.0)
SEGMENTS = 32


def arc_points(radius, start, end, count=SEGMENTS):
    return [
        (
            CENTER[0] + radius * cos(start + (end - start) * i / count),
            CENTER[1] + radius * sin(start + (end - start) * i / count),
        )
        for i in range(count + 1)
    ]


outer = arc_points(R_OUTER, -pi / 2, 0)
inner = list(reversed(arc_points(R_INNER, -pi / 2, 0)))
profile = [
    (-40.0, 0.0),
    *outer,
    (X_TANGENT + R_OUTER, Z_TOP),
    (X_TANGENT + R_INNER, Z_TOP),
    *inner,
    (-40.0, 2.0),
]

with BuildPart() as model:
    with BuildSketch(Plane.XZ):
        Polygon(*profile)
    extrude(amount=20, both=True)

    with Locations((-20, 0, -1)):
        Cylinder(
            3,
            4,
            align=(Align.CENTER, Align.CENTER, Align.MIN),
            mode=Mode.SUBTRACT,
        )
Published reference result

Independent implementation result.

pythonscad source · pass

pythonscad/model.py
"""PythonSCAD geometry reference for the qualified 90-degree sheet fold."""

from math import cos, pi, sin
from pythonscad import *

R_INNER = 2.0
THICKNESS = 2.0
R_OUTER = R_INNER + THICKNESS
X_TANGENT = 17.64380551
Z_TOP = 21.64380551
CENTER = (X_TANGENT, 4.0)
SEGMENTS = 32


def arc_points(radius, start, end, count=SEGMENTS):
    return [
        [
            CENTER[0] + radius * cos(start + (end - start) * i / count),
            CENTER[1] + radius * sin(start + (end - start) * i / count),
        ]
        for i in range(count + 1)
    ]


outer = arc_points(R_OUTER, -pi / 2, 0)
inner = list(reversed(arc_points(R_INNER, -pi / 2, 0)))

profile = [
    [-40.0, 0.0],
    *outer,
    [X_TANGENT + R_OUTER, Z_TOP],
    [X_TANGENT + R_INNER, Z_TOP],
    *inner,
    [-40.0, 2.0],
]

sheet = (
    polygon(profile)
    .linear_extrude(height=40)
    .rotate([90, 0, 0])
    .translate([0, 20, 0])
)
hole = cylinder(d=6, h=4).translate([-20, 0, -1])
model = sheet - hole
Published reference result

Independent implementation result.

pybosl2 source · pass

pybosl2/model.py
"""pyBOSL2 geometry reference for the qualified 90-degree sheet fold."""

from math import cos, pi, sin
from pybosl2 import Path2D, cyl

R_INNER = 2.0
THICKNESS = 2.0
R_OUTER = R_INNER + THICKNESS
X_TANGENT = 17.64380551
Z_TOP = 21.64380551
CENTER = (X_TANGENT, 4.0)
SEGMENTS = 32


def arc_points(radius, start, end, count=SEGMENTS):
    return [
        [
            CENTER[0] + radius * cos(start + (end - start) * i / count),
            CENTER[1] + radius * sin(start + (end - start) * i / count),
        ]
        for i in range(count + 1)
    ]


outer = arc_points(R_OUTER, -pi / 2, 0)
inner = list(reversed(arc_points(R_INNER, -pi / 2, 0)))

profile = [
    [-40.0, 0.0],
    *outer,
    [X_TANGENT + R_OUTER, Z_TOP],
    [X_TANGENT + R_INNER, Z_TOP],
    *inner,
    [-40.0, 2.0],
]

sheet = (
    Path2D(profile, closed=True)
    .linear_extrude(height=40)
    .rotate(90, [1, 0, 0])
    .translate([0, 20, 0])
)
hole = cyl(diameter=6, height=4).translate([-20, 0, 1])
model = sheet - hole
Published reference result

Independent implementation result.

Current visual verification — scpf

Each model-owned view is evaluated independently. Actual is the current native result; Goal is the declared expected profile; Overlay combines both; Diff compares the approved regression baseline.

front

pass

Regression: pass · expected shape: pass

Parametric flat sheet, through hole and 90° fold Actual visual verification
Actual
Parametric flat sheet, through hole and 90° fold Goal visual verification
Goal
Parametric flat sheet, through hole and 90° fold Overlay visual verification
Overlay
Parametric flat sheet, through hole and 90° fold Diff visual verification
Diff

right

pass

Regression: pass · expected shape: missing

Parametric flat sheet, through hole and 90° fold Actual visual verification
Actual
Parametric flat sheet, through hole and 90° fold Diff visual verification
Diff

iso

pass

Regression: pass · expected shape: pass

Parametric flat sheet, through hole and 90° fold Actual visual verification
Actual
Parametric flat sheet, through hole and 90° fold Goal visual verification
Goal
Parametric flat sheet, through hole and 90° fold Overlay visual verification
Overlay
Parametric flat sheet, through hole and 90° fold Diff visual verification
Diff

top

pass

Regression: missing · expected shape: pass

Parametric flat sheet, through hole and 90° fold Actual visual verification
Actual
Parametric flat sheet, through hole and 90° fold Goal visual verification
Goal
Parametric flat sheet, through hole and 90° fold Overlay visual verification
Overlay

Image overview

Only images present in the published build are displayed. Presentation previews are not visual verification results.

Verification checks

scpf — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max21.64380551 × 20 × 21.6438055121.6438064575 × 20 × 21.6438064575pass
Bounds / min-40 × -20 × 0-40 × -20 × 0pass
Volume / mm36343.451332246343.40375155pass
Watertighttruetruepass
native / baselinepass
MeasurementExpectedMeasuredCheck
SolidCraft body count11pass
Body envelopes / count11pass
Body 1 / min [mm]-40 × -20 × 0-40 × -20 × 0—
Body 1 / max [mm]21.64380551 × 20 × 21.6438055121.6438055098 × 20 × 21.6438055098—
SolidCraft timeline[{"name": "Blank", "type": "Sketch"}, {"name": "BaseFlange1", "type": "BaseFlangeFeature"}, {"name": "Hole1", "type": "HoleFeature"}, {"name": "Fold line", "type": "Sketch"}, {"name": "Fold1", "type": "FoldFeature"}][{"name": "Blank", "type": "Sketch"}, {"name": "BaseFlange1", "type": "BaseFlangeFeature"}, {"name": "Hole1", "type": "HoleFeature"}, {"name": "Fold line", "type": "Sketch"}, {"name": "Fold1", "type": "FoldFeature"}]pass
native / saved_design_depth-60pass
MeasurementExpectedMeasuredCheck
SolidCraft body count11pass
SolidCraft parameters / depth6060pass
SolidCraft timeline[{"name": "Blank", "type": "Sketch"}, {"name": "BaseFlange1", "type": "BaseFlangeFeature"}, {"name": "Hole1", "type": "HoleFeature"}, {"name": "Fold line", "type": "Sketch"}, {"name": "Fold1", "type": "FoldFeature"}][{"name": "Blank", "type": "Sketch"}, {"name": "BaseFlange1", "type": "BaseFlangeFeature"}, {"name": "Hole1", "type": "HoleFeature"}, {"name": "Fold line", "type": "Sketch"}, {"name": "Fold1", "type": "FoldFeature"}]pass
native / inspection_flat_patternpass
visual / frontpass
visual / rightpass
visual / isopass
visual / toppass

cadquery — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max21.64380551 × 20 × 21.6438055121.6438064575 × 20 × 21.6438064575pass
Bounds / min-40 × -20 × 0-40 × -20 × 0pass
Volume / mm36343.451332246343.32347179pass
Watertighttruetruepass

build123d — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max21.64380551 × 20 × 21.6438055121.6438064575 × 20 × 21.6438064575pass
Bounds / min-40 × -20 × 0-40 × -20 × 0pass
Volume / mm36343.451332246343.32347179pass
Watertighttruetruepass

pythonscad — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max21.64380551 × 20 × 21.6438055121.6438055113 × 20 × 21.6438055113pass
Bounds / min-40 × -20 × 0-40 × -20 × 0pass
Volume / mm36343.451332246346.94794786pass
Watertighttruetruepass

pybosl2 — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max21.64380551 × 20 × 21.6438055121.6438064575 × 20 × 21.6438064575pass
Bounds / min-40 × -20 × 0-40 × -20 × 0pass
Volume / mm36343.451332246346.9480271pass
Watertighttruetruepass

Model stages

  1. Create the parameterized flat rectangular Blank sketch
  2. Create native sheet material and cut the Ø6 hole while flat
  3. Author a separate Fold line Sketch whose endpoints follow depth
  4. Fold the sheet 90 degrees through the native Sketch/curve reference
  5. Change depth in the saved design and require the fold to rebuild cleanly

Build and verification

  • Primary implementation: scpf
  • Build source: 1dead221b9ea2c31901da9a19a8c205d25272ec3
  • Durable scope: main

Implementations

  • build123d — builder-build123d: build=pass, verification=pass · STL · Preview · verification · result
    • geometry: status=pass, adapter=mesh-geometry, runtime=ghcr.io/brainboxemb/cad-reference:v0.3.6 · verification
  • cadquery — builder-cadquery: build=pass, verification=pass · STL · Preview · verification · result
    • geometry: status=pass, adapter=mesh-geometry, runtime=ghcr.io/brainboxemb/cad-reference:v0.3.6 · verification
  • pybosl2 — builder-pybosl2: build=pass, verification=pass · STL · Preview · verification · result
    • geometry: status=pass, adapter=mesh-geometry, runtime=ghcr.io/brainboxemb/cad-reference:v0.3.6 · verification
  • pythonscad — builder-pythonscad: build=pass, verification=pass · STL · Preview · verification · result
    • geometry: status=pass, adapter=mesh-geometry, runtime=ghcr.io/brainboxemb/cad-reference:v0.3.6 · verification
  • scpf — builder-scpf: build=pass, verification=pass · STL · SC · Preview · commands · verification · result
    • geometry: status=pass, adapter=mesh-geometry, runtime=ghcr.io/brainboxemb/cad-reference:v0.3.6 · verification
    • native: status=pass, adapter=solidcraft-model, runtime=ghcr.io/brainboxemb/cad-solidcraft:v0.3.6 · verification
    • visual: status=pass, adapter=solidcraft-visual, runtime=ghcr.io/brainboxemb/cad-solidcraft:v0.3.6 · verification

scpf

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            21.64380645751953,
            20.0,
            21.64380645751953
          ],
          "actual_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "expected_max": [
            21.64380551,
            20.0,
            21.64380551
          ],
          "expected_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "max_delta_mm": 9.475195312802498e-07,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.996954196193158,
            "delta_mm": 0.0030458038068421622,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=0.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              0.5
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 2.99695419657962,
            "delta_mm": 0.0030458034203801887,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=1.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              1.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 6343.403751546887,
          "delta_mm3": 0.047580688496964285,
          "expected_mm3": 6343.451332235384,
          "pass": true,
          "tolerance_mm3": 5.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/scpf/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold-scpf-geometry"
}
native — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "baseline/measurements.json",
          "sha256": "97e94028a91ec05311055760fe9461bf0271b2f1f09287f230acea313647946d",
          "size": 3784
        }
      ],
      "error": null,
      "evidence": {
        "body_count": {
          "actual": 1,
          "expected": 1,
          "label": "SolidCraft body count",
          "pass": true
        },
        "body_envelopes": {
          "actual_count": 1,
          "expected_count": 1,
          "kind": "body_envelopes",
          "matched_pairs": [
            {
              "actual": {
                "label": "SheetFold",
                "max": [
                  21.64380550980766,
                  20.000000000000004,
                  21.643805509807656
                ],
                "min": [
                  -40.0,
                  -20.000000000000004,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  21.64380551,
                  20.0,
                  21.64380551
                ],
                "min": [
                  -40.0,
                  -20.0,
                  0.0
                ]
              },
              "max_delta": 1.9234391857025912e-10
            }
          ],
          "pass": true,
          "tolerance": 0.01,
          "unmatched_actual": [],
          "unmatched_expected": []
        },
        "named_bodies": [
          {
            "closed": {
              "actual": true,
              "expected": true,
              "label": "sole body closed",
              "pass": true
            },
            "selector": "sole",
            "sheet_metal": {
              "actual": true,
              "expected": true,
              "label": "sole body sheet_metal",
              "pass": true
            },
            "volume": {
              "actual": 6343.451332235381,
              "delta": 2.7284841053187847e-12,
              "expected": 6343.451332235384,
              "kind": "scalar",
              "label": "sole body volume",
              "pass": true,
              "tolerance": 0.01
            }
          }
        ],
        "sketches": [
          {
            "actual": {
              "curves": 4,
              "name": "Blank",
              "profiles": 1,
              "status": "solved"
            },
            "expected": {
              "curves": 4,
              "name": "Blank",
              "profiles": 1,
              "status": "solved"
            },
            "label": "Blank sketch",
            "pass": true
          },
          {
            "actual": {
              "curves": 1,
              "name": "Fold line"
            },
            "expected": {
              "curves": 1,
              "name": "Fold line"
            },
            "label": "Fold line sketch",
            "pass": true
          }
        ],
        "timeline": {
          "actual": [
            {
              "name": "Blank",
              "type": "Sketch"
            },
            {
              "name": "BaseFlange1",
              "type": "BaseFlangeFeature"
            },
            {
              "name": "Hole1",
              "type": "HoleFeature"
            },
            {
              "name": "Fold line",
              "type": "Sketch"
            },
            {
              "name": "Fold1",
              "type": "FoldFeature"
            }
          ],
          "expected": [
            {
              "name": "Blank",
              "type": "Sketch"
            },
            {
              "name": "BaseFlange1",
              "type": "BaseFlangeFeature"
            },
            {
              "name": "Hole1",
              "type": "HoleFeature"
            },
            {
              "name": "Fold line",
              "type": "Sketch"
            },
            {
              "name": "Fold1",
              "type": "FoldFeature"
            }
          ],
          "label": "SolidCraft timeline",
          "pass": true
        }
      },
      "id": "baseline",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "saved_designs/depth-60/model.sc",
          "sha256": "badc3db6aca24606d0aee1adad73d0305f430c6968af7922f38464106e7dd5d8",
          "size": 23000
        },
        {
          "kind": "file",
          "path": "saved_designs/depth-60/measurements.json",
          "sha256": "57a7481caf7dc1275a4b820d8fcc8d4c8c1186cbeb35952fa3ee2b0e4a845e18",
          "size": 3790
        }
      ],
      "error": null,
      "evidence": {
        "body_count": {
          "actual": 1,
          "expected": 1,
          "label": "SolidCraft body count",
          "pass": true
        },
        "changes": [
          {
            "comparison": {
              "actual": {
                "absolute_delta": 10.0,
                "baseline": -20.000000000000004,
                "mutated": -30.000000000000004
              },
              "expected": {
                "absolute_delta_gt": 5.0
              },
              "label": "SolidCraft saved design change depth-extent",
              "pass": true
            },
            "id": "depth-extent",
            "path": [
              "bodies",
              0,
              "bbox",
              "min",
              1
            ]
          }
        ],
        "parameters": {
          "actual": {
            "depth": 60.0
          },
          "expected": {
            "depth": 60.0
          },
          "label": "SolidCraft parameters",
          "pass": true
        },
        "sketches": [
          {
            "actual": {
              "curves": 1,
              "name": "Fold line"
            },
            "expected": {
              "curves": 1,
              "name": "Fold line"
            },
            "label": "Fold line sketch",
            "pass": true
          }
        ],
        "timeline": {
          "actual": [
            {
              "name": "Blank",
              "type": "Sketch"
            },
            {
              "name": "BaseFlange1",
              "type": "BaseFlangeFeature"
            },
            {
              "name": "Hole1",
              "type": "HoleFeature"
            },
            {
              "name": "Fold line",
              "type": "Sketch"
            },
            {
              "name": "Fold1",
              "type": "FoldFeature"
            }
          ],
          "expected": [
            {
              "name": "Blank",
              "type": "Sketch"
            },
            {
              "name": "BaseFlange1",
              "type": "BaseFlangeFeature"
            },
            {
              "name": "Hole1",
              "type": "HoleFeature"
            },
            {
              "name": "Fold line",
              "type": "Sketch"
            },
            {
              "name": "Fold1",
              "type": "FoldFeature"
            }
          ],
          "label": "SolidCraft timeline",
          "pass": true
        }
      },
      "id": "saved_design_depth-60",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "inspections/flat_pattern/results.json",
          "sha256": "84108343bdcdc53f3e97d3468789fb201e4e3968eae5a4c5585f6b1a51c7091a",
          "size": 11102
        }
      ],
      "error": null,
      "evidence": {
        "checks": [
          {
            "comparison": {
              "actual": 1,
              "expected": 1,
              "label": "SolidCraft inspection check result_count",
              "pass": true
            },
            "id": "result_count",
            "path": []
          },
          {
            "comparison": {
              "actual": {
                "max_difference": 1.4210854715202004e-14,
                "value": [
                  80.00000000000001,
                  40.0,
                  2.0
                ]
              },
              "expected": {
                "tolerance": 0.001,
                "value": [
                  80.0,
                  40.0,
                  2.0
                ]
              },
              "label": "SolidCraft inspection check flat_size",
              "pass": true
            },
            "id": "flat_size",
            "path": [
              0,
              "flat_size_mm"
            ]
          },
          {
            "comparison": {
              "actual": 1,
              "expected": 1,
              "label": "SolidCraft inspection check cutout_count",
              "pass": true
            },
            "id": "cutout_count",
            "path": [
              0,
              "cutout_shapes"
            ]
          },
          {
            "comparison": {
              "actual": {
                "max_difference": 0.0,
                "value": [
                  -20.0,
                  -0.0
                ]
              },
              "expected": {
                "tolerance": 0.001,
                "value": [
                  -20.0,
                  0.0
                ]
              },
              "label": "SolidCraft inspection check hole_center",
              "pass": true
            },
            "id": "hole_center",
            "path": [
              0,
              "cutout_shapes",
              0,
              "circle",
              "center"
            ]
          },
          {
            "comparison": {
              "actual": 3.0,
              "delta": 0.0,
              "expected": 3.0,
              "kind": "scalar",
              "label": "SolidCraft inspection check hole_radius",
              "pass": true,
              "tolerance": 0.001
            },
            "id": "hole_radius",
            "path": [
              0,
              "cutout_shapes",
              0,
              "circle",
              "radius"
            ]
          },
          {
            "comparison": {
              "actual": 1,
              "expected": 1,
              "label": "SolidCraft inspection check bend_count",
              "pass": true
            },
            "id": "bend_count",
            "path": [
              0,
              "bends"
            ]
          },
          {
            "comparison": {
              "actual": 90.0,
              "delta": 0.0,
              "expected": 90.0,
              "kind": "scalar",
              "label": "SolidCraft inspection check bend_angle",
              "pass": true,
              "tolerance": 0.001
            },
            "id": "bend_angle",
            "path": [
              0,
              "bends",
              0,
              "angle_deg"
            ]
          },
          {
            "comparison": {
              "actual": 2.0,
              "delta": 0.0,
              "expected": 2.0,
              "kind": "scalar",
              "label": "SolidCraft inspection check bend_radius",
              "pass": true,
              "tolerance": 0.001
            },
            "id": "bend_radius",
            "path": [
              0,
              "bends",
              0,
              "radius"
            ]
          },
          {
            "comparison": {
              "actual": 4.71238898038469,
              "delta": 0.0,
              "expected": 4.71238898038469,
              "kind": "scalar",
              "label": "SolidCraft inspection check bend_allowance",
              "pass": true,
              "tolerance": 0.001
            },
            "id": "bend_allowance",
            "path": [
              0,
              "bends",
              0,
              "allowance"
            ]
          },
          {
            "comparison": {
              "actual": "SheetFold Rule",
              "expected": "SheetFold Rule",
              "label": "SolidCraft inspection check sheet_rule",
              "pass": true
            },
            "id": "sheet_rule",
            "path": [
              0,
              "rule"
            ]
          },
          {
            "comparison": {
              "actual": 2.0,
              "delta": 0.0,
              "expected": 2.0,
              "kind": "scalar",
              "label": "SolidCraft inspection check sheet_thickness",
              "pass": true,
              "tolerance": 0.001
            },
            "id": "sheet_thickness",
            "path": [
              0,
              "thickness"
            ]
          },
          {
            "comparison": {
              "actual": 0.5,
              "delta": 0.0,
              "expected": 0.5,
              "kind": "scalar",
              "label": "SolidCraft inspection check sheet_k_factor",
              "pass": true,
              "tolerance": 0.001
            },
            "id": "sheet_k_factor",
            "path": [
              0,
              "k_factor"
            ]
          }
        ]
      },
      "id": "inspection_flat_pattern",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/scpf/model.sc",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold"
}
visual — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/front/camera.json",
          "sha256": "d65695db56b6b2352863e819df5459578f044e4599f308aa259b0ce7c57ad30c",
          "size": 170
        },
        {
          "kind": "file",
          "path": "visual/front/actual.png",
          "sha256": "6352397670afb1c4b964909f6e1c4aa77ed6ee946d106e23ffc217f990e6a5ae",
          "size": 10946
        },
        {
          "kind": "file",
          "path": "visual/front/goal.png",
          "sha256": "514c77de0f8b6028be1c753972054f2512950e26ff0d7369a7d2151799131488",
          "size": 2015
        },
        {
          "kind": "file",
          "path": "visual/front/overlay.png",
          "sha256": "3ab7a0f45973fb20971810a908f7db41a4057edb49e5090fd3e0868e006d0fe4",
          "size": 4242
        },
        {
          "kind": "file",
          "path": "visual/front/diff.png",
          "sha256": "bb87cfac484acf563336de2d6c0ebfb0df69a594dde74036608ded754bfee0f3",
          "size": 671
        }
      ],
      "error": null,
      "evidence": {
        "actual_image": "visual/front/actual.png",
        "baseline": "baselines/front.json",
        "baseline_status": "pass",
        "camera": "visual/front/camera.json",
        "diff_image": "visual/front/diff.png",
        "expected_shape_required": true,
        "expected_shape_status": "pass",
        "goal_image": "visual/front/goal.png",
        "overlay_image": "visual/front/overlay.png",
        "regression": {
          "changed_pixel_fraction": 0.0,
          "changed_pixel_threshold": 12,
          "max_changed_fraction": 0.08,
          "max_mean_difference": 6.0,
          "mean_absolute_difference": 0.014902,
          "pass": true
        },
        "regression_required": true,
        "view": "front"
      },
      "id": "front",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/right/camera.json",
          "sha256": "cbd8212aeea8935bb5a29725dd318e55eb872336673625caa2d8f7a37ddcc5f6",
          "size": 186
        },
        {
          "kind": "file",
          "path": "visual/right/actual.png",
          "sha256": "75c013a58e63f18ac80442cef469c0d2145f5de44dc524eb13f4aac42bdb0796",
          "size": 9915
        },
        {
          "kind": "file",
          "path": "visual/right/diff.png",
          "sha256": "1b49001bc7b42f7ed3d26b77528f03436ac8b906b17ec44c5f868d19538949ec",
          "size": 613
        }
      ],
      "error": null,
      "evidence": {
        "actual_image": "visual/right/actual.png",
        "baseline": "baselines/right.json",
        "baseline_status": "pass",
        "camera": "visual/right/camera.json",
        "diff_image": "visual/right/diff.png",
        "expected_shape_required": false,
        "expected_shape_status": "missing",
        "goal_image": null,
        "overlay_image": null,
        "regression": {
          "changed_pixel_fraction": 0.0,
          "changed_pixel_threshold": 12,
          "max_changed_fraction": 0.08,
          "max_mean_difference": 6.0,
          "mean_absolute_difference": 0.078414,
          "pass": true
        },
        "regression_required": true,
        "view": "right"
      },
      "id": "right",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/iso/camera.json",
          "sha256": "b11a3551a6c86f43dc9ced536f8e2062d3342f1a7ec085f3f6794604b735807b",
          "size": 201
        },
        {
          "kind": "file",
          "path": "visual/iso/actual.png",
          "sha256": "70850c9ddaf7ee77a3da12b49b1d710b5ffab79e3d707f3bc84ec6a483703ba8",
          "size": 42327
        },
        {
          "kind": "file",
          "path": "visual/iso/goal.png",
          "sha256": "c945efcfd0bf09be4994ec848734d10f596579e5d576fd25e074c6be7027ae3a",
          "size": 4385
        },
        {
          "kind": "file",
          "path": "visual/iso/overlay.png",
          "sha256": "2c172b22a905db75779058700cdbbb0fb74cccfe45409927efc07ec6091e213a",
          "size": 29266
        },
        {
          "kind": "file",
          "path": "visual/iso/diff.png",
          "sha256": "40d7aba73fdde13c0aabc8bb476b2e8af136878204a40d2441f3e15969e239b2",
          "size": 3054
        }
      ],
      "error": null,
      "evidence": {
        "actual_image": "visual/iso/actual.png",
        "baseline": "baselines/iso.json",
        "baseline_status": "pass",
        "camera": "visual/iso/camera.json",
        "diff_image": "visual/iso/diff.png",
        "expected_shape_required": true,
        "expected_shape_status": "pass",
        "goal_image": "visual/iso/goal.png",
        "overlay_image": "visual/iso/overlay.png",
        "regression": {
          "changed_pixel_fraction": 0.005787,
          "changed_pixel_threshold": 12,
          "max_changed_fraction": 0.08,
          "max_mean_difference": 6.0,
          "mean_absolute_difference": 0.263021,
          "pass": true
        },
        "regression_required": true,
        "view": "iso"
      },
      "id": "iso",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/top/camera.json",
          "sha256": "33c0f4dbbee79f0509a00235f449fae870268a09de121dbfb972fa05c86b48ca",
          "size": 185
        },
        {
          "kind": "file",
          "path": "visual/top/actual.png",
          "sha256": "6ca76feff7312542b9c2d6e91d8dc790cd01ff8766b8285985ef03a8a33c53bc",
          "size": 12646
        },
        {
          "kind": "file",
          "path": "visual/top/goal.png",
          "sha256": "5204b692f2eef66bb2cb9cca9d615a322a36cde7642dfc510834b3c41df5e709",
          "size": 2148
        },
        {
          "kind": "file",
          "path": "visual/top/overlay.png",
          "sha256": "0c72b44675649c68a34908804f5df19c38691ac75345e2d540f803b2339dceba",
          "size": 4808
        }
      ],
      "error": null,
      "evidence": {
        "actual_image": "visual/top/actual.png",
        "baseline": null,
        "baseline_status": "missing",
        "camera": "visual/top/camera.json",
        "diff_image": null,
        "expected_shape_required": true,
        "expected_shape_status": "pass",
        "goal_image": "visual/top/goal.png",
        "overlay_image": "visual/top/overlay.png",
        "regression": null,
        "regression_required": false,
        "view": "top"
      },
      "id": "top",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/scpf/model.sc",
  "metadata": {
    "baseline_provenance": {
      "approval": "approved",
      "historical_manifest_solidcraft_version": "0.30.1",
      "migrated_from": "qualification/visual_baselines.json",
      "migrated_without_reencoding": true,
      "verified_during_solidcraft_0_42_0_qualification": true
    },
    "kind": "solidcraft-visual",
    "measurements": "measurements.json",
    "visual_report": "visual.json"
  },
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold-scpf-visual"
}

cadquery

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            21.64380645751953,
            20.0,
            21.64380645751953
          ],
          "actual_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "expected_max": [
            21.64380551,
            20.0,
            21.64380551
          ],
          "expected_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "max_delta_mm": 9.475195312802498e-07,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.9990669924042215,
            "delta_mm": 0.0009330075957785233,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=0.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              0.5
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 2.9990669924042215,
            "delta_mm": 0.0009330075957785233,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=1.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              1.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 6343.323471787434,
          "delta_mm3": 0.12786044795029738,
          "expected_mm3": 6343.451332235384,
          "pass": true,
          "tolerance_mm3": 5.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/cadquery/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold-cadquery-geometry"
}

build123d

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            21.64380645751953,
            20.0,
            21.64380645751953
          ],
          "actual_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "expected_max": [
            21.64380551,
            20.0,
            21.64380551
          ],
          "expected_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "max_delta_mm": 9.475195312802498e-07,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.9990669924042215,
            "delta_mm": 0.0009330075957785233,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=0.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              0.5
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 2.9990669924042215,
            "delta_mm": 0.0009330075957785233,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=1.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              1.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 6343.323471787434,
          "delta_mm3": 0.12786044795029738,
          "expected_mm3": 6343.451332235384,
          "pass": true,
          "tolerance_mm3": 5.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/build123d/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold-build123d-geometry"
}

pythonscad

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            21.643805511295795,
            20.0,
            21.643805511295795
          ],
          "actual_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "expected_max": [
            21.64380551,
            20.0,
            21.64380551
          ],
          "expected_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "max_delta_mm": 1.295795470923622e-09,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.8531695488854605,
            "delta_mm": 0.14683045111453952,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=0.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              0.5
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 2.8531695488854605,
            "delta_mm": 0.14683045111453952,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=1.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              1.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 6346.9479478587855,
          "delta_mm3": 3.4966156234013397,
          "expected_mm3": 6343.451332235384,
          "pass": true,
          "tolerance_mm3": 5.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/pythonscad/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold-pythonscad-geometry"
}

pybosl2

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            21.64380645751953,
            20.0,
            21.64380645751953
          ],
          "actual_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "expected_max": [
            21.64380551,
            20.0,
            21.64380551
          ],
          "expected_min": [
            -40.0,
            -20.0,
            0.0
          ],
          "max_delta_mm": 9.475195312802498e-07,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.8531694412231445,
            "delta_mm": 0.14683055877685547,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=0.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              0.5
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 2.8531694412231445,
            "delta_mm": 0.14683055877685547,
            "expected_mm": 3.0,
            "label": "fixed-flat hole at z=1.5",
            "pass": true,
            "point": [
              -20.0,
              0.0,
              1.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 6346.948027095469,
          "delta_mm3": 3.496694860084972,
          "expected_mm3": 6343.451332235384,
          "pass": true,
          "tolerance_mm3": 5.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/sheet-fold/pybosl2/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "sheet-fold-pybosl2-geometry"
}

Published files