@tscircuit/footprinter 0.0.312 → 0.0.313

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
@@ -4364,7 +4364,12 @@ var sodWithoutParsing2 = (parameters) => {
4364
4364
  };
4365
4365
 
4366
4366
  // src/fn/sop8.ts
4367
- var sop8_def = extendSoicDef({});
4367
+ var sop8_def = extendSoicDef({
4368
+ w: "7.05mm",
4369
+ p: "1.27mm",
4370
+ pw: "0.65mm",
4371
+ pl: "1.975mm"
4372
+ });
4368
4373
  var sop8 = (raw_params) => {
4369
4374
  const parameters = sop8_def.parse(raw_params);
4370
4375
  const pads = [];
@@ -4382,19 +4387,15 @@ var sop8 = (raw_params) => {
4382
4387
  );
4383
4388
  }
4384
4389
  const sh = (parameters.num_pins / 2 - 1) * parameters.p + parameters.pw;
4385
- const silkscreenRefText = silkscreenRef(
4386
- 0,
4387
- sh / 2 - 0.5,
4388
- sh / 12
4389
- );
4390
+ const silkscreenRefText = silkscreenRef(0, sh / 2 + 1, sh / 12);
4390
4391
  const silkscreenLine = {
4391
4392
  layer: "top",
4392
4393
  pcb_component_id: "",
4393
4394
  pcb_silkscreen_path_id: "",
4394
4395
  type: "pcb_silkscreen_path",
4395
4396
  route: [
4396
- { x: -parameters.w / 3, y: sh / 2 + 0.2 },
4397
- { x: parameters.w / 3, y: sh / 2 + 0.2 }
4397
+ { x: -parameters.w / 3, y: sh / 2 + 0.4 },
4398
+ { x: parameters.w / 3, y: sh / 2 + 0.4 }
4398
4399
  ],
4399
4400
  stroke_width: 0.1
4400
4401
  };