dxf-handler
Parse DXF file, analyze and convert to SVG
Script computes:
- area (for every shape and main shape)
- perimeter (for every shape and summary)
- width and height of bounding rectangle
Script creates SVG file
Usage
- Create folders
svg
anddata
in folder wheredxf
file located. - Run
dxf-handler
and specify source file with-f
option:
node build\dxf-handler.js -f samples\sample2.dxf
Result:
- svg file will be placed in
svg
folder with the same name - info json file will be places in
data
folder with the same name