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

Explicit component parameters and shared dependencies

Published child parameters stay distinct from inherited shared values

Verified scpf Panel widths 40, 60 and shared 80 mm; shared width is editable

What this verifies

Five Panel occurrences demonstrate local component parameters, explicit overrides, shared parent dependencies and a derived half-width expression.

Expected setup

Explicit component parameters and shared dependencies 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
"""Parameter scope qualification: explicit component publication and inherited bindings."""


@component(include=("width",))
class Panel:
    width = 40.0
    depth = 20.0
    HEIGHT = 10.0
    _x = 0.0

    def build(self):
        # _x is fixed fixture layout, not a public occurrence-placement
        # dependency. Keeping it in the body preserves the existing visual
        # qualification while this case stays focused on parameter scope.
        return Box(
            self.width,
            self.depth,
            self.HEIGHT,
            anchor=Anchor.BOTTOM,
        ).move(x=self._x)


class ParameterScope:
    shared_width = 80.0

    def build(self):
        local = Panel(name="local", _x=0)
        override = Panel(width=60.0, name="override", _x=100)

        shared_a = Panel(width=self.shared_width, name="shared_a", _x=220)
        shared_b = shared_a.copy(
            name="shared_b",
            placement=Placement(x=120),
        )

        derived = Panel(
            width=half(self.shared_width),
            name="derived",
            _x=460,
        )

        return local + override + shared_a + shared_b + derived


ParameterScope()

Engineering explanation

Explicit component parameters and shared dependencies

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

Legacy group: parameters

Saved-design required: true

Goal

Verify that reusable component defaults stay fixed unless explicitly included, while selected defaults become native parameters and parent Parameters/Expressions are reused rather than duplicated in the child.

Forge API

@component(include=(‘width’,)) class Panel; Panel(width=self.shared_width); Panel(width=half(self.shared_width))

Forge model

Only explicitly included width defaults become component-local Parameters. The lower-case depth default remains fixed. Inherited Parameter/Expression inputs become external bindings to the existing parent dependency.

How Forge builds it in SolidCraft

Explicitly included component parameters are namespaced with the internal definition number plus readable component name (for example d1_Panel_width); unincluded child defaults stay fixed; inherited names such as shared_width remain unprefixed and are emitted once even when several child definitions use them.

SolidCraft result

The saved SolidCraft design exposes d1_Panel_width, d2_Panel_2_width and shared_width; changing shared_width updates both directly-bound children and the derived half-width child without rerunning Python.

Saved-design test

Change shared_width from 80 to 100 mm in the saved native design; widths must change from [40,40,60,80,80] to [40,50,60,100,100].

Geometry evidence

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

Bounds sufficient: true

The body sizes and positions describe the visible result. The saved SolidCraft model is checked separately to confirm that shared parameters are reused instead of duplicated.

Reference notes

  • PythonSCAD — Reference geometry remains ordinary Python; Forge adds explicit native parameter publication because that is persistence/editability intent rather than geometry syntax.
  • SolidCraft — Native parameters and expressions are the source of truth for saved-design editability and rebuild behaviour.
Generated command sequence — scpf (16)

