Skip to content

A bunch of handy script utilities relating to the .b3dm format.

License

Notifications You must be signed in to change notification settings

boblyx/pyb3dmutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

python b3dm2glTF.py -i myFolder -o anotherFolder

b3dm2glTF automatically creates a new folder if an output path is not supplied.

Releases

No releases published

Packages

No packages published

Languages