Skip to content

IfcConvert: trying to output OBJ/DAE/IGS/STP to a non-existing directory fails without error message #438

@Stinkfist0

Description

@Stinkfist0

A minor thing, but just noticed this:

>IfcConvert.exe test.ifc nonexisting\folder\out.dae
IfcOpenShell IFC2X3 IfcConvert 0.5.0-dev (OCC 6.9.1.oce-0.18)

>IfcConvert.exe test.ifc nonexisting\folder\out.obj
IfcOpenShell IFC2X3 IfcConvert 0.5.0-dev (OCC 6.9.1.oce-0.18)

With XML or SVG output one can get some kind of error at least:

>IfcConvert.exe test.ifc nonexisting\folder\out.xml
IfcOpenShell IFC2X3 IfcConvert 0.5.0-dev (OCC 6.9.1.oce-0.18)
Scanning file...
Done scanning file
Writing XML output...

Log:
[Error] nonexisting\folder\out.xml.tmp: cannot open file

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions