node-dxf-to-png

Transform a DXF into a PNG

npm install node-dxf-to-png
2 downloads in the last day
6 downloads in the last week
13 downloads in the last month

node-dxf-to-png

DXF to PNG node module and command line tool.

usage

dxftopng(__dirname+'/data/test.dxf', {width: 300, usemapping: true}, function (err, pngbuff) {
    // do something with the buffer
});

mapping uses the node-dxf text mapping algorithm for text elements.

$ node-dxf-to-png -i test/data/test.dxf -w 400 -m true -o mydxfas.png
npm loves you