ifc-converter
v0.6.1
Published
ifc converter package with embedded x64 binaries for windows, linux and macOS
Downloads
31
Maintainers
Readme
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 │
└───────┴───────────────┴───────────────────────────────────────────┴
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
});