Package Exports
- ifc-convert
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ifc-convert) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#Ifc converter for Node.js
A simple 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.dea', function(err) {
//Now you have a Collada file;)
});
ifcConvert('source.ifc', 'dest.obj', function(err) {
//Now you have a Wavefront OBJ file with an .mtl file
});
ifcConvert('source.ifc', 'dest.stp', function(err) {
//Now you have a STEP file
});
ifcConvert('source.ifc', 'dest.igs', function(err) {
//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.dea', {path: 'path/to/bin'}, function(err) {
//Done
})