1.2.0 • Published 7 years ago

ifc-convert v1.2.0

Weekly downloads
78
License
MIT
Repository
github
Last release
7 years ago

#Ifc converter for Node.js

A simple promised based wrapper for the IfcConvert program for node.

#Requirements

  • IfcConvert, Installation instructions and binaries can be found at the ifcOpenShell page.

#Usage

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

ifcConvert('source.ifc', 'dest.dae')
    .then(function() {
        //Now you have a Collada file;)
    });

ifcConvert('source.ifc', 'dest.obj')
    .then(function() {
        //Now you have a Wavefront OBJ file with an .mtl file
    });

ifcConvert('source.ifc', 'dest.stp')
    .then(function() {
        //Now you have a STEP file
    });

ifcConvert('source.ifc', 'dest.igs')
    .then(function() {
        //Now you have a IGES file
    });

#Options

If you do not have IfcConvert in your path you can give it in options.

ifcConvert('source.ifc', 'dest.dae', {path: 'path/to/bin'})
    .then(function() {
        //Done
    });
1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

9 years ago

0.0.0

10 years ago