mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-05 11:35:55 +00:00
smlib: the solidcore tag test names what still holds it back
solidcore#1568 (#1462 P1) carries a B-rep's attributes through a boolean, but the tags `Brep::tagged` puts on the C++ body never reach solidcore: the crossing is the capi's flat arrays, which carry no attributes (smlib.h, smlib_flat.cpp), and the history is read back on the C++ body after the same crossing. tags_cross_a_solidcore_boolean stays ignored, its reason now that crossing rather than solidcore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MNXLXkZLQ6T7TSi4wswcmk
This commit is contained in:
@@ -367,7 +367,7 @@ mod history {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "solidcore has no way to carry attributes through a boolean: tangency-labs/solidcore#1462"]
|
||||
#[ignore = "the tags do not cross the flat arrays (smlib_flat.cpp carries no attributes), so the operands reach solidcore untagged; solidcore#1568 carries attributes through the boolean itself"]
|
||||
fn tags_cross_a_solidcore_boolean() {
|
||||
let (a, b) = (tagged_box([0.0; 3], 0), tagged_box([5.0; 3], 1));
|
||||
let r = super::boolean(a.core().unwrap(), b.core().unwrap(), BooleanOp::Union).unwrap().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user