fix: step_import — NurbsSurface not default-constructible
CI / Build & Test (push) Failing after 35s
CI / Release Build (push) Failing after 23s

This commit is contained in:
茂之钳
2026-07-24 06:18:55 +00:00
parent 8a19e265cd
commit 2e5308a35f
+4 -1
View File
@@ -1264,7 +1264,10 @@ private:
}
const auto& ent = entities_.at(ref);
curves::NurbsSurface ns;
// Default-construct with a dummy surface (NurbsSurface has no default ctor)
std::vector<std::vector<Point3D>> g0 = {{Point3D(0,0,0), Point3D(1,0,0)},
{Point3D(0,1,0), Point3D(1,1,0)}};
curves::NurbsSurface ns(g0, {0,0,1,1}, {0,0,1,1}, {}, 1, 1);
try {
if (ent.type == "PLANE")
ns = build_plane_surface(ref);