| Crates.io | ifc2osm |
| lib.rs | ifc2osm |
| version | 0.1.0 |
| created_at | 2024-11-19 00:38:52.161177+00 |
| updated_at | 2024-11-19 00:38:52.161177+00 |
| description | Convert IFC CAD files to osm for simpler importing |
| homepage | |
| repository | https://github.com/TUM-Dev/navigatum |
| max_upload_size | |
| id | 1452780 |
| size | 33,873 |
ifc2osm is a Rust-based tool to convert CAD files from the IFC format to OSM format.
To install ifc2osm, ensure you have Rust installed. Then, run:
cargo install --git https://github.com/yourusername/ifc2osm
After installation, you can use the ifc2osm command:
ifc2osm [OPTIONS] <FLOOR_LEVEL> <PATH>
<FLOOR_LEVEL> floor level to assign to most of the structure<PATH> path to the file to read--floor-name <NAME> name of the FLOOR_LEVEL-v, --verbose Increase the verbosity. Can be Repeated multiple times-h, --help Print helpContributions 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"