desi76 0.1.8 → 0.1.10
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.
- package/dist/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -702,7 +702,7 @@ function pGeom3(t, param, suffix = "") {
|
|
|
702
702
|
const l4y0 = param.B4 / Math.cos(Ra);
|
|
703
703
|
const l3x0 = H32 + H32 / Math.tan(Ra) + W42 / Math.sin(Ra);
|
|
704
704
|
const l3x1 = param.JaSouth + param.W1a + laSouth + topXlow - W52 - l3x0;
|
|
705
|
-
const l4x2 = l3x1 * Math.cos(Ra);
|
|
705
|
+
const l4x2 = l3x1 * Math.cos(Ra) + l81y * Math.sin(Ra);
|
|
706
706
|
const l4x1 = W42 / Math.tan(Ra) + H32 / Math.sin(Ra);
|
|
707
707
|
const l4x3 = param.ReS - l4x0 + l4x1 + l4x2 - param.W8 - param.S4e2 / 2;
|
|
708
708
|
const l4x4 = param.W8 + param.S4e2;
|
|
@@ -730,7 +730,7 @@ function pGeom3(t, param, suffix = "") {
|
|
|
730
730
|
const l4y0 = param.B4 / Math.cos(RaNorth);
|
|
731
731
|
const l3x0 = H32 + H32 / Math.tan(RaNorth) + W42 / Math.sin(RaNorth);
|
|
732
732
|
const l3x1 = param.JaNorth + param.W1a + laNorth - topXlow - W52 - l3x0;
|
|
733
|
-
const l4x2 = l3x1 * Math.cos(RaNorth);
|
|
733
|
+
const l4x2 = l3x1 * Math.cos(RaNorth) + l81y * Math.sin(RaNorth);
|
|
734
734
|
const l4x1 = W42 / Math.tan(RaNorth) + H32 / Math.sin(RaNorth);
|
|
735
735
|
const l4x3 = param.ReN - l4x0 + l4x1 + l4x2 - param.W8 - param.S4e2 / 2;
|
|
736
736
|
const l4x4 = param.W8 + param.S4e2;
|
|
@@ -761,7 +761,7 @@ function pGeom3(t, param, suffix = "") {
|
|
|
761
761
|
const rCtr = ctrPlank5a2(ix - pl5Lbottom, iy - param.W5a).rotate(ix, iy, pi2);
|
|
762
762
|
return rCtr;
|
|
763
763
|
}, ctrPlank5b2 = function(ix, iy) {
|
|
764
|
-
const l8h =
|
|
764
|
+
const l8h = pl5Nl + pl5Ny;
|
|
765
765
|
const lx1 = l8h + lp5p6 - param.dtQ - param.dtY - pldtP2 - pldtPe2;
|
|
766
766
|
const lx2 = l8h - lx1 - pldtP3;
|
|
767
767
|
const rCtr = contour3(ix, iy + param.W5bs).addSegStrokeR(l5l, 0).addSegStrokeR(0, -param.W5bs).addSegStrokeR(lx1, 0).addSegStrokeR(0, param.dtP).addSegStrokeR(pldtP3, 0).addSegStrokeR(0, -param.dtP).addSegStrokeR(lx2, 0).addSegStrokeR(0, l5W).addSegStrokeR(-lx2, 0).addSegStrokeR(0, -param.dtP).addSegStrokeR(-pldtP3, 0).addSegStrokeR(0, param.dtP).addSegStrokeR(-lx1, 0).addSegStrokeR(0, -param.W5bs).addSegStrokeR(-l5l, 0).closeSegStroke();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desi76",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "A collection of 3D-designs",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@eslint/js": "^9.10.0",
|
|
64
64
|
"@types/eslint__js": "^8.42.3",
|
|
65
|
-
"esbuild": "^0.
|
|
65
|
+
"esbuild": "^0.27.0",
|
|
66
66
|
"eslint": "^9.39.1",
|
|
67
67
|
"eslint-config-prettier": "^10.1.8",
|
|
68
68
|
"npm-run-all2": "^8.0.4",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
"tsup": "^8.5.0",
|
|
73
73
|
"typescript": "^5.9.3",
|
|
74
74
|
"typescript-eslint": "^8.46.3",
|
|
75
|
-
"vitest": "^4.0.
|
|
75
|
+
"vitest": "^4.0.8"
|
|
76
76
|
}
|
|
77
77
|
}
|