From 3757d96cd42af9a7f8ecdf24d8e138ec06995267 Mon Sep 17 00:00:00 2001 From: Scott Mudge <19617165+scottmudge@users.noreply.github.com> Date: Fri, 1 Mar 2024 23:08:12 -0500 Subject: [PATCH] Add shell type to STEP importer, to fix importing of some STEP files (#4247) * Add shell type to STEP importer, to fix importing of some files. * Merge branch 'main' into feat_STEPImportImprovement --- src/libslic3r/Format/STEP.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libslic3r/Format/STEP.cpp b/src/libslic3r/Format/STEP.cpp index 5ee66be24d..b705641d6e 100644 --- a/src/libslic3r/Format/STEP.cpp +++ b/src/libslic3r/Format/STEP.cpp @@ -210,6 +210,9 @@ static void getNamedSolids(const TopLoc_Location& location, const std::string& p case TopAbs_SOLID: namedSolids.emplace_back(TopoDS::Solid(transform.Shape()), fullName); break; + case TopAbs_SHELL: + namedSolids.emplace_back(TopoDS::Shell(transform.Shape()), fullName); + break; default: break; }