boblyx / pyb3dmutils

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:GNU General Public License v2.0


Languages

Language:Python 100.0%