0.2.1 • Published 9 months ago

zmbx2gltf v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

zmbx2gltf

a tool and a library to convert MecaBricks .zmbx files to GlTF

Node.js usage

import { convertZmbxToGltf } from "zmbx2gltf";
import { readFile, writeFile } from "fs/promises";

async function main() {
  const inputFile = await readFile("input.zmbx");
  const gltf = await convertZmbxToGltf(inputFile);
  await writeFile("output.gltf", JSON.stringify(gltf));
}

CLI usage

zmbx2gltf <input.zmbx> <output.gltf>

Browser usage

Global Zmbx2Gltf.convertZmbxToGltf and Zmbx2Gltf.convertMbxToGltf functions.

0.2.1

9 months ago

0.2.0

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago