bombastic-ifc

0.0.2 • Public • Published

Bombastic Logo

Bombastic

NPM package badge Build status badge License badge

Bombastic is in early stages of development. Until a major version is released, incompatibility changes may occur. If you have a feature proposal, found incorrect behavior or any suggestion, please consider filing an issue.

Bombastic creates Bill of Materials (BoM) documents from Industry Foundation Classes (IFC) files.

Features

Bombastic also has the following features in its near-term roadmap:

  • PDF BoM format support.
  • Improved UX for bombastic-cli.
  • Documentation website.
  • Improved, configurable UI BoM templates.
  • Support for IFC4 ADD2 TC1 and IFC 4.3 ADD2 specifications.

Getting started

Installation

Installing the command line tool

Currently, the command-line tool is only supported in Linux-x86_64. Support for more systems and architectures will arrive gradually, based on ease of integration and community demand.

The command-line tool is available for download in the latest bombastic-cli release.

Installing the npm dependency

Adding the npm dependency to your package is performed differently depending on your package manager.

Popular choices are:

# npm
npm install bombastic-ifc

# Yarn
yarn add bombastic-ifc

# pnpm
yarn add bombastic-ifc

# Bun
bun add bombastic-ifc

Generating BoM documents

The following examples feature how to use an IFC file, example.ifc to generate an HTML BoM report, example_bom.html.

Using the command line tool

bombastic -i example.ifc -f html -o example_bom.html

Using the npm dependency

import { BOMGenerator } from "bombastic-ifc";

// Instantiate the BoM generator
const generator = BOMGenerator();

// Generate BoM document file
generator.generate("example.ifc", "html", "example_bom.html");

Package Sidebar

Install

npm i bombastic-ifc

Weekly Downloads

4

Version

0.0.2

License

MIT

Unpacked Size

11.2 MB

Total Files

21

Last publish

Collaborators

  • oxcabe