OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
run IfcConvert in working dir to ensure it is writable
Markus Kahl04afc4c4ea85
diff --git a/modules/bim/app/services/bim/ifc_models/view_converter_service.rb b/modules/bim/app/services/bim/ifc_models/view_converter_service.rbindex 3ecccbb5bff..ef52bbe7254 100644--- a/modules/bim/app/services/bim/ifc_models/view_converter_service.rb+++ b/modules/bim/app/services/bim/ifc_models/view_converter_service.rb@@ -131,17 +131,20 @@ module Bim# write the default exclude parameter to only exclude# IfcOpeningElements.# https://github.com/IfcOpenShell/IfcOpenShell/wiki#ifconvert- Open3.capture2e("IfcConvert",- "--use-element-guids",- "--no-progress",- "--verbose",- "--threads",- "4",- ifc_filepath,- target_file,- "--exclude",- "entities",- "IfcOpeningElement")+ Open3.capture2e(+ "IfcConvert",+ "--use-element-guids",+ "--no-progress",+ "--verbose",+ "--threads",+ "4",+ ifc_filepath,+ target_file,+ "--exclude",+ "entities",+ "IfcOpeningElement",+ chdir: working_directory+ )endend