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

Rounded Sketch pad and standalone world-plane cut

Attached and standalone Sketch extrusions remain native editable features

Verified scpf 80 × 60 × 5 mm base; 40 × 30 × 8 mm rounded pad; 10 × 2 mm world-plane cut; 100 mm symmetric cut extrusion

What this verifies

A named face-attached RoundedRectangle2D joins a pad to the base, then a second standalone YZ Sketch cuts an internal tunnel through the body with a symmetric native extrusion.

Expected setup

Rounded Sketch pad and standalone world-plane cut 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
"""Qualification: attached rounded pad plus standalone world-plane cut."""


class RoundedRectangleSketch:
    base_width = 80.0
    base_depth = 60.0
    base_height = 5.0
    pad_width = 40.0
    pad_depth = 30.0
    radius = 5.0
    pad_height = 8.0
    cut_width = 10.0
    cut_height = 2.0
    cut_y = 22.0
    cut_z = 2.5
    cut_length = 100.0

    def build(self):
        body = Box(
            self.base_width,
            self.base_depth,
            self.base_height,
            anchor=Anchor.BOTTOM,
        )

        with Sketch(name="Rounded pad", on=body) as pad:
            pad.add(
                RoundedRectangle2D(
                    self.pad_width,
                    self.pad_depth,
                    self.radius,
                ),
            )

        body = body + pad.extrude(self.pad_height)

        with Sketch(name="World cut", plane="YZ") as cut:
            cut.add(
                Rectangle2D(self.cut_width, self.cut_height),
                offset=(self.cut_y, self.cut_z),
            )

        return body - cut.extrude(self.cut_length, sym=True)


RoundedRectangleSketch()

Engineering explanation

Explicit rounded-rectangle sketch pad

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 RoundedRectangle2D in the explicit named Sketch API using true native rounded-rectangle sketch geometry.

Forge API

with Sketch(name=‘Rounded pad’, on=body): add(RoundedRectangle2D(…)); body + sketch.extrude(…)

Forge model

One 80 x 60 x 5 mm base plate plus a centered 40 x 30 mm rounded-rectangle pad with 5 mm corner radius and 8 mm height.

How Forge builds it in SolidCraft

The named explicit Sketch emits one sketch.rectangle.rounded with true arc corners, then a native solid.extrude(operation=‘join’).

SolidCraft result

The result is one joined body: an 80 x 60 x 5 mm base plate with a centered 40 x 30 x 8 mm rounded pad on top. The Rounded pad sketch has one closed profile made from four straight edges and four corner arcs. SolidCraft 0.42 also adds one construction diagonal between opposite arc centres; that construction line is not part of the profile.

Saved-design test

No saved-design mutation in this fixture; it isolates explicit rounded-rectangle sketch geometry and native join extrusion.

Geometry evidence

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

Bounds sufficient: false

A sharp rectangular pad can share the same envelope. Rounded-pad volume and a corner-distance probe are required.

Reference notes

  • SolidCraft — Native rounded sketch rectangles preserve true arc geometry and remain inspectable in the saved sketch.
  • PythonSCAD — The explicit Sketch scope keeps 2D profile authoring separate from the subsequent 3D extrusion.

Current extension — issue #354

The original qualification above remains intact. The current model adds one second Sketch specifically for the standalone-Boolean contract:

  • Sketch(name="World cut", plane="YZ") is independent of the body;
  • its centered rectangle is displaced in Y/Z so it cuts only the base plate;
  • cut.extrude(..., sym=True) is subtracted from the already joined body;
  • Forge lowers that operation directly to native solid.extrude(operation="cut", targets=[...]);
  • no temporary cutter body or later combine feature is created.

The native verification now requires both Sketches and both extrusion history features, while preserving the original rounded-pad geometry evidence.

Generated command sequence — scpf (22)

