https://github.com/boblyx/pyb3dmutils
A bunch of handy script utilities relating to the .b3dm format.
https://github.com/boblyx/pyb3dmutils
3d-tiles 3dtiles b3dm converter glb gltf gltf2 python tileset
Last synced: 2 days ago
JSON representation
A bunch of handy script utilities relating to the .b3dm format.
- Host: GitHub
- URL: https://github.com/boblyx/pyb3dmutils
- Owner: boblyx
- License: gpl-2.0
- Created: 2023-06-22T11:00:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T05:56:32.000Z (over 2 years ago)
- Last Synced: 2025-01-23T20:17:11.760Z (9 months ago)
- Topics: 3d-tiles, 3dtiles, b3dm, converter, glb, gltf, gltf2, python, tileset
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# pyb3dmutils
A bunch (currently only one) of handy script utilities relating to b3dm.## Features
- Individual & batch conversion of .b3dm into glTF 2.0 format.
- Output associated .glb, .bin and .json files (.json files contain the b3dm header under the "data" property)## Installation
```bash
git clone https://github.com/boblyx/pyb3dmutils.git
cd pyb3dmutils
pip install -r requirements.txt
```
## Usage
### Convert a .b3dm file into a .glTF file to a specific folder
```bash
python b3dm2glTF.py -i file.b3dm -o myFolder
```b3dm2glTF resolves output to the folder where the input file is if output path is not supplied.
### Convert a folder containing .b3dm files into another folder of .glTF files
```bash
python b3dm2glTF.py -i myFolder -o anotherFolder
```b3dm2glTF automatically creates a new folder if an output path is not supplied.