fix: compilation + test fixes — 26/42 failures resolved
CI / Build & Test (push) Failing after 44s
CI / Release Build (push) Failing after 45s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled

- CAM offset: fix knot collision in fit_clamped/make_circle → NaN
- Face split: fix add_face returning global ID instead of index → SEGFAULT
- Volume: fix formula to use abs-per-face for orientation robustness
- Build: fix vde_mesh linking, add vde_collision to vde_brep deps
- Tests: fix surface_intersection test, fuzz CMake, face split expectations
- Rename test_constraint_solver → test_constraint_solver_3d (naming conflict)
- Various include/namespace fixes across test files
This commit is contained in:
茂之钳
2026-07-25 00:02:48 +00:00
parent 9b89fc179f
commit 4f049b1296
17 changed files with 133 additions and 280 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ TEST(AssemblyInstancer, PlaceInstancesCountsCorrectly) {
Assembly assy("grid");
for (int i = 0; i < 100; ++i) {
auto xform = Transform3D::Translation(i % 10, i / 10, 0);
auto xform = Transform3D(Eigen::Translation<double, 3>(i % 10, i / 10, 0));
instancer.place_instance(assy, nullptr, id, xform);
}
@@ -68,7 +68,7 @@ TEST(AssemblyInstancer, PlaceInstanceWithParent) {
// Place a child under a subassembly
auto* sub = assy.root.add_subassembly("sub", Transform3D::Identity());
auto xform = Transform3D::Translation(5, 0, 0);
auto xform = Transform3D(Eigen::Translation<double, 3>(5, 0, 0));
EXPECT_NO_THROW(instancer.place_instance(assy, sub, id, xform));
EXPECT_EQ(instancer.total_placed(), 1);