Open published command JSON

  1. parameters.add

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

    {
      "command": "parameters.add",
      "params": {
        "expression": "60",
        "name": "base_depth",
        "unit": "mm"
      }
    }
  3. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "5",
        "name": "base_height",
        "unit": "mm"
      }
    }
  4. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "40",
        "name": "pad_width",
        "unit": "mm"
      }
    }
  5. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "30",
        "name": "pad_depth",
        "unit": "mm"
      }
    }
  6. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "5",
        "name": "radius",
        "unit": "mm"
      }
    }
  7. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "8",
        "name": "pad_height",
        "unit": "mm"
      }
    }
  8. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "10",
        "name": "cut_width",
        "unit": "mm"
      }
    }
  9. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "2",
        "name": "cut_height",
        "unit": "mm"
      }
    }
  10. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "22",
        "name": "cut_y",
        "unit": "mm"
      }
    }
  11. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "2.5",
        "name": "cut_z",
        "unit": "mm"
      }
    }
  12. parameters.add

    {
      "command": "parameters.add",
      "params": {
        "expression": "100",
        "name": "cut_length",
        "unit": "mm"
      }
    }
  13. solid.box

    {
      "command": "solid.box",
      "params": {
        "body_name": "RoundedRectangleSketch",
        "corner": [
          "-base_width / 2",
          "-base_depth / 2",
          0
        ],
        "height": "base_height",
        "length": "base_width",
        "width": "base_depth"
      }
    }
  14. model.faces

    {
      "bind": {
        "$face_index_1": {
          "field": "faces",
          "max": "area",
          "select": "index",
          "where": {
            "plane_normal": [
              0,
              0,
              1
            ]
          }
        },
        "$face_point_1": {
          "field": "faces",
          "max": "area",
          "select": "point",
          "where": {
            "plane_normal": [
              0,
              0,
              1
            ]
          }
        }
      },
      "command": "model.faces",
      "params": {
        "body": "RoundedRectangleSketch"
      }
    }
  15. sketch.create

    {
      "command": "sketch.create",
      "params": {
        "name": "Rounded pad",
        "plane": {
          "body": "RoundedRectangleSketch",
          "face": "$face_point_1",
          "index": "$face_index_1"
        },
        "project_edges": false
      }
    }
  16. sketch.rectangle.rounded

    {
      "command": "sketch.rectangle.rounded",
      "params": {
        "p0": [
          "(-(pad_width / 2))",
          "(-(pad_depth / 2))"
        ],
        "p1": [
          "(pad_width / 2)",
          "(pad_depth / 2)"
        ],
        "radius": "radius"
      }
    }
  17. sketch.finish

    {
      "command": "sketch.finish",
      "params": {}
    }
  18. solid.extrude

    {
      "command": "solid.extrude",
      "params": {
        "direction": "positive",
        "distance": "pad_height",
        "name": "Rounded pad",
        "operation": "join",
        "targets": [
          "RoundedRectangleSketch"
        ]
      }
    }
  19. sketch.create

    {
      "command": "sketch.create",
      "params": {
        "name": "World cut",
        "plane": "YZ"
      }
    }
  20. sketch.rectangle.two_point

    {
      "command": "sketch.rectangle.two_point",
      "params": {
        "p0": [
          "(cut_y) + (-(cut_width / 2))",
          "(cut_z) + (-(cut_height / 2))"
        ],
        "p1": [
          "(cut_y) + (cut_width / 2)",
          "(cut_z) + (cut_height / 2)"
        ]
      }
    }
  21. sketch.finish

    {
      "command": "sketch.finish",
      "params": {}
    }
  22. solid.extrude

    {
      "command": "solid.extrude",
      "params": {
        "direction": "symmetric",
        "distance": "cut_length",
        "operation": "cut",
        "targets": [
          "RoundedRectangleSketch"
        ]
      }
    }

Reference code

cadquery source · pass

cadquery/model.py
"""CadQuery reference for rounded pad plus independent world-plane tunnel."""

import cadquery as cq


base_width = 80.0
base_depth = 60.0
base_height = 5.0
pad_width = 40.0
pad_depth = 30.0
radius = 5.0
pad_height = 8.0
cut_width = 10.0
cut_height = 2.0
cut_y = 22.0
cut_z = 2.5
cut_length = 100.0

