geometrix 0.5.40 → 0.5.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -3858,7 +3858,7 @@ print(f"outFileName: {outFileName}")
3858
3858
  }
3859
3859
  rStr += ` VEX = FIG.extrude(App.Vector(0, 0, ${extrud.length}))`;
3860
3860
  } else if (extrud.extrudeMethod === 1 /* eRotate */) {
3861
- rStr += ` VEX = FIG.rotate(App.Vector(0, 0, 0), App.Vector(1, 0, 0), 90).revolve(App.Vector(0, 0, 0), App.Vector(0, 0, 1), 360)`;
3861
+ rStr += ` VEX = FIG.revolve(App.Vector(0, 0, 0), App.Vector(0, 1, 0), 360).rotate(App.Vector(0, 0, 0), App.Vector(1, 0, 0), 90)`;
3862
3862
  }
3863
3863
  rStr += `
3864
3864
  VR1 = VEX.rotate(App.Vector(0, 0, 0), App.Vector(1, 0, 0), ${radToDeg(extrud.rotate[0])})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geometrix",
3
- "version": "0.5.40",
3
+ "version": "0.5.41",
4
4
  "description": "The 2D geometry engine of the parametrix",
5
5
  "private": false,
6
6
  "repository": {
@@ -67,7 +67,7 @@
67
67
  "json5": "^2.2.3"
68
68
  },
69
69
  "devDependencies": {
70
- "@types/node": "^20.13.0",
70
+ "@types/node": "^20.14.0",
71
71
  "@typescript-eslint/eslint-plugin": "^7.0.1",
72
72
  "@typescript-eslint/parser": "^7.0.1",
73
73
  "eslint": "^8.57.0",
@@ -75,7 +75,7 @@
75
75
  "npm-run-all": "^4.1.5",
76
76
  "prettier": "^3.3.0",
77
77
  "shx": "^0.3.4",
78
- "tsup": "^8.0.2",
78
+ "tsup": "^8.1.0",
79
79
  "typescript": "^5.4.5",
80
80
  "vitest": "^1.6.0"
81
81
  }