Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Wave 500/509: Kernel tests: the box-and-fillet wire fixture records the round's cylinder frame as SMLib now keeps it (and 3 more)

jyvikofb1d5f79ad6e
diff --git a/crates/kernel/src/native/fixtures/box-fillet-v5.json b/crates/kernel/src/native/fixtures/box-fillet-v5.json
index 3ca39e6255..d3d8071047 100644
--- a/crates/kernel/src/native/fixtures/box-fillet-v5.json
+++ b/crates/kernel/src/native/fixtures/box-fillet-v5.json
@@ -3485,8 +3485,8 @@
1.0
],
[
- 0.25000000000000006,
- 0.7500000000000002
+ 0.25,
+ 0.7500000000000001
]
],
"loops": [
@@ -3509,8 +3509,8 @@
0.25000000000000006
],
[
- -1.6653345369377353e-16,
- 0.7500000000000002
+ -1.6653345369377348e-16,
+ 0.75
]
]
}
@@ -3556,7 +3556,7 @@
],
[
0.9999999999999998,
- 0.75
+ 0.7499999999999998
]
]
}
@@ -3575,11 +3575,11 @@
"points": [
[
0.9999999999999998,
- 0.75
+ 0.7499999999999999
],
[
- -1.6653345369377353e-16,
- 0.7500000000000002
+ -1.665334536937735e-16,
+ 0.7500000000000001
]
]
}
@@ -3592,13 +3592,13 @@
"homogeneous": [
[
[
- 0.0,
+ -3.552713678800501e-15,
1.9999999999999964,
10.0,
1.0
],
[
- 40.00000000000001,
+ 40.0,
1.9999999999999964,
10.0,
1.0
@@ -3606,13 +3606,13 @@
],
[
[
- 0.0,
+ -2.512147933894045e-15,
1.3778763926929864e-15,
7.071067811865485,
0.7071067811865489
],
[
- 28.284271247461962,
+ 28.284271247461955,
1.3778763926929864e-15,
7.071067811865485,
0.7071067811865489
@@ -3620,13 +3620,13 @@
],
[
[
- 0.0,
+ -3.552713678800501e-15,
-4.440892098500626e-16,
8.0,
1.0
],
[
- 40.00000000000001,
+ 40.0,
-4.440892098500626e-16,
8.0,
1.0
@@ -3643,32 +3643,32 @@
1.0
],
"v_knots": [
- 0.25000000000000006,
- 0.25000000000000006,
- 0.7500000000000002,
- 0.7500000000000002
+ 0.25,
+ 0.25,
+ 0.7500000000000001,
+ 0.7500000000000001
]
},
"surface": {
"frame": {
"origin": [
- 0.0,
- 2.0000000000000027,
- 7.9999999999999964
+ -20.0,
+ 2.000000000000002,
+ 7.999999999999997
],
"x_axis": [
0.0,
- -3.1086244689504328e-15,
+ -2.886579864025403e-15,
1.0
],
"y_axis": [
0.0,
-1.0,
- -3.1086244689504328e-15
+ -2.886579864025403e-15
]
},
"kind": "cylinder",
- "radius": 2.0000000000000036
+ "radius": 2.000000000000003
}
}
],
diff --git a/tests/KNOWN_FAILING_TESTS b/tests/KNOWN_FAILING_TESTS
index 79e31fe52e..2aa1a04978 100644
--- a/tests/KNOWN_FAILING_TESTS
+++ b/tests/KNOWN_FAILING_TESTS
@@ -12,9 +12,9 @@ solidcraft-cli::action_matrix::action_matrix_sample 3 baseline actions fail on S
solidcraft-cli::naming_corpus::corpus_designs_name_alike_every_build_and_fail_where_a_reference_is_gone oracle/83-boundary-loop-thicken does not load: step 8, SMLib thicken status 1001
solidcraft-engine::tests::fillet_fit_taper_closes_to_a_point SMLib fillet status 1001 on the taper fit (radius 16 closing to 0)
solidcraft-kernel::blend::corner_tests::a_round_ending_in_an_earlier_round_matches_both_together SMLib fillet status 1001 on the round that ends in the earlier one
-solidcraft-kernel::blend::corner_tests::corner_blends_hold_at_any_scale at 0.01x the arc case's rounds remove 72.783 (scaled back) against 72.713 at 1x (9.6e-4 off, 1e-4 allowed)
+solidcraft-kernel::blend::corner_tests::corner_blends_hold_at_any_scale at 0.01x a picked edge runs on tangentially into an unblended edge and SMLib's result is not a closed solid (the smooth-vertex End, tangency-labs/smlib#81)
solidcraft-kernel::blend_corner::tests::issue2422_vertical_after_separate_bottom_rounds SMLib's check refuses the fillet: edge and vertex tolerance 0.97 against the body's 0.01 (#2422)
solidcraft-kernel::blend_corner::tests::three_rounds_at_a_corner the corner's variable-radius transition between rounds of different radii (its elliptic law, a rail edge the corner interpolates) meets its neighbours at 0.144 degrees once its sections are the balls' touch circles (0 with the great circles); the corner step replaces that transition
solidcraft-kernel::corner_g2::tests::a_long_setback_keeps_the_g2_patch_inside_the_box at set backs 11 to 15 the G2 corner patch bulges 2.6e-6 to 1.33e-3 past the box (the explicit corner is in progress)
solidcraft-kernel::corner_g2::tests::the_box_corner_g2_patch_is_a_closed_solid_curvature_continuous_to_its_neighbours the fitted G2 corner patch bulges 1.7e-5 past the box, which SMLib's exact tight box now sees (the explicit G2 corner builds it inside)
-solidcraft-kernel::tests::fillet_tabbed_plate_outer_loop_and_partial_selection_after_hole the arc and tab rounds together remove 9.20067 against 9.20420 (3.8e-4 off, 1e-5 allowed)
+solidcraft-kernel::tests::fillet_tabbed_plate_outer_loop_and_partial_selection_after_hole the partial selection runs on tangentially into an unblended edge and SMLib's result is not a closed solid (the smooth-vertex End, tangency-labs/smlib#81)
diff --git a/tests/kernel-cases/fillets/cov-fillet-section-curvature-boss-root-r2/expected.json b/tests/kernel-cases/fillets/cov-fillet-section-curvature-boss-root-r2/expected.json
index f752858e75..576a1ddb8c 100644
--- a/tests/kernel-cases/fillets/cov-fillet-section-curvature-boss-root-r2/expected.json
+++ b/tests/kernel-cases/fillets/cov-fillet-section-curvature-boss-root-r2/expected.json
@@ -11,5 +11,6 @@
},
"tolerance": {
"rel": 1e-07
- }
+ },
+ "timeout_s": 600
}
diff --git a/tests/kernel-cases/fillets/every-hole-top-rim-r1-curvature/expected.json b/tests/kernel-cases/fillets/every-hole-top-rim-r1-curvature/expected.json
index 8f1712ccb5..a059678998 100644
--- a/tests/kernel-cases/fillets/every-hole-top-rim-r1-curvature/expected.json
+++ b/tests/kernel-cases/fillets/every-hole-top-rim-r1-curvature/expected.json
@@ -20,5 +20,6 @@
},
"continuity": {
"order": "g2"
- }
+ },
+ "timeout_s": 600
}
diff --git a/tests/oracle/34-chamfer-then-fillet/expected.json b/tests/oracle/34-chamfer-then-fillet/expected.json
index 22139c6476..7ed149fc4e 100644
--- a/tests/oracle/34-chamfer-then-fillet/expected.json
+++ b/tests/oracle/34-chamfer-then-fillet/expected.json
@@ -1,6 +1,5 @@
{
"source": "freecad 1.1.4",
- "known_failure": "SMLib fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5",
"method": "FreeCAD (OpenCASCADE) build of recipe.json by tools/freecad-oracle/build.py: Part extrude, Part makeChamfer, Part makeFillet",
"body_count": 1,
"volume_mm3": 22892.42132988775,
diff --git a/tests/oracle/35-fillet-curved-curved/expected.json b/tests/oracle/35-fillet-curved-curved/expected.json
index feba69fe3d..39dddae7e2 100644
--- a/tests/oracle/35-fillet-curved-curved/expected.json
+++ b/tests/oracle/35-fillet-curved-curved/expected.json
@@ -1,6 +1,5 @@
{
"source": "freecad 1.1.4",
- "known_failure": "SMLib fillet: STEP export finds edges 4.6e-5 to 6.1e-5 off their surfaces against 2e-5",
"method": "FreeCAD (OpenCASCADE) build of recipe.json by tools/freecad-oracle/build.py: Part extrude, Part extrude join, Part makeFillet",
"body_count": 1,
"volume_mm3": 63171.61517720092,