base = cq.Solid.makeBox(
    base_width,
    base_depth,
    base_height,
    cq.Vector(-base_width / 2, -base_depth / 2, 0),
)
pad = (
    cq.Workplane("XY")
    .rect(pad_width - 2 * radius, pad_depth - 2 * radius)
    .offset2D(radius, kind="arc")
    .extrude(pad_height)
    .translate((0, 0, base_height))
    .val()
)
body = base.fuse(pad)
cut = cq.Solid.makeBox(
    cut_length,
    cut_width,
    cut_height,
    cq.Vector(-cut_length / 2, cut_y - cut_width / 2, cut_z - cut_height / 2),
)
result = body.cut(cut)

model = cq.Assembly()
model.add(result, name="rounded-pad-world-cut")
Published reference result

Independent implementation result.

build123d source · pass

build123d/model.py
"""build123d reference: rounded pad plus independent world-plane tunnel."""
from build123d import (
    Align,
    Axis,
    Box,
    BuildPart,
    BuildSketch,
    Locations,
    Mode,
    RectangleRounded,
    extrude,
)

base_width, base_depth, base_height = 80.0, 60.0, 5.0
pad_width, pad_depth, radius, pad_height = 40.0, 30.0, 5.0, 8.0
cut_width, cut_height, cut_y, cut_z, cut_length = 10.0, 2.0, 22.0, 2.5, 100.0
bottom = (Align.CENTER, Align.CENTER, Align.MIN)
centered = (Align.CENTER, Align.CENTER, Align.CENTER)

with BuildPart() as model:
    Box(base_width, base_depth, base_height, align=bottom)

    with BuildSketch(model.faces().sort_by(Axis.Z)[-1]):
        RectangleRounded(pad_width, pad_depth, radius)

    extrude(amount=pad_height)

    with Locations((0, cut_y, cut_z)):
        Box(
            cut_length,
            cut_width,
            cut_height,
            align=centered,
            mode=Mode.SUBTRACT,
        )
Published reference result

Independent implementation result.

pythonscad source · pass

pythonscad/model.py
"""PythonSCAD reference for rounded pad plus world-plane Boolean cut."""

from pythonscad import *

base_width = 80.0
base_depth = 60.0
base_height = 5.0
pad_width = 40.0
pad_depth = 30.0
radius = 5.0
pad_height = 8.0
cut_width = 10.0
cut_height = 2.0
cut_y = 22.0
cut_z = 2.5
cut_length = 100.0

base = cube([base_width, base_depth, base_height], center=True).up(base_height / 2)
profile = square(
    [pad_width - 2 * radius, pad_depth - 2 * radius],
    center=True,
).offset(r=radius)
pad = profile.linear_extrude(height=pad_height).up(base_height)
cut = cube([cut_length, cut_width, cut_height], center=True).translate(
    [0, cut_y, cut_z]
)

model = (base | pad) - cut
Published reference result

Independent implementation result.

pybosl2 source · pass

pybosl2/model.py
"""pyBOSL2 reference for rounded pad plus world-plane Boolean cut."""

from pybosl2 import Anchor, cuboid, rect

base_width = 80.0
base_depth = 60.0
base_height = 5.0
pad_width = 40.0
pad_depth = 30.0
radius = 5.0
pad_height = 8.0
cut_width = 10.0
cut_height = 2.0
cut_y = 22.0
cut_z = 2.5
cut_length = 100.0

base = cuboid([base_width, base_depth, base_height]).up(base_height / 2)
profile = rect(
    [pad_width, pad_depth],
    rounding=radius,
    anchor=Anchor.CENTER,
)
pad = profile.linear_extrude(height=pad_height).up(base_height)
cut = cuboid([cut_length, cut_width, cut_height]).translate(
    [0, cut_y, cut_z]
)

model = (base | pad) - cut
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

Rounded Sketch pad and standalone world-plane cut Actual visual verification
Actual
Rounded Sketch pad and standalone world-plane cut Goal visual verification
Goal
Rounded Sketch pad and standalone world-plane cut Overlay visual verification
Overlay
Rounded Sketch pad and standalone world-plane cut Diff visual verification
Diff

