mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 19:34:34 +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;
|
||||
}
|
||||
|
||||
const float second_operand_volume = shape_volume(s2);
|
||||
if ( second_operand_volume <= ALMOST_ZERO )
|
||||
Ifc::LogMessage("warning","Empty solid for:",l->SecondOperand()->entity);
|
||||
if ( ! l->SecondOperand()->is(Ifc2x3::Type::IfcHalfSpaceSolid) ) {
|
||||
const float second_operand_volume = shape_volume(s2);
|
||||
if ( second_operand_volume <= ALMOST_ZERO )
|
||||
Ifc::LogMessage("warning","Empty solid for:",l->SecondOperand()->entity);
|
||||
}
|
||||
|
||||
shape = BRepAlgoAPI_Cut(s1,s2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user