circuit-json-to-kicad 0.0.8 → 0.0.9
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -364,7 +364,7 @@ var AddLibrarySymbolsStage = class extends ConverterStage {
|
|
|
364
364
|
isChip
|
|
365
365
|
);
|
|
366
366
|
pin.at = [x, y, angle];
|
|
367
|
-
pin.length = isChip ?
|
|
367
|
+
pin.length = isChip ? 6 : 1.27;
|
|
368
368
|
const nameFont = new TextEffectsFont();
|
|
369
369
|
nameFont.size = { height: 1.27, width: 1.27 };
|
|
370
370
|
const nameEffects = new TextEffects({ font: nameFont });
|
|
@@ -392,7 +392,7 @@ var AddLibrarySymbolsStage = class extends ConverterStage {
|
|
|
392
392
|
const dy = port.y - center.y;
|
|
393
393
|
let x = port.x * symbolScale;
|
|
394
394
|
let y = port.y * symbolScale;
|
|
395
|
-
const chipPinLength =
|
|
395
|
+
const chipPinLength = 6;
|
|
396
396
|
if (isChip && size) {
|
|
397
397
|
const halfWidth = size.width / 2 * symbolScale;
|
|
398
398
|
const halfHeight = size.height / 2 * symbolScale;
|