right

pass

Regression: pass · expected shape: missing

Rounded Sketch pad and standalone world-plane cut Actual visual verification
Actual
Rounded Sketch pad and standalone world-plane cut Diff visual verification
Diff

iso

pass

Regression: pass · expected shape: pass

Rounded Sketch pad and standalone world-plane cut Actual visual verification
Actual
Rounded Sketch pad and standalone world-plane cut Goal visual verification
Goal
Rounded Sketch pad and standalone world-plane cut Overlay visual verification
Overlay
Rounded Sketch pad and standalone world-plane cut Diff visual verification
Diff

top

pass

Regression: missing · expected shape: pass

Rounded Sketch pad and standalone world-plane cut Actual visual verification
Actual
Rounded Sketch pad and standalone world-plane cut Goal visual verification
Goal
Rounded Sketch pad and standalone world-plane cut 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 / max40 × 30 × 1340 × 30 × 13pass
Bounds / min-40 × -30 × 0-40 × -30 × 0pass
Volume / mm331828.318530731827.0948576pass
Watertighttruetruepass
native / baselinepass
MeasurementExpectedMeasuredCheck
SolidCraft body count11pass
Body envelopes / count11pass
Body 1 / min [mm]-40 × -30 × 0-40 × -30 × 0—
Body 1 / max [mm]40 × 30 × 1340 × 30 × 13—
SolidCraft sketch count22pass
SolidCraft timeline[{"name": "Box1", "type": "BoxFeature"}, {"name": "Rounded pad", "type": "Sketch"}, {"name": "Rounded pad", "type": "ExtrudeFeature"}, {"name": "World cut", "type": "Sketch"}, {"type": "ExtrudeFeature"}][{"name": "Box1", "type": "BoxFeature"}, {"name": "Rounded pad", "type": "Sketch"}, {"name": "Rounded pad", "type": "ExtrudeFeature"}, {"name": "World cut", "type": "Sketch"}, {"type": "ExtrudeFeature"}]pass
visual / frontpass
visual / rightpass
visual / isopass
visual / toppass

cadquery — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max40 × 30 × 1340 × 30 × 13pass
Bounds / min-40 × -30 × 0-40 × -30 × 0pass
Volume / mm331828.318530731828.0662583pass
Watertighttruetruepass

build123d — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max40 × 30 × 1340 × 30 × 13pass
Bounds / min-40 × -30 × 0-40 × -30 × 0pass
Volume / mm331828.318530731828.0662583pass
Watertighttruetruepass

pythonscad — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max40 × 30 × 1340 × 30 × 13pass
Bounds / min-40 × -30 × 0-40 × -30 × 0pass
Volume / mm331828.318530731812.2934916pass
Watertighttruetruepass

pybosl2 — pass

geometry / geometrypass
MeasurementExpectedMeasuredCheck
Bounds / max40 × 30 × 1340 × 30 × 13pass
Bounds / min-40 × -30 × 0-40 × -30 × 0pass
Volume / mm331828.318530731812.2935514pass
Watertighttruetruepass

