mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
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
This commit is contained in:
@@ -210,6 +210,9 @@ static void getNamedSolids(const TopLoc_Location& location, const std::string& p
|
|||||||
case TopAbs_SOLID:
|
case TopAbs_SOLID:
|
||||||
namedSolids.emplace_back(TopoDS::Solid(transform.Shape()), fullName);
|
namedSolids.emplace_back(TopoDS::Solid(transform.Shape()), fullName);
|
||||||
break;
|
break;
|
||||||
|
case TopAbs_SHELL:
|
||||||
|
namedSolids.emplace_back(TopoDS::Shell(transform.Shape()), fullName);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user