desi77 0.1.30 → 0.1.31

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.d.ts CHANGED
@@ -1,87 +1,30 @@
1
1
  import { tPageDef } from "geometrix";
2
- //#region src/stone/door1arc.d.ts
3
2
  declare const door1arcDef: tPageDef;
4
- //#endregion
5
- //#region src/stone/stoneTower.d.ts
6
3
  declare const stoneTowerDef: tPageDef;
7
- //#endregion
8
- //#region src/stone/house.d.ts
9
4
  declare const houseDef: tPageDef;
10
- //#endregion
11
- //#region src/stone/factory.d.ts
12
5
  declare const factoryDef: tPageDef;
13
- //#endregion
14
- //#region src/spring/springTorqueA.d.ts
15
6
  declare const springTorqueADef: tPageDef;
16
- //#endregion
17
- //#region src/spring/plugTorque.d.ts
18
7
  declare const plugTorqueDef: tPageDef;
19
- //#endregion
20
- //#region src/spring/springTorqueB.d.ts
21
8
  declare const springTorqueBDef: tPageDef;
22
- //#endregion
23
- //#region src/spring/springTorqueC.d.ts
24
9
  declare const springTorqueCDef: tPageDef;
25
- //#endregion
26
- //#region src/spring/springWorm.d.ts
27
10
  declare const springWormDef: tPageDef;
28
- //#endregion
29
- //#region src/spring/springOne.d.ts
30
11
  declare const springOneDef: tPageDef;
31
- //#endregion
32
- //#region src/spring/springSide.d.ts
33
12
  declare const springSideDef: tPageDef;
34
- //#endregion
35
- //#region src/spring/springInt.d.ts
36
13
  declare const springIntDef: tPageDef;
37
- //#endregion
38
- //#region src/heliostat/heliostat.d.ts
39
14
  declare const heliostatDef: tPageDef;
40
- //#endregion
41
- //#region src/heliostat/minifoot.d.ts
42
15
  declare const minifootDef: tPageDef;
43
- //#endregion
44
- //#region src/heliostat/minihelio.d.ts
45
16
  declare const minihelioDef: tPageDef;
46
- //#endregion
47
- //#region src/heliostat/minimir.d.ts
48
17
  declare const minimirDef: tPageDef;
49
- //#endregion
50
- //#region src/rccar/rccar.d.ts
51
18
  declare const rccarDef: tPageDef;
52
- //#endregion
53
- //#region src/rccar/singleBone.d.ts
54
19
  declare const singleBoneDef: tPageDef;
55
- //#endregion
56
- //#region src/rccar/doubleBone.d.ts
57
20
  declare const doubleBoneDef: tPageDef;
58
- //#endregion
59
- //#region src/rccar/pcar.d.ts
60
21
  declare const pcarDef: tPageDef;
61
- //#endregion
62
- //#region src/capsule/capsule.d.ts
63
22
  declare const capsuleDef: tPageDef;
64
- //#endregion
65
- //#region src/capsule/tunnel.d.ts
66
23
  declare const tunnelDef: tPageDef;
67
- //#endregion
68
- //#region src/capsule/bridge.d.ts
69
24
  declare const bridgeDef: tPageDef;
70
- //#endregion
71
- //#region src/capsule/trackXY.d.ts
72
25
  declare const trackXYDef: tPageDef;
73
- //#endregion
74
- //#region src/capsule/trackXZ.d.ts
75
26
  declare const trackXZDef: tPageDef;
76
- //#endregion
77
- //#region src/sysmix/square.d.ts
78
27
  declare const squareDef: tPageDef;
79
- //#endregion
80
- //#region src/sysmix/triangle.d.ts
81
28
  declare const triangleDef: tPageDef;
82
- //#endregion
83
- //#region src/sysmix/cylinder.d.ts
84
29
  declare const cylinderDef: tPageDef;
