mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: detect solidXXX (so no separating space)
This commit is contained in:
@ -55,7 +55,7 @@ bool triSurface::readSTL(const fileName& STLfileName)
|
|||||||
firstWord[i] = std::toupper(firstWord[i]);
|
firstWord[i] = std::toupper(firstWord[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (firstWord == "SOLID")
|
if (firstWord == "SOLID" || firstWord(5) == "SOLID")
|
||||||
{
|
{
|
||||||
return readSTLASCII(STLfileName);
|
return readSTLASCII(STLfileName);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user