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

Display Appearance Color

One body with a native display-only color assignment

Verified scpf 40 × 30 × 10 mm box; display color

What this verifies

Qualifies Shape.with_appearance() against native SolidCraft appearance storage without creating physical material or BOM semantics.

Expected setup

No declared setup diagram is available.

scpf source

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

scpf/model.py
"""Qualification: display-only body appearance."""

class AppearanceColor:
    def build(self):
        return Box(40, 30, 10).with_appearance("#FFD21A")


AppearanceColor()
Generated command sequence — scpf (2)

Open published command JSON

  1. solid.box

    {
      "command": "solid.box",
      "params": {
        "body_name": "AppearanceColor",
        "center": [
          0,
          0,
          0
        ],
        "height": 10,
        "length": 40,
        "width": 30
      }
    }
  2. appearance.assign

    {
      "command": "appearance.assign",
      "params": {
        "bodies": [
          "AppearanceColor"
        ],
        "color": "#FFD21A"
      }
    }

Reference code

No independent implementation is declared.

Image overview

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

Verification checks

scpf — pass

native / baselinepass
MeasurementExpectedMeasuredCheck
SolidCraft body count11pass
native / inspection_appearancepass

Model stages

  1. Create one box body
  2. Assign
  3. Lower to native appearance.assign
  4. Inspect the active SolidCraft appearance chain after replay

Build and verification

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

Implementations

scpf

native — expected versus measured evidence

Open published verification report

verification.json
{
  "checks": [
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "baseline/measurements.json",
          "sha256": "90619bb135fe1dd41a39dbdfd1b410d985dfca643ebdd08801902a655a054a1d",
          "size": 1287
        }
      ],
      "error": null,
      "evidence": {
        "body_count": {
          "actual": 1,
          "expected": 1,
          "label": "SolidCraft body count",
          "pass": true
        }
      },
      "id": "baseline",
      "reason": null,
      "status": "pass"
    },
    {
      "artifacts": [
        {
          "kind": "file",
          "path": "inspections/appearance/results.json",
          "sha256": "a4fd647ba534bef019d0001375df7841114ffeeab48334d6227edea6ba82902b",
          "size": 401
        }
      ],
      "error": null,
      "evidence": {
        "checks": [
          {
            "comparison": {
              "actual": "body",
              "expected": "body",
              "label": "SolidCraft inspection check active",
              "pass": true
            },
            "id": "active",
            "path": [
              0,
              "active"
            ]
          },
          {
            "comparison": {
              "actual": "#ffd21a",
              "expected": "#ffd21a",
              "label": "SolidCraft inspection check color",
              "pass": true
            },
            "id": "color",
            "path": [
              0,
              "steps",
              1,
              "look",
              "color"
            ]
          }
        ]
      },
      "id": "inspection_appearance",
      "reason": null,
      "status": "pass"
    }
  ],
  "input": "/output/models/appearance-color/scpf/model.sc",
  "metadata": {},
  "schema": "cad-verification",
  "schema_version": 1,
  "status": "pass",
  "verification_id": "appearance-color"
}

Published files