85
- //#endregion
86
- export { bridgeDef, capsuleDef, cylinderDef, door1arcDef, doubleBoneDef, factoryDef, heliostatDef, houseDef, minifootDef, minihelioDef, minimirDef, pcarDef, plugTorqueDef, rccarDef, singleBoneDef, springIntDef, springOneDef, springSideDef, springTorqueADef, springTorqueBDef, springTorqueCDef, springWormDef, squareDef, stoneTowerDef, trackXYDef, trackXZDef, triangleDef, tunnelDef };
87
- //# sourceMappingURL=index.d.ts.map
30
+ export { bridgeDef, capsuleDef, cylinderDef, door1arcDef, doubleBoneDef, factoryDef, heliostatDef, houseDef, minifootDef, minihelioDef, minimirDef, pcarDef, plugTorqueDef, rccarDef, singleBoneDef, springIntDef, springOneDef, springSideDef, springTorqueADef, springTorqueBDef, springTorqueCDef, springWormDef, squareDef, stoneTowerDef, trackXYDef, trackXZDef, triangleDef, tunnelDef };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { EBVolume, EExtrude, ShapePoint, contour, contourCircle, ctrRectangle, degToRad, ffix, figure, initGeom, pCheckbox, pDropdown, pNumber, pSectionSeparator, point, radToDeg, transform3d, withinHPiHPi, withinPiPi, withinZeroPi } from "geometrix";
2
2
  import { triALArLL, triALLrL, triALLrLAA, triLALrL, triLLLrA } from "triangule";
3
3
  import { contourJ, facet, facet2figure, sheetFold, tJDir, tJSide } from "sheetfold";
