Files
OneCAD/docs/oracle.md
T

38 lines
3.3 KiB
Markdown

# Fusion oracle
Generated by `cargo xtask oracle`. Each case is a part built in Fusion (recipe and measurements kept locally in `plan/fusion/oracle/`, not committed). SolveCraft replays the recipe through its command engine and compares body count, volume and area (relative tolerance 1e-3) and face/edge/vertex counts (exact).
**2 / 29 cases pass** (16 need features not implemented yet).
| Case | Result | Notes |
|---|---|---|
| 01-box | pass | |
| 02-cylinder | pass | |
| 03-box-through-hole | FAIL | step 11 (Extrude): invalid parameters for `Extrude`: `distance` must be a number or an expression |
| 04-revolve-vase | not yet | recipe: sketch entity type `arc_three_point` is not supported yet |
| 05-taper-extrude | FAIL | volume_mm3: got 48000.0 want 61814.82596; area_mm2: got 8000.0 want 9676.91517 |
| 06-symmetric-extrude | FAIL | volume_mm3: got 15000.0 want 30000.0; area_mm2: got 4100.0 want 6200.0 |
| 07-fillet-all-edges | FAIL | step 8 (FusionFilletEdgesCommand): not supported yet: the faces at the edge ends must be planar |
| 08-chamfer | FAIL | step 8 (FusionChamferCommand): not supported yet: the faces at the edge ends must be perpendicular to the edge |
| 09-shell | not yet | recipe: feature op `shell` is not supported yet |
| 10-rect-pattern-holes | not yet | recipe: feature op `rectangular_pattern` is not supported yet |
| 11-circular-pattern-flange | not yet | recipe: feature op `circular_pattern` is not supported yet |
| 12-mirror-feature | not yet | recipe: feature op `mirror` is not supported yet |
| 13-combine-join | not yet | recipe: feature op `combine` is not supported yet |
| 14-combine-cut | not yet | recipe: sketch entity type `arc_three_point` is not supported yet |
| 15-combine-intersect | not yet | recipe: sketch entity type `arc_three_point` is not supported yet |
| 16-sweep | not yet | recipe: sketch entity type `arc_three_point` is not supported yet |
| 17-loft | not yet | recipe: feature op `construction_plane` is not supported yet |
| 18-hole-features | not yet | recipe: feature op `hole` is not supported yet |
| 19-l-bracket-constrained | FAIL | step 8 (ConstraintHorizontalVertical): invalid parameters for `ConstraintHorizontalVertical`: `line` must be a curve id |
| 20-slot-constrained | not yet | recipe: sketch entity type `arc_center_start_sweep` is not supported yet |
| 21-draft | not yet | recipe: feature op `draft` is not supported yet |
| 22-split-body | not yet | recipe: feature op `construction_plane` is not supported yet |
| 23-bracket-multifeature | not yet | recipe: feature op `construction_plane` is not supported yet |
| 24-user-parameters | FAIL | step 11 (ConstraintCoincident): invalid parameters for `ConstraintCoincident`: `a` must be a point reference |
| 25-sketch-triangle | FAIL | step 5 (ConstraintCoincident): invalid parameters for `ConstraintCoincident`: `a` must be a point reference |
| 26-sketch-belt | not yet | recipe: constraint `horizontal_points` is not supported yet |
| 27-sketch-trapezoid | FAIL | step 9 (ConstraintHorizontalVertical): invalid parameters for `ConstraintHorizontalVertical`: `line` must be a curve id |
| 28-blind-pocket-fillets | FAIL | step 15 (FusionFilletEdgesCommand): not supported yet: the blend is larger than the neighbouring faces |
| 29-two-sided-and-partial-revolve | FAIL | step 7 (Extrude): invalid parameters for `Extrude`: `distance` must be a number or an expression |