jscad-electronics 0.0.101 → 0.0.103

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 CHANGED
@@ -956,7 +956,7 @@ var QFP = ({
956
956
  taperRatio: 0.03,
957
957
  chamferSize: 0.7,
958
958
  notchPosition: {
959
- x: bodyLength10 / 2 - 1.5,
959
+ x: -(bodyLength10 / 2 - 1.5),
960
960
  y: bodyWidth / 2 - 1.5,
961
961
  z: 1.5
962
962
  },
@@ -1026,7 +1026,7 @@ var PinRow = ({
1026
1026
  {
1027
1027
  color: "#222",
1028
1028
  size: [bodyWidth, pinThickness * 3, bodyHeight],
1029
- center: [0, 0, bodyHeight / 2]
1029
+ center: [0, 0, bodyHeight / 2 + 0.012]
1030
1030
  }
1031
1031
  ),
1032
1032
  Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */ jsxs18(Fragment16, { children: [
@@ -2698,7 +2698,7 @@ var TQFP = () => {
2698
2698
  height: 1.2,
2699
2699
  chamferSize: 0.7,
2700
2700
  taperRatio: 0.05,
2701
- notchPosition: { x: 3.5, y: 3.5, z: 1.2 },
2701
+ notchPosition: { x: -3.5, y: 3.5, z: 1.2 },
2702
2702
  notchRadius: 1.2 / 2
2703
2703
  }
2704
2704
  )
@@ -2888,7 +2888,7 @@ var LQFP = ({
2888
2888
  taperRatio: 0.04,
2889
2889
  chamferSize: 0.7,
2890
2890
  notchPosition: {
2891
- x: bodyLength10 / 2 - 1.5,
2891
+ x: -(bodyLength10 / 2 - 1.5),
2892
2892
  y: bodyLength10 / 2 - 1.5,
2893
2893
  z: 1.5
2894
2894
  },
@@ -3005,7 +3005,7 @@ var DFN = ({
3005
3005
  chamferSize: 0.2,
3006
3006
  taperRatio: 0,
3007
3007
  notchPosition: {
3008
- x: bodyWidth / 2 - padLength,
3008
+ x: -(bodyWidth / 2 - padLength),
3009
3009
  y: bodyLength10 / 2 - padLength,
3010
3010
  z: bodyThickness
3011
3011
  }
@@ -3319,7 +3319,11 @@ var MS012 = ({
3319
3319
  width: bodyLength10,
3320
3320
  length: bodyWidth,
3321
3321
  height: 1.55,
3322
- notchPosition: { x: bodyLength10 / 2 - 1, y: bodyWidth / 2 - 1, z: 1.55 },
3322
+ notchPosition: {
3323
+ x: -(bodyLength10 / 2 - 1),
3324
+ y: bodyWidth / 2 - 1,
3325
+ z: 1.55
3326
+ },
3323
3327
  heightAboveSurface: 0.17,
3324
3328
  taperRatio: 0.09
3325
3329
  }
@@ -3385,7 +3389,7 @@ var MS013 = ({
3385
3389
  length: bodyLength10,
3386
3390
  height: 1.1,
3387
3391
  notchPosition: {
3388
- x: bodyWidth / 2 - 1.5,
3392
+ x: -(bodyWidth / 2 - 1.5),
3389
3393
  y: bodyLength10 / 2 - 1.5,
3390
3394
  z: 1.1
3391
3395
  },
@@ -3603,7 +3607,7 @@ var SOT457 = () => {
3603
3607
  height: bodyHeight,
3604
3608
  straightHeightRatio: 0.6,
3605
3609
  notchPosition: {
3606
- x: bodyWidth / 2 - 0.4,
3610
+ x: -(bodyWidth / 2 - 0.4),
3607
3611
  y: bodyHeight / 2 + 0.4,
3608
3612
  z: bodyHeight + 0.05
3609
3613
  },
@@ -3780,7 +3784,7 @@ var SOT363 = () => {
3780
3784
  height: bodyHeight,
3781
3785
  straightHeightRatio: 0.6,
3782
3786
  notchPosition: {
3783
- x: bodyWidth / 2 - 0.25,
3787
+ x: -(bodyWidth / 2 - 0.25),
3784
3788
  y: bodyHeight / 2 + 0.2,
3785
3789
  z: bodyHeight
3786
3790
  },