0.3.2 • Published 8 months ago

@dxfjs/parser v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

parser

A dxf parser it parse dxf content to a readable javascript object.

CI

Installation

pnpm add @dxfjs/parser

Get started

const { Parser } = require('@dxfjs/parser')
const content = '...' // The dxf content
const parser = new Parser()
parser
    .parse(content)
    .then((obj) => {
        console.log(obj)
        // ...
    })
    .catch((error) => console.error(error))

Progress

  • Parse HEADER section.
  • Parse CLASSES section.
  • Parse TABLES section.
  • Parse BLOCKS section.
  • Parse ENTITIES section.

    • 3DFACE
    • 3DSOLID
    • ARC
    • CIRCLE
    • ELLIPSE
    • HATCH
    • INSERT
    • LINE
    • LWPOLYLINE
    • POINT
    • POLYLINE
    • SOLID
    • SPLINE
    • TEXT

  • Parse OBJECTS section.

0.3.0

8 months ago

0.3.2

8 months ago

0.3.1

8 months ago

0.1.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago