ifc-converter

0.6.1 • Public • Published

Buy Me a Coffee at ko-fi.com

Ifc Converter

Ifc Converter is a ready to use wrapper of ifcConvert that is promise-based.
It already bundles the ifcConvert binaries at version 0.6.0 for linux, windows and osx.

The binaries are packed with upx for smaller size.

Supported extensions

┌───────┬───────────────┬───────────────────────────────────────────┐
│- .obj │ WaveFront OBJ │(a .mtl file is also created)              │
│- .dae │ Collada       │Digital Assets Exchange                    │
│- .glb │ glTF          │Binary glTF v2.0                           │
│- .stp │ STEP          │Standard for the Exchange of Product Data  │
│- .igs │ IGES          │Initial Graphics Exchange Specification    │
│- .xml │ XML           │Property definitions and decomposition tree│
│- .svg │ SVG           │Scalable Vector Graphics (2D floor plan)   │
│- .ifc │ IFC-SPF       │Industry Foundation Classes                │
└───────┴───────────────┴───────────────────────────────────────────┴

IfcOpenShell IfcConvert page

Usage

const ifcConvert = require('ifc-convert');

ifcConvert('source.ifc', 'dest.glb')
    .then(function() {
        // the file is converted to glb
    }).catch((error) => {
        // instance of a Error containing the 
        // message extracted from ifcConvert binary
    });

Package Sidebar

Install

npm i ifc-converter

Weekly Downloads

2

Version

0.6.1

License

LGPL

Unpacked Size

52.9 MB

Total Files

16

Last publish

Collaborators

  • italobechepeche