A Javascript dxf generator, written in Typescript.
yarn add @tarikjabiri/dxf
# Or npm
npm i @tarikjabiri/dxf
# Or pnpm
pnpm add @tarikjabiri/dxf
import { DxfWriter, point3d } from "@tarikjabiri/dxf";
const dxf = new DxfWriter();
dxf.addLine(point3d(0, 0), point3d(100, 100));
// To get the dxf string just call the stringify() method
const dxfString = dxf.stringify();
![Slate](https://github.com/weareslate.png?raw=true)
![Slate](https://github.com/Autodrop3d.png?raw=true)
![Mikey](https://github.com/ahdinosaur.png?raw=true)