@tarikjabiri/dxf
Version:
A JavaScript interface to Dxf written in TypeScript.
54 lines (40 loc) • 2.29 kB
Markdown
# writer [](https://openbase.com/js/@tarikjabiri/dxf?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)
A Javascript dxf generator, written in Typescript.


[](https://codecov.io/gh/dxfjs/writer)



<!--[Image entity scale and rotation](https://stackoverflow.com/questions/20521807/dxf-image-entity-group-code-explanation) explanation.-->
## Installation
```bash
yarn add @tarikjabiri/dxf
# Or npm
npm i @tarikjabiri/dxf
# Or pnpm
pnpm add @tarikjabiri/dxf
```
## Getting started
```javascript
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();
```
## More informations
- [Documentation](https://dxf.vercel.app/)
## Sponsors
<a href="https://www.archilogic.com/" style="display: inline-block">
<img width="48" src="https://avatars.githubusercontent.com/u/6620048?s=200&v=4" style="width:48px" alt="Archilogic | Interior space for the digital world">
</a>
<a href="https://github.com/weareslate" style="display: inline-block; margin-left: 20px">
<img width="48" src="https://github.com/weareslate.png" style="width:48px" alt="Slate">
</a>
<a href="https://github.com/Autodrop3d" style="display: inline-block; margin-left: 20px">
<img width="48" src="https://github.com/Autodrop3d.png" style="width:48px" alt="Slate">
</a>
<a href="https://mikey.nz/" style="display: inline-block; margin-left: 20px">
<img width="48" src="https://github.com/ahdinosaur.png" style="width:48px" alt="Mikey">
</a>