mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-03 02:25:55 +00:00
Feature walks: Repair Part has its fixture, its gap an input and its body renamed with the rest
#8676 added FeatureKind::Repair without a fixture, so feature_walk_tests::the_record_covers_every_variant failed. The fixture sets every field (body, gap, patch_holes); the records, written with FEATURE_WALK_BLESS=1, show its one input (Gap, a length) and that copying with bodies renamed rewrites its body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -231,6 +231,7 @@ pub(super) fn fixtures() -> Vec<(&'static str, Value)> {
|
||||
("import", json!({"type": "import", "file": "a.step", "step": ""})),
|
||||
("mesh_convert", json!({"type": "mesh_convert", "body": "B", "tolerance": "mesh_convert.tolerance"})),
|
||||
("mesh_import", json!({"type": "mesh_import", "file": "a.stl", "meshes": []})),
|
||||
("repair", json!({"type": "repair", "body": "B", "gap": "repair.gap", "patch_holes": true})),
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -428,3 +428,7 @@ mesh_convert
|
||||
Tolerance = mesh_convert.tolerance (Length)
|
||||
expressions: mesh_convert.tolerance
|
||||
mesh_import
|
||||
repair
|
||||
inputs:
|
||||
Gap = repair.gap (Length)
|
||||
expressions: repair.gap
|
||||
|
||||
@@ -207,3 +207,4 @@ move
|
||||
import
|
||||
mesh_convert
|
||||
mesh_import
|
||||
repair
|
||||
|
||||
@@ -238,3 +238,5 @@ import
|
||||
mesh_convert
|
||||
remap_bodies: body
|
||||
mesh_import
|
||||
repair
|
||||
remap_bodies: body
|
||||
|
||||
Reference in New Issue
Block a user