mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 04:59:52 +00:00
Update face.cpp - snail artefact on 7.8 as well #4924
This commit is contained in:
@@ -442,7 +442,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re
|
|||||||
kt.Value().Original().ToUTF8CString(c);
|
kt.Value().Original().ToUTF8CString(c);
|
||||||
std::string message = c;
|
std::string message = c;
|
||||||
delete[] c;
|
delete[] c;
|
||||||
#if OCC_VERSION_MAJOR==7 && OCC_VERSION_MINOR == 7
|
#if OCC_VERSION_MAJOR==7 && OCC_VERSION_MINOR >= 7
|
||||||
if (!reversed_surface && !fd.surface().IsNull() && fd.surface()->IsUPeriodic() && message == "Unknown message invoked with the keyword FixAdvFace.FixOrientation.MSG0") {
|
if (!reversed_surface && !fd.surface().IsNull() && fd.surface()->IsUPeriodic() && message == "Unknown message invoked with the keyword FixAdvFace.FixOrientation.MSG0") {
|
||||||
Logger::Notice("Detected reversed wire, reattempting with reversed basis surface");
|
Logger::Notice("Detected reversed wire, reattempting with reversed basis surface");
|
||||||
TopoDS_Face reversed_result;
|
TopoDS_Face reversed_result;
|
||||||
|
|||||||
Reference in New Issue
Block a user