Open published command JSON

  1. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "40",
        "name": "d1_Panel_width",
        "unit": "mm"
      }
    }
  2. component.create

    {
      "bind": {
        "$local": "occurrence"
      },
      "command": "component.create",
      "params": {
        "grounded": true,
        "name": "Panel"
      }
    }
  3. solid.box

    {
      "command": "solid.box",
      "params": {
        "body_name": "Panel",
        "corner": [
          "-(d1_Panel_width / 2)",
          -10.0,
          0.0
        ],
        "height": 10.0,
        "length": "d1_Panel_width",
        "operation": "new",
        "width": 20.0
      }
    }
  4. component.activate

    {
      "command": "component.activate",
      "params": {
        "component": "root"
      }
    }
  5. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "60",
        "name": "d2_Panel_2_width",
        "unit": "mm"
      }
    }
  6. component.create

    {
      "bind": {
        "$override": "occurrence"
      },
      "command": "component.create",
      "params": {
        "grounded": false,
        "name": "Panel 2"
      }
    }
  7. solid.box

    {
      "command": "solid.box",
      "params": {
        "body_name": "Panel_2",
        "corner": [
          "-(d2_Panel_2_width / 2) + 100 mm",
          -10.0,
          0.0
        ],
        "height": 10.0,
        "length": "d2_Panel_2_width",
        "operation": "new",
        "width": 20.0
      }
    }
  8. component.activate

    {
      "command": "component.activate",
      "params": {
        "component": "root"
      }
    }
  9. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "80",
        "name": "shared_width",
        "unit": "mm"
      }
    }
  10. component.create

    {
      "bind": {
        "$shared_a": "occurrence"
      },
      "command": "component.create",
      "params": {
        "grounded": false,
        "name": "Panel 3"
      }
    }
  11. solid.box

    {
      "command": "solid.box",
      "params": {
        "body_name": "Panel_3",
        "corner": [
          "-(shared_width / 2) + 220 mm",
          -10.0,
          0.0
        ],
        "height": 10.0,
        "length": "shared_width",
        "operation": "new",
        "width": 20.0
      }
    }
  12. component.activate

    {
      "command": "component.activate",
      "params": {
        "component": "root"
      }
    }
  13. occurrence.copy

    {
      "bind": {
        "$shared_b": "occurrence"
      },
      "command": "occurrence.copy",
      "params": {
        "component": "Panel 3",
        "translate": [
          120.0,
          0.0,
          0.0
        ]
      }
    }
  14. component.create

    {
      "bind": {
        "$derived": "occurrence"
      },
      "command": "component.create",
      "params": {
        "grounded": false,
        "name": "Panel 4"
      }
    }
  15. solid.box

    {
      "command": "solid.box",
      "params": {
        "body_name": "Panel_4",
        "corner": [
          "-((shared_width / 2) / 2) + 460 mm",
          -10.0,
          0.0
        ],
        "height": 10.0,
        "length": "shared_width / 2",
        "operation": "new",
        "width": 20.0
      }
    }
  16. component.activate

    {
      "command": "component.activate",
      "params": {
        "component": "root"
      }
    }

Reference code

cadquery source · pass

cadquery/model.py
"""CadQuery geometry reference for explicit parameter-scope qualification.

CadQuery evaluates these Python values directly. Saved SolidCraft parameter
publication and mutation remain native Forge qualification evidence.
"""

import cadquery as cq


shared_width = 80.0


def panel(width):
    return cq.Solid.makeBox(
        width,
        20,
        10,
        cq.Vector(-width / 2, -10, 0),
    )


model = cq.Assembly()
model.add(panel(40), name="fixed_40", loc=cq.Location((0, 0, 0)))
model.add(panel(60), name="fixed_60", loc=cq.Location((100, 0, 0)))
model.add(panel(shared_width), name="shared_1", loc=cq.Location((220, 0, 0)))
model.add(panel(shared_width), name="shared_2", loc=cq.Location((340, 0, 0)))
model.add(panel(shared_width / 2), name="derived", loc=cq.Location((460, 0, 0)))
Published reference result

Independent implementation result.

build123d source · pass

build123d/model.py
"""build123d geometry reference: fixed/shared/derived panel widths.

Persisted native SolidCraft parameter changes are qualified separately.
"""
from build123d import Align, Box, BuildPart, Locations

shared_width = 80.0
bottom = (Align.CENTER, Align.CENTER, Align.MIN)

with BuildPart() as model:
    for x, width in [
        (0, 40),
        (100, 60),
        (220, shared_width),
        (340, shared_width),
        (460, shared_width / 2),
    ]:
        with Locations((x, 0, 0)):
            Box(width, 20, 10, align=bottom)
Published reference result

Independent implementation result.

pythonscad source · pass

pythonscad/model.py
"""PythonSCAD geometry reference for Forge parameter-scope qualification.

PythonSCAD evaluates these Python values directly; this reference intentionally
does not claim SolidCraft-style saved-design parameter bindings.
"""

from pythonscad import *

shared_width = 80.0

def panel(width):
    return cube([width, 20, 10], center=True).up(5)

model = (
    panel(40)
    | panel(60).right(100)
    | panel(shared_width).right(220)
    | panel(shared_width).right(340)
    | panel(shared_width / 2).right(460)
)
Published reference result

Independent implementation result.

pybosl2 source · pass

pybosl2/model.py
"""pyBOSL2 geometry reference for Forge parameter-scope qualification.

The repeated Python value shows the same visible intent; it is not a reference
for SolidCraft's editable parameter-binding persistence.
"""

from pybosl2 import cuboid

shared_width = 80.0

def panel(width):
    return cuboid([width, 20, 10]).up(5)

model = (
    panel(40)
    | panel(60).right(100)
    | panel(shared_width).right(220)
    | panel(shared_width).right(340)
    | panel(shared_width / 2).right(460)
)
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

Explicit component parameters and shared dependencies Actual visual verification
Actual
Explicit component parameters and shared dependencies Goal visual verification
Goal
Explicit component parameters and shared dependencies Overlay visual verification
Overlay
Explicit component parameters and shared dependencies Diff visual verification
Diff

right

pass

Regression: pass · expected shape: pass

Explicit component parameters and shared dependencies Actual visual verification
Actual
Explicit component parameters and shared dependencies Goal visual verification
Goal
Explicit component parameters and shared dependencies Overlay visual verification
Overlay
Explicit component parameters and shared dependencies Diff visual verification
Diff

iso

pass

Regression: pass · expected shape: pass

Explicit component parameters and shared dependencies Actual visual verification
Actual
Explicit component parameters and shared dependencies Goal visual verification
Goal
Explicit component parameters and shared dependencies Overlay visual verification
Overlay
Explicit component parameters and shared dependencies Diff visual verification
Diff

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 / max480 × 10 × 10480 × 10 × 10pass
Bounds / min-20 × -10 × 0-20 × -10 × 0pass
native / baselinepass
MeasurementExpectedMeasuredCheck
Body envelopes / count55pass
Body 1 / min [mm]-20 × -10 × 0-20 × -10 × 0—
Body 1 / max [mm]20 × 10 × 1020 × 10 × 10—
Body 2 / min [mm]70 × -10 × 070 × -10 × 0—
Body 2 / max [mm]130 × 10 × 10130 × 10 × 10—
Body 3 / min [mm]180 × -10 × 0180 × -10 × 0—
Body 3 / max [mm]260 × 10 × 10260 × 10 × 10—
Body 4 / min [mm]300 × -10 × 0300 × -10 × 0—
Body 4 / max [mm]380 × 10 × 10380 × 10 × 10—
Body 5 / min [mm]440 × -10 × 0440 × -10 × 0—
Body 5 / max [mm]480 × 10 × 10480 × 10 × 10—
SolidCraft parameters / d1_Panel_width4040pass
SolidCraft parameters / d2_Panel_2_width6060pass
SolidCraft parameters / shared_width8080pass
native / saved_design_shared_width_100pass
MeasurementExpectedMeasuredCheck
Body envelopes / count55pass
Body 1 / min [mm]-20 × -10 × 0-20 × -10 × 0—
Body 1 / max [mm]20 × 10 × 1020 × 10 × 10—
Body 2 / min [mm]70 × -10 × 070 × -10 × 0—
Body 2 / max [mm]130 × 10 × 10130 × 10 × 10—
Body 3 / min [mm]170 × -10 × 0170 × -10 × 0—
Body 3 / max [mm]270 × 10 × 10270 × 10 × 10—
Body 4 / min [mm]290 × -10 × 0290 × -10 × 0—
Body 4 / max [mm]390 × 10 × 10390 × 10 × 10—
Body 5 / min [mm]435 × -10 × 0435 × -10 × 0—
Body 5 / max [mm]485 × 10 × 10485 × 10 × 10—
SolidCraft parameters / shared_width100100pass
visual / frontpass
visual / rightpass
visual / isopass

cadquery — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max480 × 10 × 10480 × 10 × 10pass
Bounds / min-20 × -10 × 0-20 × -10 × 0pass

build123d — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max480 × 10 × 10480 × 10 × 10pass
Bounds / min-20 × -10 × 0-20 × -10 × 0pass

pythonscad — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max480 × 10 × 10480 × 10 × 10pass
Bounds / min-20 × -10 × 0-20 × -10 × 0pass

pybosl2 — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max480 × 10 × 10480 × 10 × 10pass
Bounds / min-20 × -10 × 0-20 × -10 × 0pass

