desi76 0.1.7 → 0.1.8

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 +5 -5
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1014,16 +1014,16 @@ function pGeom3(t, param, suffix = "") {
1014
1014
  const pl3Sy = Math.min(pl3Sx * Math.tan(Ra), 2 * H32 - 1);
1015
1015
  const pl6Qe = param.dtQe;
1016
1016
  const pl6Qe2 = pl6Qe / 2;
1017
- const pl6bL = lb + 2 * (param.W5bs + param.dtF - param.U1);
1017
+ const pl6bL = lb + 2 * (param.dtF - param.U1);
1018
1018
  const pl6bH = param.dtQ - topYmid;
1019
1019
  const pl6da = Math.atan2(param.dtX, param.dtY);
1020
1020
  const pl6Q21 = param.dtQ * Math.tan(pl6da);
1021
1021
  const pl6Q22 = param.dtW / Math.cos(pl6da);
1022
1022
  const pl6Q23 = pl6Q22 - pl6Q21;
1023
- const pl6Q1 = l5W + pl6Qe;
1024
- const pl6Q2 = param.dtX + pl6Q21 - pl6Qe;
1023
+ const pl6Q1 = param.W1b - 2 * param.U1 + pl6Qe;
1024
+ const pl6Q2 = param.dtX + param.W5bs + pl6Q21 - pl6Qe;
1025
1025
  const pl6Q3 = pl6Q23 + pl6Qe;
1026
- const pl6Q4 = param.Lb + 2 * (param.U1 - pl6Q2 - pl6Q3 - param.W5bs) - pl6Qe;
1026
+ const pl6Q4 = param.Lb + 2 * (param.U1 - pl6Q2 - pl6Q3) - pl6Qe;
1027
1027
  const pldtPe = param.dtPe;
1028
1028
  const pldtPe2 = pldtPe / 2;
1029
1029
  const pldtP1 = param.dtP / Math.tan(pl6da);
@@ -1138,7 +1138,7 @@ function pGeom3(t, param, suffix = "") {
1138
1138
  } else {
1139
1139
  figSouth.addSecond(ctrPlank2EE2(-W3U1, param.H1));
1140
1140
  }
1141
- figSouth.addSecond(ctrPlank6b2(param.U1 - param.W5bs - param.dtF, ptPl6y0 - param.dtQ));
1141
+ figSouth.addSecond(ctrPlank6b2(param.U1 - param.dtF, ptPl6y0 - param.dtQ));
1142
1142
  for (let ii = 0; ii < param.Nb1 - 1; ii++) {
1143
1143
  const ix = ii * stepX + W1b2 + l5W / 2;
1144
1144
  const yy0 = ptPl6y0 - param.dtQ - param.dtY;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desi76",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "A collection of 3D-designs",
5
5
  "private": false,
6
6
  "repository": {
@@ -62,16 +62,16 @@
62
62
  "devDependencies": {
63
63
  "@eslint/js": "^9.10.0",
64
64
  "@types/eslint__js": "^8.42.3",
65
- "esbuild": "^0.25.11",
66
- "eslint": "^9.38.0",
65
+ "esbuild": "^0.25.12",
66
+ "eslint": "^9.39.1",
67
67
  "eslint-config-prettier": "^10.1.8",
68
68
  "npm-run-all2": "^8.0.4",
69
69
  "prettier": "^3.6.2",
70
- "rimraf": "^6.0.1",
70
+ "rimraf": "^6.1.0",
71
71
  "svgo": "^4.0.0",
72
72
  "tsup": "^8.5.0",
73
73
  "typescript": "^5.9.3",
74
- "typescript-eslint": "^8.46.2",
75
- "vitest": "^4.0.5"
74
+ "typescript-eslint": "^8.46.3",
75
+ "vitest": "^4.0.7"
76
76
  }
77
77
  }