ODA Product: | IFC SDK |
Sample Name: | ExIfcVectorize |
Categories: | C++ / Beginner / Dumping IFC Files / Linux, macOS, Windows |
Source Code Location: | Ifc/Examples/Vectorize |
The ExIfcVectorize sample application accepts an input .ifc file and converts the geometry from it into a specified .stl file.
To run the ExIfcVectorize
sample application, please do the following:
<IFC_DIR>\exe\<version>
<IFC_DIR>/bin/<version>
<IFC_DIR>
is a directory where you unpacked the IFC SDK archive.
To determine your <version>
parameter, please see the
appropriate section
in the Download IFC SDK topic.
[stlFilename] [-DO]
ExIfcVectorize <filename> <stlFilename> [<-DO>]
filename
|
The full path to the .ifc file. The geometry from this file will be written into the specified .stl file. |
stlFileName
|
The full path to the output .stl file. |
DO
|
An optional parameter that determines whether the progress meter output should be disabled (if specified) or not (if not specified). |
This picture shows the application output when it was correclty run. As you can see, the application dumps the geometry elements added to the output .stl file.
The picture below illustrates the situations when the run command is incorrect (for example one or more input parameters are not specified):
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|