npm.io
1.0.1 • Published 6 years ago

bpx-generator

Licence
MIT
Version
1.0.1
Deps
0
Size
4 kB
Vulns
0
Weekly
0

Install

NPM

npm install bpx

Yarn

yarn add bpx

Example

let BPX = require('bpx-generator');
let bpx = BPX({
    saveName: "Test",
    rotation: 0
});

bpx.Part(
    "6w Fairing", {
        x: 9.0,
        y: 61.0
    }, {
        x: -1,
        y: 1,
        z: 0
    }, "1");

bpx.Part(
    "6w Fairing", {
        x: 9.0,
        y: 61.0
    }, {
        x: -1,
        y: 1,
        z: 0
    }, '0');

console.log(bpx.output)