mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 03:59:55 +00:00
No longer warn about 'empty' halfspace solids
This commit is contained in:
@@ -164,9 +164,11 @@ bool IfcGeom::convert(const Ifc2x3::IfcBooleanClippingResult::ptr l, TopoDS_Shap
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const float second_operand_volume = shape_volume(s2);
|
if ( ! l->SecondOperand()->is(Ifc2x3::Type::IfcHalfSpaceSolid) ) {
|
||||||
if ( second_operand_volume <= ALMOST_ZERO )
|
const float second_operand_volume = shape_volume(s2);
|
||||||
Ifc::LogMessage("warning","Empty solid for:",l->SecondOperand()->entity);
|
if ( second_operand_volume <= ALMOST_ZERO )
|
||||||
|
Ifc::LogMessage("warning","Empty solid for:",l->SecondOperand()->entity);
|
||||||
|
}
|
||||||
|
|
||||||
shape = BRepAlgoAPI_Cut(s1,s2);
|
shape = BRepAlgoAPI_Cut(s1,s2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user