Philipp-p / IfcSTEP-to-IfcOWL-converters

Roundtrip converters from IFC STEP files to IfcOWL RDF files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IfcSTEP-to-IfcOWL_converters

Roundtrip converters to convert IFC STEP files to IfcOWL RDF files and back, following the buildingSMART ifcOWL candidate standard. The IfcSTEP-to-IfcOWL converter is based on the code in https://github.com/pipauwel/IFCtoRDF. They support all the current major IFC versions, including: IFC2X3_TC1, IFC2X3_FINAL, IFC4, IFC4_ADD1, IFC4_ADD2, and IFC4X1_RC3. Converters are compiled in the JAR folder, with command line interface.

Command Line interface

IfcSTEP-to-IfcOWL converter

java -jar IfcSTEP2IfcOWL.jar <input.ifc> <output.xxx> [options]
 -b,--baseuri <uri>               set base uri for converted RDF instances
 -e,--expid                        use express id as a separate property for
                                    IFC object resources (by default express
                                    id is only baked into URI names of IFC
                                    object resources)
 -l,--log                          generate log file
 -m,--merge                        merge duplicated objects (it might make
                                    roundtrip IFC file have less objects)
 -u,--updns                        update ifcOWL namespaces using namespaces
                                    in referenced TTL ifcOWL files (only make
                                    sense if namespaces in TTL file changed)
 -v,--version <version>           manually set used schema version
                                    (available values are
                                    "IFC2X3_TC1","IFC2X3_FINAL","IFC4","IFC4X
                                    1_RC3","IFC4_ADD1","IFC4_ADD2")

IfcOWL-to-IfcSTEP

java -jar IfcOWL2IfcSTEP.jar <input.xxx> <output.ifc> [options]
 -l,--logfile                generate log file
 -u,--updns                  whether using update namespaces in ifcOWL files
                              in resources folder
 -v,--version <version>     specify IFC schema version, if not specified,
                              use default one parsed from model.

About

Roundtrip converters from IFC STEP files to IfcOWL RDF files

License:Apache License 2.0


Languages

Language:Java 100.0%