SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Wave 32/509: kernel-cases: the no-keyword kernel items, #25-#4148 (4 cases, 98 skipped)
bherbruck9e3d118f542b
diff --git a/tests/kernel-cases/booleans/3702-board-in-cavity-of-filleted-rim-case/expected.json b/tests/kernel-cases/booleans/3702-board-in-cavity-of-filleted-rim-case/expected.jsonnew file mode 100644index 0000000000..295aadbf15--- /dev/null+++ b/tests/kernel-cases/booleans/3702-board-in-cavity-of-filleted-rim-case/expected.json@@ -0,0 +1,8 @@+{+ "sources": ["tangency-labs/solidcraft#3702"],+ "what": "a 0.2 mm board lying in the open cavity of a case with a filleted circular rim: cutting it from the case must leave the case unchanged (it was taken for wholly inside)",+ "source": "analytic",+ "method": "case = cylinder R25 H10 minus cavity R21.5 x 8 deep (floor 2 mm): pi*25^2*10 - pi*21.5^2*8 = 8017.344; rim fillet r1.5 on the outer top edge removes 2*pi*(2.25*24.25 - (pi*1.5^2/4)*(23.5+4*1.5/(3*pi))) = 74.830 (square 1.5x1.5 at radius 24.25 minus the quarter disc, Pappus); case = 7942.514. The 20x15x0.2 board (60 mm3, centre z=5, clear of the walls and floor) does not touch the case, is kept as a tool, and the cut changes nothing: two bodies, 7942.514 + 60 = 8002.514",+ "body_count": 2,+ "volume_mm3": 8002.514+}diff --git a/tests/kernel-cases/booleans/3702-board-in-cavity-of-filleted-rim-case/recipe.json b/tests/kernel-cases/booleans/3702-board-in-cavity-of-filleted-rim-case/recipe.jsonnew file mode 100644index 0000000000..b5092b1f5c--- /dev/null+++ b/tests/kernel-cases/booleans/3702-board-in-cavity-of-filleted-rim-case/recipe.json@@ -0,0 +1,68 @@+{+ "commands": [+ {+ "command": "solid.cylinder",+ "params": {+ "radius": "25 mm",+ "height": "10 mm",+ "body_name": "Case"+ }+ },+ {+ "command": "solid.cylinder",+ "params": {+ "radius": "21.5 mm",+ "height": "8 mm",+ "base": [+ 0,+ 0,+ 2+ ],+ "operation": "cut",+ "targets": [+ "Case"+ ]+ }+ },+ {+ "command": "solid.fillet",+ "params": {+ "edges": [+ [+ 0,+ 25,+ 10+ ]+ ],+ "radius": "1.5 mm",+ "body": "Case"+ }+ },+ {+ "command": "solid.box",+ "params": {+ "length": "20 mm",+ "width": "15 mm",+ "height": "0.2 mm",+ "center": [+ 0,+ 0,+ 5+ ],+ "body_name": "Board",+ "operation": "new_body"+ }+ },+ {+ "command": "solid.combine",+ "params": {+ "target": "Case",+ "tools": [+ "Board"+ ],+ "operation": "cut",+ "keep_tools": true+ }+ }+ ]+}diff --git a/tests/kernel-cases/booleans/skipped-other.json b/tests/kernel-cases/booleans/skipped-other.jsonnew file mode 100644index 0000000000..bc3254e46e--- /dev/null+++ b/tests/kernel-cases/booleans/skipped-other.json@@ -0,0 +1,294 @@+[+ {+ "source": "tangency-labs/solidcraft#25",+ "why": "test infrastructure (spatial reference comparison), no geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#195",+ "why": "sketch.create refusal on a user's face; needs the user's design, no geometry spec"+ },+ {+ "source": "tangency-labs/solidcraft#255",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#287",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#291",+ "why": "feature request (integer arithmetic), no geometry case"+ },+ {+ "source": "tangency-labs/solidcraft#331",+ "why": "kernel evaluation or tracking, not a geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#344",+ "why": "sketch.create refusal on a user's face; needs the user's design, no geometry spec"+ },+ {+ "source": "tangency-labs/solidcraft#415",+ "why": "sketch.create refusal on two intersecting cylinders plus a feature request; no dimensions to rebuild"+ },+ {+ "source": "tangency-labs/solidcraft#424",+ "why": "other area: threads"+ },+ {+ "source": "tangency-labs/solidcraft#446",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#466",+ "why": "other area: tessellation (revolved cone tip shows indentations; the profile coordinates are not given)"+ },+ {+ "source": "tangency-labs/solidcraft#467",+ "why": "no reproduction data (screenshot or video only)"+ },+ {+ "source": "tangency-labs/solidcraft#611",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#669",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#759",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#763",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#767",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#770",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#772",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#987",+ "why": "other area: threads"+ },+ {+ "source": "tangency-labs/solidcraft#1008",+ "why": "other area: fillets"+ },+ {+ "source": "tangency-labs/solidcraft#1191",+ "why": "other area: fillets"+ },+ {+ "source": "tangency-labs/solidcraft#1202",+ "why": "no reproduction data (screenshot or video only)"+ },+ {+ "source": "tangency-labs/solidcraft#1308",+ "why": "property-test PR, tests not a failing case"+ },+ {+ "source": "tangency-labs/solidcraft#1317",+ "why": "UI or customization PR, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#1328",+ "why": "no reproduction data (screenshot or video only)"+ },+ {+ "source": "tangency-labs/solidcraft#1431",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#1437",+ "why": "extrude join result beyond the sketch; needs the user's design (earlier features not given)"+ },+ {+ "source": "tangency-labs/solidcraft#1466",+ "why": "surface-modelling feature or proposal, not a failing solid operation"+ },+ {+ "source": "tangency-labs/solidcraft#1508",+ "why": "sketch projection of solid edges (sketch area), not a kernel failure"+ },+ {+ "source": "tangency-labs/solidcraft#1531",+ "why": "feature request (partial taper where the sides would cross); the refusal is intended; needs the user's plate"+ },+ {+ "source": "tangency-labs/solidcraft#1603",+ "why": "other area: sheet-metal"+ },+ {+ "source": "tangency-labs/solidcraft#1737",+ "why": "extrude join leaves a gap after a fillet; the base solid is only in a screenshot"+ },+ {+ "source": "tangency-labs/solidcraft#1788",+ "why": "extra seam edge from a mirrored sketch, marked possibly intentional; no dimensions"+ },+ {+ "source": "tangency-labs/solidcraft#1891",+ "why": "profiling or tracing tooling, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#1967",+ "why": "other area: sweeps (loft reported as not working, no details)"+ },+ {+ "source": "tangency-labs/solidcraft#1995",+ "why": "other area: threads"+ },+ {+ "source": "tangency-labs/solidcraft#2064",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#2074",+ "why": "part library or fastener fill feature, not a failing operation"+ },+ {+ "source": "tangency-labs/solidcraft#2274",+ "why": "part library or fastener fill feature, not a failing operation"+ },+ {+ "source": "tangency-labs/solidcraft#2343",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#2428",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#2509",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#2545",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#2572",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#2768",+ "why": "documentation"+ },+ {+ "source": "tangency-labs/solidcraft#2876",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#2968",+ "why": "UI or customization PR, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#3013",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#3104",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#3126",+ "why": "sphere placement UI (centre taken from the picked point); the cut itself is not wrong"+ },+ {+ "source": "tangency-labs/solidcraft#3134",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#3226",+ "why": "test layout housekeeping"+ },+ {+ "source": "tangency-labs/solidcraft#3268",+ "why": "profiling or tracing tooling, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#3272",+ "why": "fix for #2970 (bore guard in a two-profile join): geometry only in the user's design, no dimensions"+ },+ {+ "source": "tangency-labs/solidcraft#3450",+ "why": "solid.move pivot/point-to-point selection UI, no geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#3486",+ "why": "solid.move pivot/point-to-point selection UI, no geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#3517",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#3525",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#3551",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#3569",+ "why": "UI or customization PR, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#3592",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#3594",+ "why": "feature (wrap sketches onto cylinders), not a failing operation"+ },+ {+ "source": "tangency-labs/solidcraft#3756",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#3900",+ "why": "transform input validation (refuses non-affine matrices); not a geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#3907",+ "why": "performance only, no wrong result"+ },+ {+ "source": "tangency-labs/solidcraft#3976",+ "why": "refactor or rollup PR with no behaviour change to grade"+ },+ {+ "source": "tangency-labs/solidcraft#3992",+ "why": "kernel evaluation or tracking, not a geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#3997",+ "why": "kernel evaluation or tracking, not a geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#4002",+ "why": "construct.plane.three_points selection UI"+ },+ {+ "source": "tangency-labs/solidcraft#4012",+ "why": "kernel evaluation or tracking, not a geometry failure"+ },+ {+ "source": "tangency-labs/solidcraft#4024",+ "why": "fill tolerance check in geom, no geometry case"+ },+ {+ "source": "tangency-labs/solidcraft#4148",+ "why": "revolve join 'no result' on a sketch not given in the report; needs the user's design"+ }+]diff --git a/tests/kernel-cases/crashes/skipped-other.json b/tests/kernel-cases/crashes/skipped-other.jsonnew file mode 100644index 0000000000..13a00cbc3a--- /dev/null+++ b/tests/kernel-cases/crashes/skipped-other.json@@ -0,0 +1,6 @@+[+ {+ "source": "tangency-labs/solidcraft#924",+ "why": "Windows-versus-Linux differences in the robustness goldens; platform float behaviour, no case geometry"+ }+]diff --git a/tests/kernel-cases/import/258-cone-point-vertex/expected.json b/tests/kernel-cases/import/258-cone-point-vertex/expected.jsonnew file mode 100644index 0000000000..5f10c76fb7--- /dev/null+++ b/tests/kernel-cases/import/258-cone-point-vertex/expected.json@@ -0,0 +1,24 @@+{+ "sources": [+ "tangency-labs/solidcraft#258"+ ],+ "what": "the same STEP cone with a VERTEX_LOOP at the apex: the mesh stopped 30 mm short of the apex",+ "source": "analytic",+ "method": "as the cone without apex vertex: V = 1000*pi, area = pi*10*sqrt(1000) + pi*100, bbox [-10,-10,0]..[10,10,30]",+ "body_count": 1,+ "volume_mm3": 3141.592653589793,+ "area_mm2": 1307.6180919385895,+ "faces": 2,+ "bbox": {+ "min": [+ -10,+ -10,+ 0+ ],+ "max": [+ 10,+ 10,+ 30+ ]+ }+}diff --git a/tests/kernel-cases/import/258-cone-point-vertex/input.step b/tests/kernel-cases/import/258-cone-point-vertex/input.stepnew file mode 100644index 0000000000..a0a44ffa2f--- /dev/null+++ b/tests/kernel-cases/import/258-cone-point-vertex/input.step@@ -0,0 +1,60 @@+ISO-10303-21;+HEADER;+FILE_DESCRIPTION(('step-conformance generated part'),'2;1');+FILE_NAME('cone_point_vertex.step','2026-10-12T00:00:00',(''),(''),'step-conformance generate','step-conformance generate','');+FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));+ENDSEC;+DATA;+#1=( LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.) );+#2=( NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.) );+#3=( NAMED_UNIT(*) SI_UNIT($,.STERADIAN.) SOLID_ANGLE_UNIT() );+#4=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-7),#1,'distance_accuracy_value','confusion accuracy');+#5=( GEOMETRIC_REPRESENTATION_CONTEXT(3) GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#4)) GLOBAL_UNIT_ASSIGNED_CONTEXT((#1,#2,#3)) REPRESENTATION_CONTEXT('','3D') );+#6=APPLICATION_CONTEXT('automotive design');+#7=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#6);+#8=PRODUCT_CONTEXT('',#6,'mechanical');+#9=PRODUCT_DEFINITION_CONTEXT('part definition',#6,'design');+#10=PRODUCT('cone_point_vertex','cone_point_vertex','',(#8));+#11=PRODUCT_DEFINITION_FORMATION('','',#10);+#12=PRODUCT_DEFINITION('design','',#11,#9);+#13=PRODUCT_DEFINITION_SHAPE('','',#12);+#14=CARTESIAN_POINT('',(0.0,0.0,0.0));+#15=DIRECTION('',(0.0,0.0,1.0));+#16=DIRECTION('',(1.0,0.0,0.0));+#17=AXIS2_PLACEMENT_3D('',#14,#15,#16);+#18=CARTESIAN_POINT('',(0.0,0.0,0.0));+#19=DIRECTION('',(0.0,0.0,1.0));+#20=DIRECTION('',(1.0,0.0,0.0));+#21=AXIS2_PLACEMENT_3D('',#18,#19,#20);+#22=CIRCLE('',#21,10.0);+#23=CARTESIAN_POINT('',(10.0,0.0,0.0));+#24=VERTEX_POINT('',#23);+#25=EDGE_CURVE('',#24,#24,#22,.T.);+#26=CARTESIAN_POINT('',(0.0,0.0,0.0));+#27=DIRECTION('',(0.0,0.0,1.0));+#28=DIRECTION('',(1.0,0.0,0.0));+#29=AXIS2_PLACEMENT_3D('',#26,#27,#28);+#30=PLANE('',#29);+#31=ORIENTED_EDGE('',*,*,#25,.F.);+#32=EDGE_LOOP('',(#31));+#33=FACE_OUTER_BOUND('',#32,.T.);+#34=ADVANCED_FACE('',(#33),#30,.F.);+#35=CARTESIAN_POINT('',(0.0,0.0,0.0));+#36=DIRECTION('',(0.0,0.0,-1.0));+#37=DIRECTION('',(1.0,0.0,0.0));+#38=AXIS2_PLACEMENT_3D('',#35,#36,#37);+#39=CONICAL_SURFACE('',#38,10.0,0.3217505543966422);+#40=ORIENTED_EDGE('',*,*,#25,.T.);+#41=EDGE_LOOP('',(#40));+#42=CARTESIAN_POINT('',(0.0,0.0,30.0));+#43=VERTEX_POINT('',#42);+#44=VERTEX_LOOP('',#43);+#45=FACE_OUTER_BOUND('',#41,.T.);+#46=FACE_BOUND('',#44,.T.);+#47=ADVANCED_FACE('',(#45,#46),#39,.T.);+#48=CLOSED_SHELL('',(#34,#47));+#49=MANIFOLD_SOLID_BREP('',#48);+#50=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#17,#49),#5);+#51=SHAPE_DEFINITION_REPRESENTATION(#13,#50);+ENDSEC;+END-ISO-10303-21;diff --git a/tests/kernel-cases/import/258-cone-point-vertex/recipe.json b/tests/kernel-cases/import/258-cone-point-vertex/recipe.jsonnew file mode 100644index 0000000000..8a6bdf43b8--- /dev/null+++ b/tests/kernel-cases/import/258-cone-point-vertex/recipe.json@@ -0,0 +1,10 @@+{+ "commands": [+ {+ "command": "file.insert_step",+ "params": {+ "path": "$CASE/input.step"+ }+ }+ ]+}diff --git a/tests/kernel-cases/import/258-cone-to-point/expected.json b/tests/kernel-cases/import/258-cone-to-point/expected.jsonnew file mode 100644index 0000000000..7cb78235fc--- /dev/null+++ b/tests/kernel-cases/import/258-cone-to-point/expected.json@@ -0,0 +1,24 @@+{+ "sources": [+ "tangency-labs/solidcraft#258"+ ],+ "what": "a STEP cone 20 mm across coming to a point 30 mm up (no vertex at the apex): the cone face was meshed flat at its base, so the measured shape was far off",+ "source": "analytic",+ "method": "cone V = pi*r^2*h/3 = pi*100*30/3 = 1000*pi; area = lateral pi*r*s (s=sqrt(100+900)) + base pi*r^2 = 993.459+314.159; bbox [-10,-10,0]..[10,10,30]; faces: cone + base disc",+ "body_count": 1,+ "volume_mm3": 3141.592653589793,+ "area_mm2": 1307.6180919385895,+ "faces": 2,+ "bbox": {+ "min": [+ -10,+ -10,+ 0+ ],+ "max": [+ 10,+ 10,+ 30+ ]+ }+}diff --git a/tests/kernel-cases/import/258-cone-to-point/input.step b/tests/kernel-cases/import/258-cone-to-point/input.stepnew file mode 100644index 0000000000..4be1def483--- /dev/null+++ b/tests/kernel-cases/import/258-cone-to-point/input.step@@ -0,0 +1,56 @@+ISO-10303-21;+HEADER;+FILE_DESCRIPTION(('step-conformance generated part'),'2;1');+FILE_NAME('cone_point.step','2026-10-12T00:00:00',(''),(''),'step-conformance generate','step-conformance generate','');+FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));+ENDSEC;+DATA;+#1=( LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.) );+#2=( NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.) );+#3=( NAMED_UNIT(*) SI_UNIT($,.STERADIAN.) SOLID_ANGLE_UNIT() );+#4=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-7),#1,'distance_accuracy_value','confusion accuracy');+#5=( GEOMETRIC_REPRESENTATION_CONTEXT(3) GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#4)) GLOBAL_UNIT_ASSIGNED_CONTEXT((#1,#2,#3)) REPRESENTATION_CONTEXT('','3D') );+#6=APPLICATION_CONTEXT('automotive design');+#7=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#6);+#8=PRODUCT_CONTEXT('',#6,'mechanical');+#9=PRODUCT_DEFINITION_CONTEXT('part definition',#6,'design');+#10=PRODUCT('cone_point','cone_point','',(#8));+#11=PRODUCT_DEFINITION_FORMATION('','',#10);+#12=PRODUCT_DEFINITION('design','',#11,#9);+#13=PRODUCT_DEFINITION_SHAPE('','',#12);+#14=CARTESIAN_POINT('',(0.0,0.0,0.0));+#15=DIRECTION('',(0.0,0.0,1.0));+#16=DIRECTION('',(1.0,0.0,0.0));+#17=AXIS2_PLACEMENT_3D('',#14,#15,#16);+#18=CARTESIAN_POINT('',(0.0,0.0,0.0));+#19=DIRECTION('',(0.0,0.0,1.0));+#20=DIRECTION('',(1.0,0.0,0.0));+#21=AXIS2_PLACEMENT_3D('',#18,#19,#20);+#22=CIRCLE('',#21,10.0);+#23=CARTESIAN_POINT('',(10.0,0.0,0.0));+#24=VERTEX_POINT('',#23);+#25=EDGE_CURVE('',#24,#24,#22,.T.);+#26=CARTESIAN_POINT('',(0.0,0.0,0.0));+#27=DIRECTION('',(0.0,0.0,1.0));+#28=DIRECTION('',(1.0,0.0,0.0));+#29=AXIS2_PLACEMENT_3D('',#26,#27,#28);+#30=PLANE('',#29);+#31=ORIENTED_EDGE('',*,*,#25,.F.);+#32=EDGE_LOOP('',(#31));+#33=FACE_OUTER_BOUND('',#32,.T.);+#34=ADVANCED_FACE('',(#33),#30,.F.);+#35=CARTESIAN_POINT('',(0.0,0.0,0.0));+#36=DIRECTION('',(0.0,0.0,-1.0));+#37=DIRECTION('',(1.0,0.0,0.0));+#38=AXIS2_PLACEMENT_3D('',#35,#36,#37);+#39=CONICAL_SURFACE('',#38,10.0,0.3217505543966422);+#40=ORIENTED_EDGE('',*,*,#25,.T.);+#41=EDGE_LOOP('',(#40));+#42=FACE_OUTER_BOUND('',#41,.T.);+#43=ADVANCED_FACE('',(#42),#39,.T.);+#44=CLOSED_SHELL('',(#34,#43));+#45=MANIFOLD_SOLID_BREP('',#44);+#46=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#17,#45),#5);+#47=SHAPE_DEFINITION_REPRESENTATION(#13,#46);+ENDSEC;+END-ISO-10303-21;diff --git a/tests/kernel-cases/import/258-cone-to-point/recipe.json b/tests/kernel-cases/import/258-cone-to-point/recipe.jsonnew file mode 100644index 0000000000..8a6bdf43b8--- /dev/null+++ b/tests/kernel-cases/import/258-cone-to-point/recipe.json@@ -0,0 +1,10 @@+{+ "commands": [+ {+ "command": "file.insert_step",+ "params": {+ "path": "$CASE/input.step"+ }+ }+ ]+}diff --git a/tests/kernel-cases/import/258-tiny-pin/expected.json b/tests/kernel-cases/import/258-tiny-pin/expected.jsonnew file mode 100644index 0000000000..bd6bcb8223--- /dev/null+++ b/tests/kernel-cases/import/258-tiny-pin/expected.json@@ -0,0 +1,24 @@+{+ "sources": [+ "tangency-labs/solidcraft#258"+ ],+ "what": "a STEP pin 0.5 mm across, 2 mm long: meshed 1.16 mm off at a 0.5 mm tolerance",+ "source": "analytic",+ "method": "cylinder r=0.25, h=2: V = pi*0.0625*2 = pi/8; area = 2*pi*r*h + 2*pi*r^2 = 3.5343; bbox [-0.25,-0.25,0]..[0.25,0.25,2]; faces: side + two ends",+ "body_count": 1,+ "volume_mm3": 0.39269908169872414,+ "area_mm2": 3.5342917352885173,+ "faces": 3,+ "bbox": {+ "min": [+ -0.25,+ -0.25,+ 0+ ],+ "max": [+ 0.25,+ 0.25,+ 2+ ]+ }+}diff --git a/tests/kernel-cases/import/258-tiny-pin/input.step b/tests/kernel-cases/import/258-tiny-pin/input.stepnew file mode 100644index 0000000000..7149887f94--- /dev/null+++ b/tests/kernel-cases/import/258-tiny-pin/input.step@@ -0,0 +1,76 @@+ISO-10303-21;+HEADER;+FILE_DESCRIPTION(('step-conformance generated part'),'2;1');+FILE_NAME('tiny_pin.step','2026-10-12T00:00:00',(''),(''),'step-conformance generate','step-conformance generate','');+FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));+ENDSEC;+DATA;+#1=( LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.) );+#2=( NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.) );+#3=( NAMED_UNIT(*) SI_UNIT($,.STERADIAN.) SOLID_ANGLE_UNIT() );+#4=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-7),#1,'distance_accuracy_value','confusion accuracy');+#5=( GEOMETRIC_REPRESENTATION_CONTEXT(3) GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#4)) GLOBAL_UNIT_ASSIGNED_CONTEXT((#1,#2,#3)) REPRESENTATION_CONTEXT('','3D') );+#6=APPLICATION_CONTEXT('automotive design');+#7=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#6);+#8=PRODUCT_CONTEXT('',#6,'mechanical');+#9=PRODUCT_DEFINITION_CONTEXT('part definition',#6,'design');+#10=PRODUCT('tiny_pin','tiny_pin','',(#8));+#11=PRODUCT_DEFINITION_FORMATION('','',#10);+#12=PRODUCT_DEFINITION('design','',#11,#9);+#13=PRODUCT_DEFINITION_SHAPE('','',#12);+#14=CARTESIAN_POINT('',(0.0,0.0,0.0));+#15=DIRECTION('',(0.0,0.0,1.0));+#16=DIRECTION('',(1.0,0.0,0.0));+#17=AXIS2_PLACEMENT_3D('',#14,#15,#16);+#18=CARTESIAN_POINT('',(0.0,0.0,0.0));+#19=DIRECTION('',(0.0,0.0,1.0));+#20=DIRECTION('',(1.0,0.0,0.0));+#21=AXIS2_PLACEMENT_3D('',#18,#19,#20);+#22=CIRCLE('',#21,0.25);+#23=CARTESIAN_POINT('',(0.25,0.0,0.0));+#24=VERTEX_POINT('',#23);+#25=EDGE_CURVE('',#24,#24,#22,.T.);+#26=CARTESIAN_POINT('',(0.0,0.0,2.0));+#27=DIRECTION('',(0.0,0.0,1.0));+#28=DIRECTION('',(1.0,0.0,0.0));+#29=AXIS2_PLACEMENT_3D('',#26,#27,#28);+#30=CIRCLE('',#29,0.25);+#31=CARTESIAN_POINT('',(0.25,0.0,2.0));+#32=VERTEX_POINT('',#31);+#33=EDGE_CURVE('',#32,#32,#30,.T.);+#34=CARTESIAN_POINT('',(0.0,0.0,0.0));+#35=DIRECTION('',(0.0,0.0,1.0));+#36=DIRECTION('',(1.0,0.0,0.0));+#37=AXIS2_PLACEMENT_3D('',#34,#35,#36);+#38=PLANE('',#37);+#39=ORIENTED_EDGE('',*,*,#25,.F.);+#40=EDGE_LOOP('',(#39));+#41=FACE_OUTER_BOUND('',#40,.T.);+#42=ADVANCED_FACE('',(#41),#38,.F.);+#43=CARTESIAN_POINT('',(0.0,0.0,0.0));+#44=DIRECTION('',(0.0,0.0,1.0));+#45=DIRECTION('',(1.0,0.0,0.0));+#46=AXIS2_PLACEMENT_3D('',#43,#44,#45);+#47=CYLINDRICAL_SURFACE('',#46,0.25);+#48=ORIENTED_EDGE('',*,*,#25,.T.);+#49=EDGE_LOOP('',(#48));+#50=ORIENTED_EDGE('',*,*,#33,.F.);+#51=EDGE_LOOP('',(#50));+#52=FACE_OUTER_BOUND('',#49,.T.);+#53=FACE_BOUND('',#51,.T.);+#54=ADVANCED_FACE('',(#52,#53),#47,.T.);+#55=CARTESIAN_POINT('',(0.0,0.0,2.0));+#56=DIRECTION('',(0.0,0.0,1.0));+#57=DIRECTION('',(1.0,0.0,0.0));+#58=AXIS2_PLACEMENT_3D('',#55,#56,#57);+#59=PLANE('',#58);+#60=ORIENTED_EDGE('',*,*,#33,.T.);+#61=EDGE_LOOP('',(#60));+#62=FACE_OUTER_BOUND('',#61,.T.);+#63=ADVANCED_FACE('',(#62),#59,.T.);+#64=CLOSED_SHELL('',(#42,#54,#63));+#65=MANIFOLD_SOLID_BREP('',#64);+#66=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#17,#65),#5);+#67=SHAPE_DEFINITION_REPRESENTATION(#13,#66);+ENDSEC;+END-ISO-10303-21;diff --git a/tests/kernel-cases/import/258-tiny-pin/recipe.json b/tests/kernel-cases/import/258-tiny-pin/recipe.jsonnew file mode 100644index 0000000000..8a6bdf43b8--- /dev/null+++ b/tests/kernel-cases/import/258-tiny-pin/recipe.json@@ -0,0 +1,10 @@+{+ "commands": [+ {+ "command": "file.insert_step",+ "params": {+ "path": "$CASE/input.step"+ }+ }+ ]+}diff --git a/tests/kernel-cases/import/skipped-other.json b/tests/kernel-cases/import/skipped-other.jsonnew file mode 100644index 0000000000..d91a48a286--- /dev/null+++ b/tests/kernel-cases/import/skipped-other.json@@ -0,0 +1,98 @@+[+ {+ "source": "tangency-labs/solidcraft#327",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#461",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#469",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#626",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#1017",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#1120",+ "why": "UI face selection on an imported STEP, no geometry spec"+ },+ {+ "source": "tangency-labs/solidcraft#1369",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#1452",+ "why": "periodic cylinder trim in a two-body STEP; needs the reporter's files, not attached and not rebuildable from the description"+ },+ {+ "source": "tangency-labs/solidcraft#1600",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#1606",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#1613",+ "why": "Fusion .f3d exchange provider (closed PR), not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#1626",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#1777",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#1783",+ "why": "FreeCAD file refused on a resource budget; needs the reporter's file"+ },+ {+ "source": "tangency-labs/solidcraft#2998",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#2999",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#3093",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#3102",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#3431",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#3476",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#3708",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#3713",+ "why": "not geometry (importer coverage, progress UI, export, timing tests or feature request)"+ },+ {+ "source": "tangency-labs/solidcraft#3754",+ "why": "document/file format or storage, not geometry"+ },+ {+ "source": "tangency-labs/solidcraft#4130",+ "why": "STL opening error with only a screenshot; no file"+ }+]