JavaScript DXF writer
Simple DXF writer.
Installing
npm install dxf-writer
Supported entities:
- arc
- circle
- line
- point
- polyline
- text
- 3DFace
Supported colors:
- red
- green
- cyan
- blue
- magenta
- white
Line types
3 line type out of the box (CONTINUOUS, DASHED, DOTTED) with the ability to add a custom line type.
let d = ;d;
Example
const Drawing = ;const fs = ; let d = ; d; // draw text in the default layer named "0"d;d;d; //or fluentd ; fs;
Example preview in the LibreCAD: