mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 05:07:51 -06: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:
parent
9f7cec3f44
commit
3757d96cd4
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue