Hi, Sorry for the newbie question, but I just can't figure out how to execute the IfcOpenShell (any version) for Mac OSX (10.11) .
I've tried all recent and preview versions of IfcOpenShell. What am I missing about "You can invoke IfcObj from the command line or drag an .ifc file over the IfcObj executable to convert it."?
I've tried dragging an .ifc file over the executable(s) in the finder, and also opening the executables in Terminal, as well, and just to see this:
Last login: Fri Oct 5 00:56:16 on ttys000
ethan2000s-macbook-pro-2:~ ethan2000$ /Users/ethan2000/Documents/project /IfcConvert ; exit;
IfcOpenShell IFC2X3 IfcConvert 0.5.0-dev [Error] Input file not specified
Usage: IfcConvert [options]** <input.ifc> [<output>]</output></input.ifc>
Converts the geometry in an IFC file into one of the following formats:
.obj WaveFront OBJ (a .mtl file is also created)
.dae Collada Digital Assets Exchange
.stp STEP Standard for the Exchange of Product Data
.igs IGES Initial Graphics Exchange Specification
.xml XML Property definitions and decomposition tree
.svg SVG Scalable Vector Graphics (2D floor plan)
If no output filename given, <input>.obj will be used as the output file.
Run 'IfcConvert --help' for more information.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
*
So, I couldn't figure out how to offer an input file.
Would greatly appreciate any help! thank you in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, admittedly that documentation was mostly written with Windows users in mind.
If you open a new terminal windows [Cmd] + [Spacebar] , "Terminal", [Enter] and navigate to the directory where your IFC file is located, e.g. cd Documents/, you can run IfcConvert like this /Users/ethan2000/Documents/project/IfcConvert my_ifcfile.ifc result.dae. Where the first part needs to match the full (or relative) part to the IfcConvert executable. 2nd part the input file. 3rd part the resulting geometry file that will be created.
Hope that helps,
Kind regards,
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Sorry for the newbie question, but I just can't figure out how to execute the IfcOpenShell (any version) for Mac OSX (10.11) .
I've tried all recent and preview versions of IfcOpenShell. What am I missing about "You can invoke IfcObj from the command line or drag an .ifc file over the IfcObj executable to convert it."?
I've tried dragging an .ifc file over the executable(s) in the finder, and also opening the executables in Terminal, as well, and just to see this:
Last login: Fri Oct 5 00:56:16 on ttys000
ethan2000s-macbook-pro-2:~ ethan2000$ /Users/ethan2000/Documents/project /IfcConvert ; exit;
IfcOpenShell IFC2X3 IfcConvert 0.5.0-dev
[Error] Input file not specified
Usage: IfcConvert [options]** <input.ifc> [<output>]</output></input.ifc>
Converts the geometry in an IFC file into one of the following formats:
.obj WaveFront OBJ (a .mtl file is also created)
.dae Collada Digital Assets Exchange
.stp STEP Standard for the Exchange of Product Data
.igs IGES Initial Graphics Exchange Specification
.xml XML Property definitions and decomposition tree
.svg SVG Scalable Vector Graphics (2D floor plan)
If no output filename given, <input>.obj will be used as the output file.
Run 'IfcConvert --help' for more information.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
*
So, I couldn't figure out how to offer an input file.
Would greatly appreciate any help! thank you in advance.
Hi,
Yeah, admittedly that documentation was mostly written with Windows users in mind.
If you open a new terminal windows [Cmd] + [Spacebar] , "Terminal", [Enter] and navigate to the directory where your IFC file is located, e.g.
cd Documents/, you can run IfcConvert like this/Users/ethan2000/Documents/project/IfcConvert my_ifcfile.ifc result.dae. Where the first part needs to match the full (or relative) part to the IfcConvert executable. 2nd part the input file. 3rd part the resulting geometry file that will be created.Hope that helps,
Kind regards,
Thomas