Model stages

  1. Create the native Box base
  2. Create and join the TOP-face rounded-rectangle Sketch
  3. Create an independent YZ world-plane Sketch
  4. Cut that standalone Sketch through the existing body with one native symmetric extrusion

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": [
            40.0,
            30.0,
            13.0
          ],
          "actual_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "expected_max": [
            40.0,
            30.0,
            13.0
          ],
          "expected_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.075460598114364,
            "delta_mm": 0.004392786248888392,
            "expected_mm": 2.0710678118654755,
            "label": "rounded pad corner",
            "pass": true,
            "point": [
              20.0,
              15.0,
              9.0
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 1.0,
            "delta_mm": 0.0,
            "expected_mm": 1.0,
            "label": "standalone world-plane tunnel",
            "pass": true,
            "point": [
              0.0,
              22.0,
              2.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 31827.094857643184,
          "delta_mm3": 1.2236730747754336,
          "expected_mm3": 31828.31853071796,
          "pass": true,
          "tolerance_mm3": 60.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/rounded-rectangle-sketch/scpf/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "rounded-rectangle-sketch-scpf-geometry"
}
native — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "baseline/measurements.json",
          "sha256": "2b7545628461b4db063ba3cc1a479c70a9e3c843b77826348d403553fb10a2d6",
          "size": 4741
        }
      ],
      "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": "RoundedRectangleSketch",
                "max": [
                  40.0,
                  30.0,
                  13.0
                ],
                "min": [
                  -40.0,
                  -30.0,
                  0.0
                ]
              },
              "expected": {
                "label": null,
                "max": [
                  40.0,
                  30.0,
                  13.0
                ],
                "min": [
                  -40.0,
                  -30.0,
                  0.0
                ]
              },
              "max_delta": 0.0
            }
          ],
          "pass": true,
          "tolerance": 0.01,
          "unmatched_actual": [],
          "unmatched_expected": []
        },
        "named_bodies": [
          {
            "face_type_counts": {
              "actual": {
                "cylinder": 4
              },
              "expected": {
                "cylinder": 4
              },
              "label": "sole body face type counts",
              "pass": true
            },
            "selector": "sole",
            "volume": {
              "actual": 31828.31853071796,
              "delta": 0.0,
              "expected": 31828.31853071796,
              "kind": "scalar",
              "label": "sole body volume",
              "pass": true,
              "tolerance": 0.5
            }
          }
        ],
        "sketch_count": {
          "actual": 2,
          "expected": 2,
          "label": "SolidCraft sketch count",
          "pass": true
        },
        "sketches": [
          {
            "actual": {
              "curves": 9,
              "dof": 0,
              "name": "Rounded pad",
              "profiles": 1,
              "status": "solved"
            },
            "expected": {
              "curves": 9,
              "dof": 0,
              "name": "Rounded pad",
              "profiles": 1,
              "status": "solved"
            },
            "label": "Rounded pad sketch",
            "pass": true
          },
          {
            "actual": {
              "name": "World cut",
              "status": "solved"
            },
            "expected": {
              "name": "World cut",
              "status": "solved"
            },
            "label": "World cut sketch",
            "pass": true
          }
        ],
        "timeline": {
          "actual": [
            {
              "name": "Box1",
              "type": "BoxFeature"
            },
            {
              "name": "Rounded pad",
              "type": "Sketch"
            },
            {
              "name": "Rounded pad",
              "type": "ExtrudeFeature"
            },
            {
              "name": "World cut",
              "type": "Sketch"
            },
            {
              "type": "ExtrudeFeature"
            }
          ],
          "expected": [
            {
              "name": "Box1",
              "type": "BoxFeature"
            },
            {
              "name": "Rounded pad",
              "type": "Sketch"
            },
            {
              "name": "Rounded pad",
              "type": "ExtrudeFeature"
            },
            {
              "name": "World cut",
              "type": "Sketch"
            },
            {
              "type": "ExtrudeFeature"
            }
          ],
          "label": "SolidCraft timeline",
          "pass": true
        }
      },
      "id": "baseline",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/rounded-rectangle-sketch/scpf/model.sc",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "rounded-rectangle-sketch"
}
visual — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/front/camera.json",
          "sha256": "7e16c9b6990e29d5fcbe7501711aabdbe5b149719fd29d5910afe6284bed1e26",
          "size": 128
        },
        {
          "kind": "file",
          "path": "visual/front/actual.png",
          "sha256": "b78420df5d50f0aa671ffd56cd583f3f171d52c72e64d070f330c18be7e2716a",
          "size": 10198
        },
        {
          "kind": "file",
          "path": "visual/front/goal.png",
          "sha256": "5a4379923bf06bc6257d6ceb51422f0e1b844f602b32099266b4597aa31718de",
          "size": 2001
        },
        {
          "kind": "file",
          "path": "visual/front/overlay.png",
          "sha256": "86e9b45a7f1bbe25cda93c8cc01adbabf76a4cc7d677ff00c836173dce9bbea0",
          "size": 3354
        },
        {
          "kind": "file",
          "path": "visual/front/diff.png",
          "sha256": "6f3d4d43a42eb491f8c158d6265d9d4c4ddd8c2e8b0062a6b8446edf2f3bc8ab",
          "size": 836
        }
      ],
      "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.011574,
          "pass": true
        },
        "regression_required": true,
        "view": "front"
      },
      "id": "front",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/right/camera.json",
          "sha256": "401135bbffe3173088252f00c243d4cbc88dc5d2e615311d4f4af2a0190cdf92",
          "size": 144
        },
        {
          "kind": "file",
          "path": "visual/right/actual.png",
          "sha256": "7612e497672a0e6b87a799b15655b04de416a8d0ea64974d4523bb5aa1a3906d",
          "size": 10215
        },
        {
          "kind": "file",
          "path": "visual/right/diff.png",
          "sha256": "c0beec3fdd20421ed3166abb7210feab2d566ac63388c05b5e408ea46b6c16c4",
          "size": 913
        }
      ],
      "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.001736,
          "changed_pixel_threshold": 12,
          "max_changed_fraction": 0.08,
          "max_mean_difference": 6.0,
          "mean_absolute_difference": 0.062934,
          "pass": true
        },
        "regression_required": true,
        "view": "right"
      },
      "id": "right",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/iso/camera.json",
          "sha256": "453e852868643820572cf7fa9ecdd1cf8cacb7c372ac9572846e160813c169e1",
          "size": 159
        },
        {
          "kind": "file",
          "path": "visual/iso/actual.png",
          "sha256": "d54e0093694f1d2ebd82de567f6306c18b7a7e06cbb85d46d01b8450210e2eca",
          "size": 45923
        },
        {
          "kind": "file",
          "path": "visual/iso/goal.png",
          "sha256": "3077eb0f3a056a592d8182cca992262dbe2a444ea02e858e8d7ef370671eba09",
          "size": 4760
        },
        {
          "kind": "file",
          "path": "visual/iso/overlay.png",
          "sha256": "37e88d07f8b75d45c8ed88ca4995ed599230a6ff1e2b92a7090a0a0b061fa821",
          "size": 28145
        },
        {
          "kind": "file",
          "path": "visual/iso/diff.png",
          "sha256": "cb299e83842c6c26af09d2f89389b9d71b0febd9e7efa0283a849eecbf750bca",
          "size": 3562
        }
      ],
      "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.000723,
          "changed_pixel_threshold": 12,
          "max_changed_fraction": 0.08,
          "max_mean_difference": 6.0,
          "mean_absolute_difference": 0.051071,
          "pass": true
        },
        "regression_required": true,
        "view": "iso"
      },
      "id": "iso",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "visual/top/camera.json",
          "sha256": "a9591a927259c095bdb4bde49b0ef19bf22382559effe4acf51adf410e348be3",
          "size": 143
        },
        {
          "kind": "file",
          "path": "visual/top/actual.png",
          "sha256": "7d9ec79831c115349c774d7851d8b7a70d23fdeaac7490cbc69d7cf3b2b27976",
          "size": 13401
        },
        {
          "kind": "file",
          "path": "visual/top/goal.png",
          "sha256": "c26c453af6bc8e4cb36c7d6c404a7f92d3dcabedb6945a248566834e244225d3",
          "size": 2006
        },
        {
          "kind": "file",
          "path": "visual/top/overlay.png",
          "sha256": "9e7922f74177ded91e1d0bd7bc99ad2d8adc269d4de6add9042e4cdaa8edcab9",
          "size": 5742
        }
      ],
      "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/rounded-rectangle-sketch/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": "7f823695703ac0ec2f816da1613b6ddcedf6ecd5",
      "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": "rounded-rectangle-sketch-scpf-visual"
}

cadquery

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            40.0,
            30.0,
            13.0
          ],
          "actual_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "expected_max": [
            40.0,
            30.0,
            13.0
          ],
          "expected_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.0710678131431335,
            "delta_mm": 1.2776579794149256e-09,
            "expected_mm": 2.0710678118654755,
            "label": "rounded pad corner",
            "pass": true,
            "point": [
              20.0,
              15.0,
              9.0
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 1.0,
            "delta_mm": 0.0,
            "expected_mm": 1.0,
            "label": "standalone world-plane tunnel",
            "pass": true,
            "point": [
              0.0,
              22.0,
              2.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 31828.066258294264,
          "delta_mm3": 0.2522724236951035,
          "expected_mm3": 31828.31853071796,
          "pass": true,
          "tolerance_mm3": 60.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/rounded-rectangle-sketch/cadquery/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "rounded-rectangle-sketch-cadquery-geometry"
}

build123d

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            40.0,
            30.0,
            13.0
          ],
          "actual_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "expected_max": [
            40.0,
            30.0,
            13.0
          ],
          "expected_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.0710678131431335,
            "delta_mm": 1.2776579794149256e-09,
            "expected_mm": 2.0710678118654755,
            "label": "rounded pad corner",
            "pass": true,
            "point": [
              20.0,
              15.0,
              9.0
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 1.0,
            "delta_mm": 0.0,
            "expected_mm": 1.0,
            "label": "standalone world-plane tunnel",
            "pass": true,
            "point": [
              0.0,
              22.0,
              2.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 31828.066258294257,
          "delta_mm3": 0.25227242370237946,
          "expected_mm3": 31828.31853071796,
          "pass": true,
          "tolerance_mm3": 60.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/rounded-rectangle-sketch/build123d/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "rounded-rectangle-sketch-build123d-geometry"
}

pythonscad

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            40.0,
            30.0,
            13.0
          ],
          "actual_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "expected_max": [
            40.0,
            30.0,
            13.0
          ],
          "expected_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.0710678131431335,
            "delta_mm": 1.2776579794149256e-09,
            "expected_mm": 2.0710678118654755,
            "label": "rounded pad corner",
            "pass": true,
            "point": [
              20.0,
              15.0,
              9.0
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 1.0,
            "delta_mm": 0.0,
            "expected_mm": 1.0,
            "label": "standalone world-plane tunnel",
            "pass": true,
            "point": [
              0.0,
              22.0,
              2.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 31812.293491646982,
          "delta_mm3": 16.025039070977073,
          "expected_mm3": 31828.31853071796,
          "pass": true,
          "tolerance_mm3": 60.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/rounded-rectangle-sketch/pythonscad/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "rounded-rectangle-sketch-pythonscad-geometry"
}

pybosl2

geometry — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [],
      "error": null,
      "evidence": {
        "bounds": {
          "actual_max": [
            40.0,
            30.0,
            13.0
          ],
          "actual_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "expected_max": [
            40.0,
            30.0,
            13.0
          ],
          "expected_min": [
            -40.0,
            -30.0,
            0.0
          ],
          "max_delta_mm": 0.0,
          "pass": true,
          "tolerance_mm": 0.5
        },
        "surface_distance_probes": [
          {
            "actual_mm": 2.0710678131431335,
            "delta_mm": 1.2776579794149256e-09,
            "expected_mm": 2.0710678118654755,
            "label": "rounded pad corner",
            "pass": true,
            "point": [
              20.0,
              15.0,
              9.0
            ],
            "tolerance_mm": 0.3
          },
          {
            "actual_mm": 1.0,
            "delta_mm": 0.0,
            "expected_mm": 1.0,
            "label": "standalone world-plane tunnel",
            "pass": true,
            "point": [
              0.0,
              22.0,
              2.5
            ],
            "tolerance_mm": 0.3
          }
        ],
        "volume": {
          "actual_mm3": 31812.29355144588,
          "delta_mm3": 16.02497927207878,
          "expected_mm3": 31828.31853071796,
          "pass": true,
          "tolerance_mm3": 60.0
        },
        "watertight": {
          "actual": true,
          "expected": true,
          "pass": true
        }
      },
      "id": "geometry",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/rounded-rectangle-sketch/pybosl2/model.stl",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "rounded-rectangle-sketch-pybosl2-geometry"
}

Published files