From 6b2dc3683a9a840fa5dae8a848e86f9bf030085b Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 27 Dec 2013 09:39:20 +0000 Subject: [PATCH] IfcConvert: Propagate all settings from the command line to the IfcGeomObjects kernel --- src/ifcconvert/IfcConvert.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index 076764ede8..3917af1b7e 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -169,7 +169,11 @@ int main(int argc, char** argv) { IfcGeomObjects::Settings(IfcGeomObjects::USE_WORLD_COORDS, use_world_coords); IfcGeomObjects::Settings(IfcGeomObjects::WELD_VERTICES, weld_vertices); - IfcGeomObjects::Settings(IfcGeomObjects::SEW_SHELLS, sew_shells); + IfcGeomObjects::Settings(IfcGeomObjects::SEW_SHELLS, sew_shells); + IfcGeomObjects::Settings(IfcGeomObjects::CONVERT_BACK_UNITS, convert_back_units); + IfcGeomObjects::Settings(IfcGeomObjects::FASTER_BOOLEANS, merge_boolean_operands); + IfcGeomObjects::Settings(IfcGeomObjects::FORCE_CCW_FACE_ORIENTATION, force_ccw_face_orientation); + IfcGeomObjects::Settings(IfcGeomObjects::DISABLE_OPENING_SUBTRACTIONS, disable_opening_subtractions); std::string output_extension = output_filename.substr(output_filename.size()-4); for (std::string::iterator c = output_extension.begin(); c != output_extension.end(); ++c) {