mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
SVG --storey-height-line-length
This commit is contained in:
@@ -386,6 +386,8 @@ int main(int argc, char** argv) {
|
||||
("draw-storey-heights",
|
||||
po::value<std::string>(&storey_height_display)->default_value("none")->implicit_value("full"),
|
||||
"Draws a horizontal line at the height of building storeys in vertical drawings")
|
||||
("storey-height-line-length", po::value<double>(),
|
||||
"Length of the line when --draw-storey-heights=left")
|
||||
("svg-xmlns",
|
||||
"Stores name and guid in a separate namespace as opposed to data-name, data-guid")
|
||||
("svg-poly",
|
||||
@@ -1008,6 +1010,11 @@ int main(int argc, char** argv) {
|
||||
if (relative_center_x && relative_center_y) {
|
||||
static_cast<SvgSerializer*>(serializer.get())->setDrawingCenter(*relative_center_x, *relative_center_y);
|
||||
}
|
||||
if (vmap.count("storey-height-line-length")) {
|
||||
static_cast<SvgSerializer*>(serializer.get())->setStoreyHeightLineLength(
|
||||
vmap["storey-height-line-length"].as<double>()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (convert_back_units) {
|
||||
|
||||
Reference in New Issue
Block a user