from_arrays refused a bounded region of several shells (a sealed void),
as solidcore had no SmShell::IsInnerShellOf. solidcore#1473 ports it, so
the conversion now runs the capi's PutEnclosingShellsFirst (fork 41e7dca)
on top of it: candidates are the closed face-use shells whose box can be
computed, largest box first (stable), and the first that every other
shell is SM_TRUE inside becomes the head of the region's list. SM_FALSE
and SM_UNSURE rule a candidate out, as the capi's `== TRUE`; a region
where none is shown enclosing keeps its order. solidcore errors with no
C++ counterpart refuse the conversion, and containment tests are capped.
Tests: a 20 mm box minus a centred 10 mm box crosses the arrays both ways
with its outer shell first, from arrays listing it inner first too, at
7000 mm³ to 1e-9 and the C++ kernel's volume; C++ reads solidcore's
arrays (either order) as a body passing its level-2 check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MNXLXkZLQ6T7TSi4wswcmk