designix 0.5.42 → 0.5.43

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 +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1766,7 +1766,8 @@ function pGeom3(t, param, suffix = "") {
1766
1766
  rGeome.logstr += `vaxis_holder D2-next: ${ffix5(2 * R2next)} mm
1767
1767
  `;
1768
1768
  const ctrOuter = function(rnl) {
1769
- const rCtr = contour5(rnl * R5, -param.PHE1 / 2).addSegStrokeR(rnl * (innerR1 - R5), 0).addSegStrokeRP(-Math.PI / 2 + rnl * outerA, innerL2).addSegStrokeRP(-Math.PI / 2 + rnl * (Math.PI / 2 + outerA), param.PHE2).addSegStrokeRP(Math.PI / 2 + rnl * outerA, param.PHL1).addSegStrokeRP(Math.PI / 2 + rnl * (Math.PI / 2 + outerA), param.PHE2).addSegStrokeRP(-Math.PI / 2 + rnl * outerA, innerL2).addSegStrokeA(rnl * R5, param.PHE1 / 2).closeSegStroke();
1769
+ const R5b = R5 + (innerR1 - R5) / 2;
1770
+ const rCtr = contour5(rnl * R5b, -param.PHE1 / 2).addSegStrokeR(rnl * (innerR1 - R5b), 0).addSegStrokeRP(-Math.PI / 2 + rnl * outerA, innerL2).addSegStrokeRP(-Math.PI / 2 + rnl * (Math.PI / 2 + outerA), param.PHE2).addSegStrokeRP(Math.PI / 2 + rnl * outerA, param.PHL1).addSegStrokeRP(Math.PI / 2 + rnl * (Math.PI / 2 + outerA), param.PHE2).addSegStrokeRP(-Math.PI / 2 + rnl * outerA, innerL2).addSegStrokeA(rnl * R5b, param.PHE1 / 2).closeSegStroke();
1770
1771
  return rCtr;
1771
1772
  };
1772
1773
  const ctrLeg = function(rnl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "designix",
3
- "version": "0.5.42",
3
+ "version": "0.5.43",
4
4
  "description": "The first designs made with parametrix",
5
5
  "private": false,
6
6
  "repository": {
@@ -72,7 +72,7 @@
72
72
  "clean": "shx rm -fr dist dist2 node_modules"
73
73
  },
74
74
  "dependencies": {
75
- "geometrix": "^0.5.40"
75
+ "geometrix": "^0.5.41"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@typescript-eslint/eslint-plugin": "^7.0.1",