fix: step_import — NurbsSurface not default-constructible
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user