SVG Exclude IfcGrid from HLR

This commit is contained in:
Thomas Krijnen
2021-01-30 16:15:54 +01:00
parent 5e84d8da83
commit 1cee5c3108
+2 -2
View File
@@ -644,8 +644,8 @@ void SvgSerializer::write(const geometry_data& data) {
}
}
// Exclude annotations and spaces from HLR
if (any_in_front && !data.product->declaration().is("IfcAnnotation") && !data.product->declaration().is("IfcSpace")) {
// Exclude annotations, spaces and grids from HLR
if (any_in_front && !data.product->declaration().is("IfcAnnotation") && !data.product->declaration().is("IfcSpace") && !data.product->declaration().is("IfcGrid")) {
TopoDS_Shape* compound_to_hlr = &compound_to_use;
TopoDS_Shape subtracted_shape;