Skip to content

Commit

Permalink
fix(arc): fix the order of extrusion tags (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarikjabiri authored Aug 21, 2024
1 parent 58ef455 commit ec99f85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "@tarikjabiri/dxf",
"version": "3.0.0-alpha.8",
"version": "3.0.0-alpha.13",
"type": "module",
"description": "A DXF writer written in TypeScript.",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"repository": "https://github.com/dxfjs/writer",
"repository": {
"type": "git",
"url": "git+https://github.com/dxfjs/writer.git"
},
"author": "Tarik EL JABIRI",
"license": "MIT",
"homepage": "https://dxf.vercel.app",
Expand Down
2 changes: 1 addition & 1 deletion src/entities/arc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ export class Arc extends Entity {
mg.add(39, this.thickness);
mg.point(this.center);
mg.add(40, this.radius);
mg.point(this.extrusion, 200);
mg.add(100, "AcDbArc");
mg.add(50, this.startAngle);
mg.add(51, this.endAngle);
mg.point(this.extrusion, 200);
}
}

0 comments on commit ec99f85

Please sign in to comment.