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/vanilla.js CHANGED
@@ -619,7 +619,7 @@ var QFP = ({
619
619
  taperRatio: 0.03,
620
620
  chamferSize: 0.7,
621
621
  notchPosition: {
622
- x: bodyLength10 / 2 - 1.5,
622
+ x: -(bodyLength10 / 2 - 1.5),
623
623
  y: bodyWidth / 2 - 1.5,
624
624
  z: 1.5
625
625
  },
@@ -687,7 +687,7 @@ var PinRow = ({
687
687
  {
688
688
  color: "#222",
689
689
  size: [bodyWidth, pinThickness * 3, bodyHeight],
690
- center: [0, 0, bodyHeight / 2]
690
+ center: [0, 0, bodyHeight / 2 + 0.012]
691
691
  }
692
692
  ),
693
693
  Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */ jsxs(Fragment2, { children: [
@@ -2525,7 +2525,7 @@ var TQFP = () => {
2525
2525
  height: 1.2,
2526
2526
  chamferSize: 0.7,
2527
2527
  taperRatio: 0.05,
2528
- notchPosition: { x: 3.5, y: 3.5, z: 1.2 },
2528
+ notchPosition: { x: -3.5, y: 3.5, z: 1.2 },
2529
2529
  notchRadius: 1.2 / 2
2530
2530
  }
2531
2531
  )
@@ -2713,7 +2713,7 @@ var LQFP = ({
2713
2713
  taperRatio: 0.04,
2714
2714
  chamferSize: 0.7,
2715
2715
  notchPosition: {
2716
- x: bodyLength10 / 2 - 1.5,
2716
+ x: -(bodyLength10 / 2 - 1.5),
2717
2717
  y: bodyLength10 / 2 - 1.5,
2718
2718
  z: 1.5
2719
2719
  },
@@ -2826,7 +2826,7 @@ var DFN = ({
2826
2826
  chamferSize: 0.2,
2827
2827
  taperRatio: 0,
2828
2828
  notchPosition: {
2829
- x: bodyWidth / 2 - padLength,
2829
+ x: -(bodyWidth / 2 - padLength),
2830
2830
  y: bodyLength10 / 2 - padLength,
2831
2831
  z: bodyThickness
2832
2832
  }
@@ -3125,7 +3125,11 @@ var MS012 = ({
3125
3125
  width: bodyLength10,
3126
3126
  length: bodyWidth,
3127
3127
  height: 1.55,
3128
- notchPosition: { x: bodyLength10 / 2 - 1, y: bodyWidth / 2 - 1, z: 1.55 },
3128
+ notchPosition: {
3129
+ x: -(bodyLength10 / 2 - 1),
3130
+ y: bodyWidth / 2 - 1,
3131
+ z: 1.55
3132
+ },
3129
3133
  heightAboveSurface: 0.17,
3130
3134
  taperRatio: 0.09
3131
3135
  }
@@ -3190,7 +3194,7 @@ var MS013 = ({
3190
3194
  length: bodyLength10,
3191
3195
  height: 1.1,
3192
3196
  notchPosition: {
3193
- x: bodyWidth / 2 - 1.5,
3197
+ x: -(bodyWidth / 2 - 1.5),
3194
3198
  y: bodyLength10 / 2 - 1.5,
3195
3199
  z: 1.1
3196
3200
  },
@@ -3397,7 +3401,7 @@ var SOT457 = () => {
3397
3401
  height: bodyHeight,
3398
3402
  straightHeightRatio: 0.6,
3399
3403
  notchPosition: {
3400
- x: bodyWidth / 2 - 0.4,
3404
+ x: -(bodyWidth / 2 - 0.4),
3401
3405
  y: bodyHeight / 2 + 0.4,
3402
3406
  z: bodyHeight + 0.05
3403
3407
  },
@@ -3564,7 +3568,7 @@ var SOT363 = () => {
3564
3568
  height: bodyHeight,
3565
3569
  straightHeightRatio: 0.6,
3566
3570
  notchPosition: {
3567
- x: bodyWidth / 2 - 0.25,
3571
+ x: -(bodyWidth / 2 - 0.25),
3568
3572
  y: bodyHeight / 2 + 0.2,
3569
3573
  z: bodyHeight
3570
3574
  },