Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ExIfcVectorize Sample Application

Summary

ODA Product: IFC SDK
Sample Name: ExIfcVectorize
Source Code Location: Ifc/Examples/Vectorize

Description

The ExIfcVectorize sample application accepts an input .ifc file and converts the geometry from it into a specified .stl file.

Run Sample Application

To run the ExIfcVectorize sample application, please do the following:

  1. Open the terminal window and go to the directory where the sample binary file is allocated:
    • For Windows® platforms: <IFC_DIR>\exe\<version>
    • For Non-Windows platforms: <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.

  2. Run the sample with appropriate parameters:
    
                [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):

See Also

IFC SDK Sample Applications

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.