Skip to content

Commit ec99f85

Browse files
authored
fix(arc): fix the order of extrusion tags (#180)
1 parent 58ef455 commit ec99f85

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"name": "@tarikjabiri/dxf",
3-
"version": "3.0.0-alpha.8",
3+
"version": "3.0.0-alpha.13",
44
"type": "module",
55
"description": "A DXF writer written in TypeScript.",
66
"main": "./lib/index.cjs",
77
"module": "./lib/index.js",
88
"types": "./lib/index.d.ts",
9-
"repository": "https://github.com/dxfjs/writer",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/dxfjs/writer.git"
12+
},
1013
"author": "Tarik EL JABIRI",
1114
"license": "MIT",
1215
"homepage": "https://dxf.vercel.app",

src/entities/arc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ export class Arc extends Entity {
4242
mg.add(39, this.thickness);
4343
mg.point(this.center);
4444
mg.add(40, this.radius);
45+
mg.point(this.extrusion, 200);
4546
mg.add(100, "AcDbArc");
4647
mg.add(50, this.startAngle);
4748
mg.add(51, this.endAngle);
48-
mg.point(this.extrusion, 200);
4949
}
5050
}

0 commit comments

Comments
 (0)