4
- //#region src/stone/door1arc.ts
4
+ // src/stone/door1arc.ts
5
5
  const pDef$27 = {
6
6
  partName: "door1arc",
7
7
  params: [
@@ -216,8 +216,7 @@ const door1arcDef = {
216
216
  pDef: pDef$27,
217
217
  pGeom: pGeom$27
218
218
  };
219
- //#endregion
220
- //#region src/stone/stoneTower.ts
219
+ // src/stone/stoneTower.ts
221
220
  const pDef$26 = {
222
221
  partName: "stoneTower",
223
222
  params: [
@@ -904,8 +903,7 @@ const stoneTowerDef = {
904
903
  pDef: pDef$26,
905
904
  pGeom: pGeom$26
906
905
  };
907
- //#endregion
908
- //#region src/stone/house.ts
906
+ // src/stone/house.ts
909
907
  const pDef$25 = {
910
908
  partName: "house",
911
909
  params: [
@@ -1256,8 +1254,7 @@ const houseDef = {
1256
1254
  pDef: pDef$25,
1257
1255
  pGeom: pGeom$25
1258
1256
  };
1259
- //#endregion
1260
- //#region src/stone/factory.ts
1257
+ // src/stone/factory.ts
1261
1258
  const pDef$24 = {
1262
1259
  partName: "factory",
1263
1260
  params: [
@@ -1879,8 +1876,7 @@ const factoryDef = {
1879
1876
  pDef: pDef$24,
1880
1877
  pGeom: pGeom$24
1881
1878
  };
1882
- //#endregion
1883
- //#region src/spring/springTorqueA.ts
1879
+ // src/spring/springTorqueA.ts
1884
1880
  const pDef$23 = {
1885
1881
  partName: "springTorqueA",
1886
1882
  params: [
@@ -2029,8 +2025,7 @@ const springTorqueADef = {
2029
2025
  pDef: pDef$23,
2030
2026
  pGeom: pGeom$23
2031
2027
  };
2032
- //#endregion
2033
- //#region src/spring/libPlugTorque.ts
2028
+ // src/spring/libPlugTorque.ts
2034
2029
  function ctrPlugExtern(param, RbEmax) {
2035
2030
  let rLog = "";
2036
2031
  const aM = degToRad(param.aM);
@@ -2070,8 +2065,7 @@ function ctrPlugExtern(param, RbEmax) {
2070
2065
  }
2071
2066
  return [ctrToothE, rLog];
2072
2067
  }
2073
- //#endregion
2074
- //#region src/spring/plugTorque.ts
2068
+ // src/spring/plugTorque.ts
2075
2069
  const pDef$22 = {
2076
2070
  partName: "plugTorque",
2077
2071
  params: [
@@ -2322,8 +2316,7 @@ const plugTorqueDef = {
2322
2316
  pDef: pDef$22,
2323
2317
  pGeom: pGeom$22
2324
2318
  };
2325
- //#endregion
2326
- //#region src/spring/springTorqueB.ts
2319
+ // src/spring/springTorqueB.ts
2327
2320
  const pDef$21 = {
2328
2321
  partName: "springTorqueB",
2329
2322
  params: [
@@ -2617,8 +2610,7 @@ const springTorqueBDef = {
2617
2610
  pDef: pDef$21,
2618
2611
  pGeom: pGeom$21
2619
2612
  };
2620
- //#endregion
2621
- //#region src/spring/springTorqueC.ts
2613
+ // src/spring/springTorqueC.ts
2622
2614
  const pDef$20 = {
2623
2615
  partName: "springTorqueC",
2624
2616
  params: [
@@ -2995,8 +2987,7 @@ const springTorqueCDef = {
2995
2987
  pDef: pDef$20,
2996
2988
  pGeom: pGeom$20
2997
2989
  };
2998
- //#endregion
2999
- //#region src/spring/springWorm.ts
2990
+ // src/spring/springWorm.ts
3000
2991
  function makeCtrGroove(x0, y0, xl, yl, roundTop) {
3001
2992
  const xl2 = xl / 2;
3002
2993
  const yl2 = yl - xl2;
@@ -3298,8 +3289,7 @@ const springWormDef = {
3298
3289
  pDef: pDef$19,
3299
3290
  pGeom: pGeom$19
3300
3291
  };
3301
- //#endregion
3302
- //#region src/spring/springOne.ts
3292
+ // src/spring/springOne.ts
3303
3293
  const pDef$18 = {
3304
3294
  partName: "springOne",
3305
3295
  params: [
@@ -3592,8 +3582,7 @@ const springOneDef = {
3592
3582
  pDef: pDef$18,
3593
3583
  pGeom: pGeom$18
3594
3584
  };
3595
- //#endregion
3596
- //#region src/spring/springSide.ts
3585
+ // src/spring/springSide.ts
3597
3586
  const pDef$17 = {
3598
3587
  partName: "springSide",
3599
3588
  params: [
@@ -3908,8 +3897,7 @@ const springSideDef = {
3908
3897
  pDef: pDef$17,
3909
3898
  pGeom: pGeom$17
3910
3899
  };
3911
- //#endregion
3912
- //#region src/spring/springInt.ts
3900
+ // src/spring/springInt.ts
3913
3901
  const pDef$16 = {
3914
3902
  partName: "springInt",
3915
3903
  params: [
@@ -4136,8 +4124,7 @@ const springIntDef = {
4136
4124
  pDef: pDef$16,
4137
4125
  pGeom: pGeom$16
4138
4126
  };
4139
- //#endregion
4140
- //#region src/heliostat/heliostat.ts
4127
+ // src/heliostat/heliostat.ts
4141
4128
  const pDef$15 = {
4142
4129
  partName: "heliostat",
4143
4130
  params: [
@@ -4722,8 +4709,7 @@ const heliostatDef = {
4722
4709
  pDef: pDef$15,
4723
4710
  pGeom: pGeom$15
4724
4711
  };
4725
- //#endregion
4726
- //#region src/heliostat/minifoot.ts
4712
+ // src/heliostat/minifoot.ts
4727
4713
  const pDef$14 = {
4728
4714
  partName: "minifoot",
4729
4715
  params: [
@@ -4887,8 +4873,7 @@ const minifootDef = {
4887
4873
  pDef: pDef$14,
4888
4874
  pGeom: pGeom$14
4889
4875
  };
4890
- //#endregion
4891
- //#region src/heliostat/minihelio.ts
4876
+ // src/heliostat/minihelio.ts
4892
4877
  const pDef$13 = {
4893
4878
  partName: "minihelio",
4894
4879
  params: [
@@ -5558,8 +5543,7 @@ const minihelioDef = {
5558
5543
  pDef: pDef$13,
5559
5544
  pGeom: pGeom$13
5560
5545
  };
5561
- //#endregion
5562
- //#region src/heliostat/minimir.ts
5546
+ // src/heliostat/minimir.ts
5563
5547
  const pDef$12 = {
5564
5548
  partName: "minimir",
5565
5549
  params: [
@@ -5843,8 +5827,7 @@ const minimirDef = {
5843
5827
  pDef: pDef$12,
5844
5828
  pGeom: pGeom$12
5845
5829
  };
5846
- //#endregion
5847
- //#region src/rccar/rccar.ts
5830
+ // src/rccar/rccar.ts
5848
5831
  const pDef$11 = {
5849
5832
  partName: "rccar",
5850
5833
  params: [
@@ -6610,8 +6593,7 @@ const rccarDef = {
6610
6593
  pDef: pDef$11,
6611
6594
  pGeom: pGeom$11
6612
6595
  };
6613
- //#endregion
6614
- //#region src/rccar/singleBone.ts
6596
+ // src/rccar/singleBone.ts
6615
6597
  const pDef$10 = {
6616
6598
  partName: "singleBone",
6617
6599
  params: [
@@ -6717,8 +6699,7 @@ const singleBoneDef = {
6717
6699
  pDef: pDef$10,
6718
6700
  pGeom: pGeom$10
6719
6701
  };
6720
- //#endregion
6721
- //#region src/rccar/doubleBone.ts
6702
+ // src/rccar/doubleBone.ts
6722
6703
  const pDef$9 = {
6723
6704
  partName: "doubleBone",
6724
6705
  params: [
@@ -7034,8 +7015,7 @@ const doubleBoneDef = {
7034
7015
  pDef: pDef$9,
7035
7016
  pGeom: pGeom$9
7036
7017
  };
7037
- //#endregion
7038
- //#region src/rccar/pcar.ts
7018
+ // src/rccar/pcar.ts
7039
7019
  const pDef$8 = {
7040
7020
  partName: "pcar",
7041
7021
  params: [
@@ -7437,8 +7417,7 @@ const pcarDef = {
7437
7417
  pDef: pDef$8,
7438
7418
  pGeom: pGeom$8
7439
7419
  };
7440
- //#endregion
7441
- //#region src/capsule/capsule.ts
7420
+ // src/capsule/capsule.ts
7442
7421
  const pDef$7 = {
7443
7422
  partName: "capsule",
7444
7423
  params: [
@@ -7966,8 +7945,7 @@ const capsuleDef = {
7966
7945
  pDef: pDef$7,
7967
7946
  pGeom: pGeom$7
7968
7947
  };
7969
- //#endregion
7970
- //#region src/capsule/tunnel.ts
7948
+ // src/capsule/tunnel.ts
7971
7949
  const pDef$6 = {
7972
7950
  partName: "tunnel",
7973
7951
  params: [
@@ -8229,8 +8207,7 @@ const tunnelDef = {
8229
8207
  pDef: pDef$6,
8230
8208
  pGeom: pGeom$6
8231
8209
  };
8232
- //#endregion
8233
- //#region src/capsule/bridge.ts
8210
+ // src/capsule/bridge.ts
8234
8211
  const pDef$5 = {
8235
8212
  partName: "bridge",
8236
8213
  params: [
@@ -8464,8 +8441,7 @@ const bridgeDef = {
8464
8441
  pDef: pDef$5,
8465
8442
  pGeom: pGeom$5
8466
8443
  };
8467
- //#endregion
8468
- //#region src/capsule/trackXY.ts
8444
+ // src/capsule/trackXY.ts
8469
8445
  const pDef$4 = {
8470
8446
  partName: "trackXY",
8471
8447
  params: [
@@ -8691,8 +8667,7 @@ const trackXYDef = {
8691
8667
  pDef: pDef$4,
8692
8668
  pGeom: pGeom$4
8693
8669
  };
8694
- //#endregion
8695
- //#region src/capsule/trackXZ.ts
8670
+ // src/capsule/trackXZ.ts
8696
8671
  const pDef$3 = {
8697
8672
  partName: "trackXZ",
8698
8673
  params: [
@@ -8936,8 +8911,7 @@ const trackXZDef = {
8936
8911
  pDef: pDef$3,
8937
8912
  pGeom: pGeom$3
8938
8913
  };
8939
- //#endregion
8940
- //#region src/sysmix/square.ts
8914
+ // src/sysmix/square.ts
8941
8915
  const pDef$2 = {
8942
8916
  partName: "square",
8943
8917
  params: [
@@ -9019,8 +8993,7 @@ const squareDef = {
9019
8993
  pDef: pDef$2,
9020
8994
  pGeom: pGeom$2
9021
8995
  };
9022
- //#endregion
9023
- //#region src/sysmix/triangle.ts
8996
+ // src/sysmix/triangle.ts
9024
8997
  const pDef$1 = {
9025
8998
  partName: "triangle",
9026
8999
  params: [
@@ -9113,8 +9086,7 @@ const triangleDef = {
9113
9086
  pDef: pDef$1,
9114
9087
  pGeom: pGeom$1
9115
9088
  };
9116
- //#endregion
9117
- //#region src/sysmix/cylinder.ts
9089
+ // src/sysmix/cylinder.ts
9118
9090
  const pDef = {
9119
9091
  partName: "cylinder",
9120
9092
  params: [
@@ -9194,7 +9166,6 @@ const cylinderDef = {
9194
9166
  pDef,
9195
9167
  pGeom
9196
9168
  };
9197
- //#endregion
9198
9169
  export { bridgeDef, capsuleDef, cylinderDef, door1arcDef, doubleBoneDef, factoryDef, heliostatDef, houseDef, minifootDef, minihelioDef, minimirDef, pcarDef, plugTorqueDef, rccarDef, singleBoneDef, springIntDef, springOneDef, springSideDef, springTorqueADef, springTorqueBDef, springTorqueCDef, springWormDef, squareDef, stoneTowerDef, trackXYDef, trackXZDef, triangleDef, tunnelDef };
9199
9170
 
9200
9171
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desi77",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "A collection of 3D-designs",
5
5
  "private": false,
6
6
  "repository": {
@@ -62,23 +62,23 @@
62
62
  "clean": "rimraf dist dist2 node_modules"
63
63
  },
64
64
  "dependencies": {
65
- "geometrix": "^1.0.41",
66
- "sheetfold": "^1.0.18",
67
- "triangule": "^1.0.25"
65
+ "geometrix": "^1.0.43",
66
+ "sheetfold": "^1.0.19",
67
+ "triangule": "^1.0.26"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@eslint/js": "^10.0.1",
71
71
  "@types/eslint__js": "^8.42.3",
72
- "eslint": "^10.13.0",
73
- "eslint-config-prettier": "^10.1.8",
74
- "npm-run-all2": "^9.0.3",
75
- "prettier": "^3.9.10",
76
- "rimraf": "^6.1.3",
77
- "rolldown": "^1.2.14",
72
+ "eslint": "^10.16.0",
73
+ "eslint-config-prettier": "^10.1.9",
74
+ "npm-run-all2": "^9.1.0",
75
+ "prettier": "^3.10.1",
76
+ "rimraf": "^6.1.4",
77
+ "rolldown": "^1.3.4",
78
78
  "svgo": "^4.1.0",
79
- "tsdown": "^0.23.1",
79
+ "tsdown": "^0.23.7",
80
80
  "typescript": "^6.0.3",
81
- "typescript-eslint": "^8.71.2",
82
- "vitest": "^5.0.5"
81
+ "typescript-eslint": "^8.74.0",
82
+ "vitest": "^5.1.2"
83
83
  }
84
84
  }