Verification
Cone as a native Boolean feature
A placed Cone joins an existing featured body without a temporary solid
What this verifies
A filleted Box receives a placed tapered Cone through native solid.cone join lowering, proving Cone participates in ordered feature compilation.
scpf source
Complete primary source from the site branch; built revision below.
"""Public Verification model for Cone Boolean feature compilation (#746)."""
class ConeBoolean:
def build(self):
body = Box(
50,
40,
20,
anchor=Anchor.BOTTOM,
).fillet(2, edges=Edges.VERTICAL)
flare = Cone(
d=18,
top_d=10,
h=8,
anchor=Anchor.BOTTOM,
).at(0, 0, 18, anchor=Anchor.BOTTOM)
return body + flare
ConeBoolean()
Engineering explanation
Cone as a native Boolean feature
Group: features
Saved-design required: false
Documentation provenance: Forge #785 promotes the released #746 Cone Boolean capability to public Verification.
Goal
Prove that a placed Cone can participate in native Boolean feature compilation after the target body already owns ordered feature history.
Forge API
Box(...).fillet(...), Cone(...).at(...) and the normal + Boolean operator.
Forge model
A 50 × 40 × 20 mm bottom-anchored Box receives R2 vertical fillets. An Ø18→Ø10 × 8 mm Cone starts at Z18, overlaps the Box by 2 mm and extends the model to Z26.
How Forge builds it in SolidCraft
The Box and fillet establish ordered feature history. Forge then delegates the placed Cone operand to the shared primitive Boolean lowering and emits native solid.cone with operation=join, the existing body as target and the authored placed base.
SolidCraft result
One connected native body retains the filleted Box history and the joined tapered Cone.
Saved-design test
Not required for this focused compiler-route case. Parameterized Cone expressions, direct joins and Cone cuts remain covered by the #746 reusable compiler tests.
Geometry evidence
Geometry-rationale provenance: Forge #785 / #746 public capability promotion. Bounds sufficient:
true
The focused native model must remain one body with the unchanged Box footprint and a top extent of Z26. The command-contract test separately proves that the taper is authored as native solid.cone Boolean history rather than a temporary solid approximation.
Reference notes
- Native SolidCraft history — This case verifies Forge-to-SolidCraft native feature lowering; external kernel references are optional and are not fabricated.
Generated command sequence — scpf (3)
solid.box{ "command": "solid.box", "params": { "body_name": "ConeBoolean", "corner": [ -25.0, -20.0, 0 ], "height": 20, "length": 50, "width": 40 } }solid.fillet{ "command": "solid.fillet", "params": { "body": "ConeBoolean", "edges": [ [ -25.0, -20.0, 10.0 ], [ 25.0, -20.0, 10.0 ], [ 25.0, 20.0, 10.0 ], [ -25.0, 20.0, 10.0 ] ], "radius": 2 } }solid.cone{ "command": "solid.cone", "params": { "axis": "Z", "base": [ 0, 0, 18 ], "diameter": 18, "height": 8, "operation": "join", "targets": [ "ConeBoolean" ], "top_diameter": 10 } }
Reference code
No independent implementation is declared.
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
passRegression: pass · expected shape: pass
right
passRegression: pass · expected shape: pass
iso
passRegression: pass · expected shape: pass
Image overview
Only images present in the published build are displayed. Presentation previews are not visual verification results.
Verification checks
scpf — pass
| Measurement | Expected | Measured | Check |
|---|---|---|---|
| SolidCraft body count | 1 | 1 | pass |
| Body envelopes / count | 1 | 1 | pass |
| Body 1 / min [mm] | -25 × -20 × 0 | -25 × -20 × 0 | — |
| Body 1 / max [mm] | 25 × 20 × 26 | 25 × 20 × 26 | — |
Model stages
- Create the Box and add an ordered native fillet
- Place a tapered Cone so it overlaps the top face
- Join the Cone natively to the existing featured body
Build and verification
- Primary implementation:
scpf - Build source:
1dead221b9ea2c31901da9a19a8c205d25272ec3 - Durable scope:
main
Implementations
- scpf — builder-scpf: build=pass, verification=pass · STL · SC · Preview · commands · verification · result
native: status=pass, adapter=solidcraft-model, runtime=ghcr.io/brainboxemb/cad-solidcraft:v0.3.6 · verificationvisual: status=pass, adapter=solidcraft-visual, runtime=ghcr.io/brainboxemb/cad-solidcraft:v0.3.6 · verification
scpf
native — expected versus measured evidence
Open published verification report
{
"checks": [
{
"artifacts": [
{
"kind": "file",
"path": "baseline/measurements.json",
"sha256": "6d2c15fd2e9f3da76e35b73780032d29ff396af296a3ad01e092e35bd31b3fcb",
"size": 1777
}
],
"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": "ConeBoolean",
"max": [
25.0,
20.0,
26.0
],
"min": [
-25.0,
-20.0,
0.0
]
},
"expected": {
"label": null,
"max": [
25.0,
20.0,
26.0
],
"min": [
-25.0,
-20.0,
0.0
]
},
"max_delta": 0.0
}
],
"pass": true,
"tolerance": 0.01,
"unmatched_actual": [],
"unmatched_expected": []
}
},
"id": "baseline",
"reason": null,
"status": "pass"
}
],
"input": "/output/models/cone-boolean/scpf/model.sc",
"metadata": {},
"schema": "cad-verification",
"schema_version": 1,
"status": "pass",
"verification_id": "cone-boolean"
}visual — expected versus measured evidence
Open published verification report
{
"checks": [
{
"artifacts": [
{
"kind": "file",
"path": "visual/front/camera.json",
"sha256": "268456825a694f3813e9a7ad8309759df42fb04907d7f7e4e7daf198c2336692",
"size": 128
},
{
"kind": "file",
"path": "visual/front/actual.png",
"sha256": "5b66ad2f251b9b4b8dca0f2d83f3013f250167abeeef8cce4739ea9280144a50",
"size": 16850
},
{
"kind": "file",
"path": "visual/front/goal.png",
"sha256": "cd1b54bec0964d2624fef7fb49bcea2b426250f415f53b663a0612b540bdd438",
"size": 1987
},
{
"kind": "file",
"path": "visual/front/overlay.png",
"sha256": "6217764e3d49887b9b637653a4a5f30c89e15edba8301ea07a0aebeede51012e",
"size": 8540
},
{
"kind": "file",
"path": "visual/front/diff.png",
"sha256": "bb692fbc756f9e66ae22b25054846c68bbeccb12f7ac4e4a5ff9533def14ba17",
"size": 1010
}
],
"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.0,
"pass": true
},
"regression_required": true,
"view": "front"
},
"id": "front",
"reason": null,
"status": "pass"
},
{
"artifacts": [
{
"kind": "file",
"path": "visual/right/camera.json",
"sha256": "9a39aaa1fc0fdc7dee2a3a9b86d35b1a8582eb5ea98f6fab0d6f537b5e1377b8",
"size": 144
},
{
"kind": "file",
"path": "visual/right/actual.png",
"sha256": "3336ee400c1faa8e5e11bf6d724584c3d4296ed3a08eba1d6baf0b4dd41dcc52",
"size": 16695
},
{
"kind": "file",
"path": "visual/right/goal.png",
"sha256": "7f4eadea82a9b0897cf945c632a534b03673136a790251b04a512943192c80d8",
"size": 1987
},
{
"kind": "file",
"path": "visual/right/overlay.png",
"sha256": "d235dad8bf38df16c49af05c5c7f868a42d3aa109223f7d6fc6c79ba5dccb1a5",
"size": 8215
},
{
"kind": "file",
"path": "visual/right/diff.png",
"sha256": "3a0de95c1cd0a32de4e04a301b04c3c9fedf21b6a9edfc8960a3ce0d9e6f053f",
"size": 982
}
],
"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": "8d723f928165cb735ea81f3f2283ec877cb27603723553be5539bc5bb2c9c12b",
"size": 159
},
{
"kind": "file",
"path": "visual/iso/actual.png",
"sha256": "40ef8a118fc623d13365b85e61656c505c8ca84b60d02a6c11362c675bd1664e",
"size": 43856
},
{
"kind": "file",
"path": "visual/iso/goal.png",
"sha256": "d7d0cfe4c35b5a2de9206a35260370451237f62bca4333be907b1c29286ab3c5",
"size": 4424
},
{
"kind": "file",
"path": "visual/iso/overlay.png",
"sha256": "a15f83ad00a885ca020d4ba6b3987cfab676ad3a82ac9f8b9ef89378d731d3e5",
"size": 33925
},
{
"kind": "file",
"path": "visual/iso/diff.png",
"sha256": "59b8f840241040903a9c414df86f93e0210e02b22c48cca0cf351afc224565ca",
"size": 3301
}
],
"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.0,
"pass": true
},
"regression_required": true,
"view": "iso"
},
"id": "iso",
"reason": null,
"status": "pass"
}
],
"input": "/output/models/cone-boolean/scpf/model.sc",
"metadata": {
"baseline_provenance": {
"approval": "approved",
"runtime": "ghcr.io/brainboxemb/cad-solidcraft:v0.3.6",
"solidcraft_version": "0.49.0",
"source_commit": "90b7eba19227032766dc1309ae8d851c4cb09553",
"workflow_run": 45873531238
},
"kind": "solidcraft-visual",
"measurements": "measurements.json",
"visual_report": "visual.json"
},
"schema": "cad-verification",
"schema_version": 1,
"status": "pass",
"verification_id": "cone-boolean-scpf-visual"
}