Model stages

  1. Create local and explicitly overridden Panel definitions
  2. Reuse one shared parent width across repeated Panels
  3. Derive one child width from half of the shared parent parameter

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": [
            480.0,
            10.0,
            10.0
          ],
          "actual_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "expected_max": [
            480.0,
            10.0,
            10.0
          ],
          "expected_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/scpf/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "parameter-scope-scpf-geometry"
}
native — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "baseline/measurements.json",
          "sha256": "9686024520260460aaaf3fb506fe5e3d2db8e4a21565e46baf5836fe2d3c8aaf",
          "size": 5216
        }
      ],
      "error": null,
      "evidence": {
        "body_envelopes": {
          "actual_count": 5,
          "expected_count": 5,
          "kind": "body_envelopes",
          "matched_pairs": [
            {
              "actual": {
                "label": "Panel",
                "max": [
                  20.0,
                  10.0,
                  10.0
                ],
                "min": [
                  -20.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  20.0,
                  10.0,
                  10.0
                ],
                "min": [
                  -20.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_2",
                "max": [
                  130.0,
                  10.0,
                  10.0
                ],
                "min": [
                  70.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  130.0,
                  10.0,
                  10.0
                ],
                "min": [
                  70.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_3",
                "max": [
                  260.0,
                  10.0,
                  10.0
                ],
                "min": [
                  180.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  260.0,
                  10.0,
                  10.0
                ],
                "min": [
                  180.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_3 (Panel 3:2)",
                "max": [
                  380.0,
                  10.0,
                  10.0
                ],
                "min": [
                  300.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  380.0,
                  10.0,
                  10.0
                ],
                "min": [
                  300.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_4",
                "max": [
                  480.0,
                  10.0,
                  10.0
                ],
                "min": [
                  440.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  480.0,
                  10.0,
                  10.0
                ],
                "min": [
                  440.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            }
          ],
          "pass": true,
          "tolerance": 0.001,
          "unmatched_actual": [],
          "unmatched_expected": []
        },
        "parameters": {
          "actual": {
            "d1_Panel_width": 40.0,
            "d2_Panel_2_width": 60.0,
            "shared_width": 80.0
          },
          "expected": {
            "d1_Panel_width": 40.0,
            "d2_Panel_2_width": 60.0,
            "shared_width": 80.0
          },
          "label": "SolidCraft parameters",
          "pass": true
        }
      },
      "id": "baseline",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "saved_designs/shared_width_100/model.sc",
          "sha256": "6f9af1c8de11b48dbe7855ed418daed1eceacd63c3913241c9e52d9bd0e8af56",
          "size": 9375
        },
        {
          "kind": "file",
          "path": "saved_designs/shared_width_100/measurements.json",
          "sha256": "5c1e78d43658dfb71540fe806b56da757e5ae8838123ce3f9eb391838973ff9e",
          "size": 5304
        }
      ],
      "error": null,
      "evidence": {
        "body_envelopes": {
          "actual_count": 5,
          "expected_count": 5,
          "kind": "body_envelopes",
          "matched_pairs": [
            {
              "actual": {
                "label": "Panel",
                "max": [
                  20.0,
                  10.0,
                  10.0
                ],
                "min": [
                  -20.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  20.0,
                  10.0,
                  10.0
                ],
                "min": [
                  -20.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_2",
                "max": [
                  130.0,
                  10.0,
                  10.0
                ],
                "min": [
                  70.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  130.0,
                  10.0,
                  10.0
                ],
                "min": [
                  70.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_3",
                "max": [
                  270.0,
                  10.0,
                  10.0
                ],
                "min": [
                  170.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  270.0,
                  10.0,
                  10.0
                ],
                "min": [
                  170.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_3 (Panel 3:2)",
                "max": [
                  390.0,
                  10.0,
                  10.0
                ],
                "min": [
                  290.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  390.0,
                  10.0,
                  10.0
                ],
                "min": [
                  290.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            },
            {
              "actual": {
                "label": "Panel_4",
                "max": [
                  485.0,
                  10.0,
                  10.0
                ],
                "min": [
                  435.0,
                  -10.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  485.0,
                  10.0,
                  10.0
                ],
                "min": [
                  435.0,
                  -10.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            }
          ],
          "pass": true,
          "tolerance": 0.001,
          "unmatched_actual": [],
          "unmatched_expected": []
        },
        "parameters": {
          "actual": {
            "shared_width": 100.0
          },
          "expected": {
            "shared_width": 100.0
          },
          "label": "SolidCraft parameters",
          "pass": true
        }
      },
      "id": "saved_design_shared_width_100",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/scpf/model.sc",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "parameter-scope"
}
visual — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/front/camera.json",
          "sha256": "962f846613fa92369ab08ac8f1d6a5c7b2aaf949aeccfa735714c85bbd8450a6",
          "size": 130
        },
        {
          "kind": "file",
          "path": "visual/front/actual.png",
          "sha256": "60382dc7768358427a5ac0c0882f557fe850e0bdce8cbda1e2c245d21d2f01f3",
          "size": 10180
        },
        {
          "kind": "file",
          "path": "visual/front/goal.png",
          "sha256": "166ddad5ef1eac1569f8247b310791162a7b074baa1b2143e000c8f0ee2d1830",
          "size": 2013
        },
        {
          "kind": "file",
          "path": "visual/front/overlay.png",
          "sha256": "3805e39fe4cfa5fe70e564c8c49f145218d0f543913d6dd855aa6eadab9da401",
          "size": 2911
        },
        {
          "kind": "file",
          "path": "visual/front/diff.png",
          "sha256": "e043a547bfacc93dac24cd5fdf333bf9ef2fe4a633a6a881e96b0f0a356870ff",
          "size": 524
        }
      ],
      "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.000289,
          "pass": true
        },
        "regression_required": true,
        "view": "front"
      },
      "id": "front",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/right/camera.json",
          "sha256": "b98a3faa2c0c479d9011c2a4b8098426ea7cbab5a8abf261950a515faf2a4cc6",
          "size": 146
        },
        {
          "kind": "file",
          "path": "visual/right/actual.png",
          "sha256": "952bf1c94a57872d9a6709733d2610e0c43c4ad0e7c713adaed037d76f9cacb1",
          "size": 9286
        },
        {
          "kind": "file",
          "path": "visual/right/goal.png",
          "sha256": "12b2f3b0d318c8482fb58d341e4a0d2d5ae3a5b684eb49acbcb76e0c0c9f7539",
          "size": 1990
        },
        {
          "kind": "file",
          "path": "visual/right/overlay.png",
          "sha256": "f011bf594b9a329ed1f7abc5cef75260677ef4bdcf2387498f356b5581be6b14",
          "size": 2423
        },
        {
          "kind": "file",
          "path": "visual/right/diff.png",
          "sha256": "33a009f32378ced049f0f30864da48b781f5006bf7caec7fdeb6c16d5dfbce98",
          "size": 325
        }
      ],
      "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": true,
        "expected_shape_status": "pass",
        "goal_image": "visual/right/goal.png",
        "overlay_image": "visual/right/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.0,
          "pass": true
        },
        "regression_required": true,
        "view": "right"
      },
      "id": "right",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/iso/camera.json",
          "sha256": "d68fa2c1223cd2b8d961b45c032e34b0a76b66d50dd2904cb87764d0d6775459",
          "size": 161
        },
        {
          "kind": "file",
          "path": "visual/iso/actual.png",
          "sha256": "b003fecfaa0e8224c1c3157dda102bb019e48511106f0fdc39389e0922ea3be6",
          "size": 20321
        },
        {
          "kind": "file",
          "path": "visual/iso/goal.png",
          "sha256": "14e9f6b13d7350cbe23583d6cbd56f92411b8d0a3b7d89d6ecda574325ce7231",
          "size": 3158
        },
        {
          "kind": "file",
          "path": "visual/iso/overlay.png",
          "sha256": "b77ea617fcc7e1dce1e3c1fa732bf1cabbb899aacc08ecb91edc0cff80c7fde2",
          "size": 11141
        },
        {
          "kind": "file",
          "path": "visual/iso/diff.png",
          "sha256": "0da6ef0d09670931d061f6dbfef27fa7e53a0ae7c8e4db116cd3de25dc402478",
          "size": 1296
        }
      ],
      "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.0,
          "changed_pixel_threshold": 12,
          "max_changed_fraction": 0.08,
          "max_mean_difference": 6.0,
          "mean_absolute_difference": 0.000579,
          "pass": true
        },
        "regression_required": true,
        "view": "iso"
      },
      "id": "iso",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/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,
      "source_commit": "8acad149cdaaef729c2cd6f6929b9c73bf785ec8",
      "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": "parameter-scope-scpf-visual"
}

cadquery

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            480.0,
            10.0,
            10.0
          ],
          "actual_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "expected_max": [
            480.0,
            10.0,
            10.0
          ],
          "expected_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/cadquery/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "parameter-scope-cadquery-geometry"
}

build123d

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            480.0,
            10.0,
            10.0
          ],
          "actual_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "expected_max": [
            480.0,
            10.0,
            10.0
          ],
          "expected_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/build123d/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "parameter-scope-build123d-geometry"
}

pythonscad

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            480.0,
            10.0,
            10.0
          ],
          "actual_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "expected_max": [
            480.0,
            10.0,
            10.0
          ],
          "expected_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/pythonscad/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "parameter-scope-pythonscad-geometry"
}

pybosl2

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            480.0,
            10.0,
            10.0
          ],
          "actual_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "expected_max": [
            480.0,
            10.0,
            10.0
          ],
          "expected_min": [
            -20.0,
            -10.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/parameter-scope/pybosl2/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "parameter-scope-pybosl2-geometry"
}

Published files