ifc2osm

Crates.ioifc2osm
lib.rsifc2osm
version0.1.0
sourcesrc
created_at2024-11-19 00:38:52.161177
updated_at2024-11-19 00:38:52.161177
descriptionConvert IFC CAD files to osm for simpler importing
homepage
repositoryhttps://github.com/TUM-Dev/navigatum
max_upload_size
id1452780
size33,873
Frank Elsinga (CommanderStorm)

documentation

README

ifc2osm

ifc2osm is a Rust-based tool to convert CAD files from the IFC format to OSM format.

Installation

To install ifc2osm, ensure you have Rust installed. Then, run:

cargo install --git https://github.com/yourusername/ifc2osm

Usage

After installation, you can use the ifc2osm command:

ifc2osm [OPTIONS] <FLOOR_LEVEL> <PATH>

Arguments:

  • <FLOOR_LEVEL> floor level to assign to most of the structure
  • <PATH> path to the file to read

Options:

  • --floor-name <NAME> name of the FLOOR_LEVEL
  • -v, --verbose Increase the verbosity. Can be Repeated multiple times
  • -h, --help Print help

Development

Contributions are welcome! Please open an issue or submit a pull request to discuss what you need/want changed how.

To start contributing, clone the repository:

git clone https://github.com/TUM-Dev/navigatum.git
cd NavigaTUM/ifc2osm

Build and test the project:

cargo build
cargo test

To run the program locally:

cargo run -- 3 ./example.ifc --floor-name "Third Floor"
Commit count: 3368

cargo fmt