From 604fbc4bc960f7a2b7077e01e26c2b11c597c39b Mon Sep 17 00:00:00 2001 From: Bruno Postle Date: Mon, 15 Nov 2021 20:15:55 +0000 Subject: [PATCH] Raise default section height from storey from 1.0 to 1.2 --- src/ifcconvert/IfcConvert.cpp | 2 +- src/serializers/SvgSerializer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index 38b23f00f4..e5fc80bc28 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -415,7 +415,7 @@ int main(int argc, char** argv) { ("door-arcs", "Draw door openings arcs for IfcDoor elements") ("section-height", po::value(§ion_height), "Specifies the cut section height for SVG 2D geometry.") - ("section-height-from-storeys", "Derives section height from storey elevation. Use --section-height to override default offset of 1") + ("section-height-from-storeys", "Derives section height from storey elevation. Use --section-height to override default offset of 1.2") ("use-element-names", "Use entity instance IfcRoot.Name instead of unique IDs for naming elements upon serialization. " "Applicable for OBJ, DAE, and SVG output.") diff --git a/src/serializers/SvgSerializer.h b/src/serializers/SvgSerializer.h index 9b87d8ad90..aa05557487 100644 --- a/src/serializers/SvgSerializer.h +++ b/src/serializers/SvgSerializer.h @@ -239,7 +239,7 @@ public: void setFile(IfcParse::IfcFile* f); void setBoundingRectangle(double width, double height); void setSectionHeight(double h, IfcUtil::IfcBaseEntity* storey = 0); - void setSectionHeightsFromStoreys(double offset=1.); + void setSectionHeightsFromStoreys(double offset=1.2); void setPrintSpaceNames(bool b) { print_space_names_ = b; } void setPrintSpaceAreas(bool b) { print_space_areas_ = b; } void setDrawStoreyHeights(storey_height_display_types sh) { storey_height_display_ = sh; }