@tscircuit/props 0.0.406 → 0.0.408
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 +143 -8
- package/dist/index.js +37 -14
- package/dist/index.js.map +1 -1
- package/lib/components/hole.ts +12 -0
- package/lib/components/platedhole.ts +25 -0
- package/lib/components/smtpad.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25013,6 +25013,8 @@ interface CirclePlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "la
|
|
|
25013
25013
|
holeDiameter: number | string;
|
|
25014
25014
|
outerDiameter: number | string;
|
|
25015
25015
|
portHints?: PortHints;
|
|
25016
|
+
solderMaskMargin?: Distance;
|
|
25017
|
+
coveredWithSolderMask?: boolean;
|
|
25016
25018
|
}
|
|
25017
25019
|
interface OvalPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
25018
25020
|
name?: string;
|
|
@@ -25023,10 +25025,12 @@ interface OvalPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
|
25023
25025
|
holeWidth: number | string;
|
|
25024
25026
|
holeHeight: number | string;
|
|
25025
25027
|
portHints?: PortHints;
|
|
25028
|
+
solderMaskMargin?: Distance;
|
|
25026
25029
|
/** @deprecated use holeWidth */
|
|
25027
25030
|
innerWidth?: number | string;
|
|
25028
25031
|
/** @deprecated use holeHeight */
|
|
25029
25032
|
innerHeight?: number | string;
|
|
25033
|
+
coveredWithSolderMask?: boolean;
|
|
25030
25034
|
}
|
|
25031
25035
|
interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
25032
25036
|
name?: string;
|
|
@@ -25044,6 +25048,8 @@ interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
|
25044
25048
|
/** @deprecated use holeHeight */
|
|
25045
25049
|
innerHeight?: number | string;
|
|
25046
25050
|
portHints?: PortHints;
|
|
25051
|
+
solderMaskMargin?: Distance;
|
|
25052
|
+
coveredWithSolderMask?: boolean;
|
|
25047
25053
|
}
|
|
25048
25054
|
interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
25049
25055
|
name?: string;
|
|
@@ -25058,6 +25064,8 @@ interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotat
|
|
|
25058
25064
|
portHints?: PortHints;
|
|
25059
25065
|
holeOffsetX?: number | string;
|
|
25060
25066
|
holeOffsetY?: number | string;
|
|
25067
|
+
solderMaskMargin?: Distance;
|
|
25068
|
+
coveredWithSolderMask?: boolean;
|
|
25061
25069
|
}
|
|
25062
25070
|
interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
25063
25071
|
name?: string;
|
|
@@ -25072,6 +25080,8 @@ interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotati
|
|
|
25072
25080
|
portHints?: PortHints;
|
|
25073
25081
|
holeOffsetX?: number | string;
|
|
25074
25082
|
holeOffsetY?: number | string;
|
|
25083
|
+
solderMaskMargin?: Distance;
|
|
25084
|
+
coveredWithSolderMask?: boolean;
|
|
25075
25085
|
}
|
|
25076
25086
|
interface HoleWithPolygonPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
25077
25087
|
name?: string;
|
|
@@ -25085,6 +25095,8 @@ interface HoleWithPolygonPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRot
|
|
|
25085
25095
|
holeOffsetX: number | string;
|
|
25086
25096
|
holeOffsetY: number | string;
|
|
25087
25097
|
portHints?: PortHints;
|
|
25098
|
+
solderMaskMargin?: Distance;
|
|
25099
|
+
coveredWithSolderMask?: boolean;
|
|
25088
25100
|
}
|
|
25089
25101
|
type PlatedHoleProps = CirclePlatedHoleProps | OvalPlatedHoleProps | PillPlatedHoleProps | CircularHoleWithRectPlatedProps | PillWithRectPadPlatedHoleProps | HoleWithPolygonPadPlatedHoleProps;
|
|
25090
25102
|
declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
@@ -25147,6 +25159,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25147
25159
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25148
25160
|
outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25149
25161
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25162
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25163
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
25150
25164
|
}, "strip", z.ZodTypeAny, {
|
|
25151
25165
|
shape: "circle";
|
|
25152
25166
|
holeDiameter: number;
|
|
@@ -25176,6 +25190,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25176
25190
|
name?: string | undefined;
|
|
25177
25191
|
connectsTo?: string | string[] | undefined;
|
|
25178
25192
|
portHints?: (string | number)[] | undefined;
|
|
25193
|
+
solderMaskMargin?: number | undefined;
|
|
25194
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25179
25195
|
}, {
|
|
25180
25196
|
shape: "circle";
|
|
25181
25197
|
holeDiameter: string | number;
|
|
@@ -25205,6 +25221,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25205
25221
|
name?: string | undefined;
|
|
25206
25222
|
connectsTo?: string | string[] | undefined;
|
|
25207
25223
|
portHints?: (string | number)[] | undefined;
|
|
25224
|
+
solderMaskMargin?: string | number | undefined;
|
|
25225
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25208
25226
|
}>, z.ZodObject<Omit<{
|
|
25209
25227
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25210
25228
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -25269,6 +25287,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25269
25287
|
innerWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25270
25288
|
innerHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25271
25289
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25290
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25291
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
25272
25292
|
}, "strip", z.ZodTypeAny, {
|
|
25273
25293
|
shape: "oval";
|
|
25274
25294
|
outerWidth: number;
|
|
@@ -25299,6 +25319,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25299
25319
|
name?: string | undefined;
|
|
25300
25320
|
connectsTo?: string | string[] | undefined;
|
|
25301
25321
|
portHints?: (string | number)[] | undefined;
|
|
25322
|
+
solderMaskMargin?: number | undefined;
|
|
25323
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25302
25324
|
holeWidth?: number | undefined;
|
|
25303
25325
|
holeHeight?: number | undefined;
|
|
25304
25326
|
innerWidth?: number | undefined;
|
|
@@ -25335,6 +25357,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25335
25357
|
name?: string | undefined;
|
|
25336
25358
|
connectsTo?: string | string[] | undefined;
|
|
25337
25359
|
portHints?: (string | number)[] | undefined;
|
|
25360
|
+
solderMaskMargin?: string | number | undefined;
|
|
25361
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25338
25362
|
innerWidth?: string | number | undefined;
|
|
25339
25363
|
innerHeight?: string | number | undefined;
|
|
25340
25364
|
}>, z.ZodObject<Omit<{
|
|
@@ -25404,6 +25428,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25404
25428
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25405
25429
|
holeOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25406
25430
|
holeOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25431
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25432
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
25407
25433
|
}, "strip", z.ZodTypeAny, {
|
|
25408
25434
|
shape: "pill";
|
|
25409
25435
|
outerWidth: number;
|
|
@@ -25434,6 +25460,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25434
25460
|
name?: string | undefined;
|
|
25435
25461
|
connectsTo?: string | string[] | undefined;
|
|
25436
25462
|
portHints?: (string | number)[] | undefined;
|
|
25463
|
+
solderMaskMargin?: number | undefined;
|
|
25464
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25437
25465
|
holeWidth?: number | undefined;
|
|
25438
25466
|
holeHeight?: number | undefined;
|
|
25439
25467
|
innerWidth?: number | undefined;
|
|
@@ -25473,6 +25501,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25473
25501
|
name?: string | undefined;
|
|
25474
25502
|
connectsTo?: string | string[] | undefined;
|
|
25475
25503
|
portHints?: (string | number)[] | undefined;
|
|
25504
|
+
solderMaskMargin?: string | number | undefined;
|
|
25505
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25476
25506
|
innerWidth?: string | number | undefined;
|
|
25477
25507
|
innerHeight?: string | number | undefined;
|
|
25478
25508
|
rectPad?: boolean | undefined;
|
|
@@ -25544,6 +25574,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25544
25574
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25545
25575
|
holeOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25546
25576
|
holeOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25577
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25578
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
25547
25579
|
}, "strip", z.ZodTypeAny, {
|
|
25548
25580
|
shape: "circular_hole_with_rect_pad";
|
|
25549
25581
|
holeDiameter: number;
|
|
@@ -25574,6 +25606,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25574
25606
|
name?: string | undefined;
|
|
25575
25607
|
connectsTo?: string | string[] | undefined;
|
|
25576
25608
|
portHints?: (string | number)[] | undefined;
|
|
25609
|
+
solderMaskMargin?: number | undefined;
|
|
25610
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25577
25611
|
holeOffsetX?: number | undefined;
|
|
25578
25612
|
holeOffsetY?: number | undefined;
|
|
25579
25613
|
rectBorderRadius?: number | undefined;
|
|
@@ -25609,6 +25643,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25609
25643
|
name?: string | undefined;
|
|
25610
25644
|
connectsTo?: string | string[] | undefined;
|
|
25611
25645
|
portHints?: (string | number)[] | undefined;
|
|
25646
|
+
solderMaskMargin?: string | number | undefined;
|
|
25647
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25612
25648
|
holeOffsetX?: string | number | undefined;
|
|
25613
25649
|
holeOffsetY?: string | number | undefined;
|
|
25614
25650
|
rectBorderRadius?: string | number | undefined;
|
|
@@ -25680,6 +25716,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25680
25716
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25681
25717
|
holeOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25682
25718
|
holeOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25719
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25720
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
25683
25721
|
}, "strip", z.ZodTypeAny, {
|
|
25684
25722
|
shape: "pill_hole_with_rect_pad";
|
|
25685
25723
|
holeWidth: number;
|
|
@@ -25713,6 +25751,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25713
25751
|
name?: string | undefined;
|
|
25714
25752
|
connectsTo?: string | string[] | undefined;
|
|
25715
25753
|
portHints?: (string | number)[] | undefined;
|
|
25754
|
+
solderMaskMargin?: number | undefined;
|
|
25755
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25716
25756
|
holeOffsetX?: number | undefined;
|
|
25717
25757
|
holeOffsetY?: number | undefined;
|
|
25718
25758
|
}, {
|
|
@@ -25748,6 +25788,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25748
25788
|
name?: string | undefined;
|
|
25749
25789
|
connectsTo?: string | string[] | undefined;
|
|
25750
25790
|
portHints?: (string | number)[] | undefined;
|
|
25791
|
+
solderMaskMargin?: string | number | undefined;
|
|
25792
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25751
25793
|
holeOffsetX?: string | number | undefined;
|
|
25752
25794
|
holeOffsetY?: string | number | undefined;
|
|
25753
25795
|
}>, z.ZodObject<Omit<{
|
|
@@ -25824,6 +25866,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25824
25866
|
holeOffsetX: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25825
25867
|
holeOffsetY: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25826
25868
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25869
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25870
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
25827
25871
|
}, "strip", z.ZodTypeAny, {
|
|
25828
25872
|
shape: "hole_with_polygon_pad";
|
|
25829
25873
|
holeOffsetX: number;
|
|
@@ -25859,6 +25903,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25859
25903
|
connectsTo?: string | string[] | undefined;
|
|
25860
25904
|
holeDiameter?: number | undefined;
|
|
25861
25905
|
portHints?: (string | number)[] | undefined;
|
|
25906
|
+
solderMaskMargin?: number | undefined;
|
|
25907
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25862
25908
|
holeWidth?: number | undefined;
|
|
25863
25909
|
holeHeight?: number | undefined;
|
|
25864
25910
|
}, {
|
|
@@ -25896,6 +25942,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25896
25942
|
connectsTo?: string | string[] | undefined;
|
|
25897
25943
|
holeDiameter?: string | number | undefined;
|
|
25898
25944
|
portHints?: (string | number)[] | undefined;
|
|
25945
|
+
solderMaskMargin?: string | number | undefined;
|
|
25946
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25899
25947
|
holeWidth?: string | number | undefined;
|
|
25900
25948
|
holeHeight?: string | number | undefined;
|
|
25901
25949
|
}>]>, {
|
|
@@ -25927,6 +25975,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25927
25975
|
name?: string | undefined;
|
|
25928
25976
|
connectsTo?: string | string[] | undefined;
|
|
25929
25977
|
portHints?: (string | number)[] | undefined;
|
|
25978
|
+
solderMaskMargin?: number | undefined;
|
|
25979
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25930
25980
|
} | {
|
|
25931
25981
|
shape: "oval";
|
|
25932
25982
|
outerWidth: number;
|
|
@@ -25957,6 +26007,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25957
26007
|
name?: string | undefined;
|
|
25958
26008
|
connectsTo?: string | string[] | undefined;
|
|
25959
26009
|
portHints?: (string | number)[] | undefined;
|
|
26010
|
+
solderMaskMargin?: number | undefined;
|
|
26011
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25960
26012
|
holeWidth?: number | undefined;
|
|
25961
26013
|
holeHeight?: number | undefined;
|
|
25962
26014
|
innerWidth?: number | undefined;
|
|
@@ -25991,6 +26043,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25991
26043
|
name?: string | undefined;
|
|
25992
26044
|
connectsTo?: string | string[] | undefined;
|
|
25993
26045
|
portHints?: (string | number)[] | undefined;
|
|
26046
|
+
solderMaskMargin?: number | undefined;
|
|
26047
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
25994
26048
|
holeWidth?: number | undefined;
|
|
25995
26049
|
holeHeight?: number | undefined;
|
|
25996
26050
|
innerWidth?: number | undefined;
|
|
@@ -26028,6 +26082,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26028
26082
|
name?: string | undefined;
|
|
26029
26083
|
connectsTo?: string | string[] | undefined;
|
|
26030
26084
|
portHints?: (string | number)[] | undefined;
|
|
26085
|
+
solderMaskMargin?: number | undefined;
|
|
26086
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26031
26087
|
holeOffsetX?: number | undefined;
|
|
26032
26088
|
holeOffsetY?: number | undefined;
|
|
26033
26089
|
rectBorderRadius?: number | undefined;
|
|
@@ -26066,6 +26122,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26066
26122
|
name?: string | undefined;
|
|
26067
26123
|
connectsTo?: string | string[] | undefined;
|
|
26068
26124
|
portHints?: (string | number)[] | undefined;
|
|
26125
|
+
solderMaskMargin?: number | undefined;
|
|
26126
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26069
26127
|
holeOffsetX?: number | undefined;
|
|
26070
26128
|
holeOffsetY?: number | undefined;
|
|
26071
26129
|
} | {
|
|
@@ -26103,6 +26161,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26103
26161
|
connectsTo?: string | string[] | undefined;
|
|
26104
26162
|
holeDiameter?: number | undefined;
|
|
26105
26163
|
portHints?: (string | number)[] | undefined;
|
|
26164
|
+
solderMaskMargin?: number | undefined;
|
|
26165
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26106
26166
|
holeWidth?: number | undefined;
|
|
26107
26167
|
holeHeight?: number | undefined;
|
|
26108
26168
|
}, {
|
|
@@ -26134,6 +26194,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26134
26194
|
name?: string | undefined;
|
|
26135
26195
|
connectsTo?: string | string[] | undefined;
|
|
26136
26196
|
portHints?: (string | number)[] | undefined;
|
|
26197
|
+
solderMaskMargin?: string | number | undefined;
|
|
26198
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26137
26199
|
} | {
|
|
26138
26200
|
shape: "oval";
|
|
26139
26201
|
outerWidth: string | number;
|
|
@@ -26166,6 +26228,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26166
26228
|
name?: string | undefined;
|
|
26167
26229
|
connectsTo?: string | string[] | undefined;
|
|
26168
26230
|
portHints?: (string | number)[] | undefined;
|
|
26231
|
+
solderMaskMargin?: string | number | undefined;
|
|
26232
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26169
26233
|
innerWidth?: string | number | undefined;
|
|
26170
26234
|
innerHeight?: string | number | undefined;
|
|
26171
26235
|
} | {
|
|
@@ -26200,6 +26264,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26200
26264
|
name?: string | undefined;
|
|
26201
26265
|
connectsTo?: string | string[] | undefined;
|
|
26202
26266
|
portHints?: (string | number)[] | undefined;
|
|
26267
|
+
solderMaskMargin?: string | number | undefined;
|
|
26268
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26203
26269
|
innerWidth?: string | number | undefined;
|
|
26204
26270
|
innerHeight?: string | number | undefined;
|
|
26205
26271
|
rectPad?: boolean | undefined;
|
|
@@ -26235,6 +26301,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26235
26301
|
name?: string | undefined;
|
|
26236
26302
|
connectsTo?: string | string[] | undefined;
|
|
26237
26303
|
portHints?: (string | number)[] | undefined;
|
|
26304
|
+
solderMaskMargin?: string | number | undefined;
|
|
26305
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26238
26306
|
holeOffsetX?: string | number | undefined;
|
|
26239
26307
|
holeOffsetY?: string | number | undefined;
|
|
26240
26308
|
rectBorderRadius?: string | number | undefined;
|
|
@@ -26273,6 +26341,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26273
26341
|
name?: string | undefined;
|
|
26274
26342
|
connectsTo?: string | string[] | undefined;
|
|
26275
26343
|
portHints?: (string | number)[] | undefined;
|
|
26344
|
+
solderMaskMargin?: string | number | undefined;
|
|
26345
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26276
26346
|
holeOffsetX?: string | number | undefined;
|
|
26277
26347
|
holeOffsetY?: string | number | undefined;
|
|
26278
26348
|
} | {
|
|
@@ -26310,6 +26380,8 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26310
26380
|
connectsTo?: string | string[] | undefined;
|
|
26311
26381
|
holeDiameter?: string | number | undefined;
|
|
26312
26382
|
portHints?: (string | number)[] | undefined;
|
|
26383
|
+
solderMaskMargin?: string | number | undefined;
|
|
26384
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
26313
26385
|
holeWidth?: string | number | undefined;
|
|
26314
26386
|
holeHeight?: string | number | undefined;
|
|
26315
26387
|
}>;
|
|
@@ -34174,6 +34246,7 @@ interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34174
34246
|
cornerRadius?: Distance;
|
|
34175
34247
|
portHints?: PortHints;
|
|
34176
34248
|
coveredWithSolderMask?: boolean;
|
|
34249
|
+
solderMaskMargin?: Distance;
|
|
34177
34250
|
}
|
|
34178
34251
|
interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34179
34252
|
name?: string;
|
|
@@ -34184,6 +34257,7 @@ interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34184
34257
|
ccwRotation: number;
|
|
34185
34258
|
portHints?: PortHints;
|
|
34186
34259
|
coveredWithSolderMask?: boolean;
|
|
34260
|
+
solderMaskMargin?: Distance;
|
|
34187
34261
|
}
|
|
34188
34262
|
interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34189
34263
|
name?: string;
|
|
@@ -34191,6 +34265,7 @@ interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34191
34265
|
radius: Distance;
|
|
34192
34266
|
portHints?: PortHints;
|
|
34193
34267
|
coveredWithSolderMask?: boolean;
|
|
34268
|
+
solderMaskMargin?: Distance;
|
|
34194
34269
|
}
|
|
34195
34270
|
interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34196
34271
|
name?: string;
|
|
@@ -34200,6 +34275,7 @@ interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34200
34275
|
radius: Distance;
|
|
34201
34276
|
portHints?: PortHints;
|
|
34202
34277
|
coveredWithSolderMask?: boolean;
|
|
34278
|
+
solderMaskMargin?: Distance;
|
|
34203
34279
|
}
|
|
34204
34280
|
interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34205
34281
|
name?: string;
|
|
@@ -34207,6 +34283,7 @@ interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34207
34283
|
points: Point[];
|
|
34208
34284
|
portHints?: PortHints;
|
|
34209
34285
|
coveredWithSolderMask?: boolean;
|
|
34286
|
+
solderMaskMargin?: Distance;
|
|
34210
34287
|
}
|
|
34211
34288
|
type SmtPadProps = RectSmtPadProps | CircleSmtPadProps | RotatedRectSmtPadProps | PillSmtPadProps | PolygonSmtPadProps;
|
|
34212
34289
|
declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -34271,6 +34348,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34271
34348
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34272
34349
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34273
34350
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34351
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34274
34352
|
}, "strip", z.ZodTypeAny, {
|
|
34275
34353
|
shape: "rect";
|
|
34276
34354
|
width: number;
|
|
@@ -34300,9 +34378,10 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34300
34378
|
relative?: boolean | undefined;
|
|
34301
34379
|
name?: string | undefined;
|
|
34302
34380
|
portHints?: (string | number)[] | undefined;
|
|
34381
|
+
solderMaskMargin?: number | undefined;
|
|
34382
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
34303
34383
|
rectBorderRadius?: number | undefined;
|
|
34304
34384
|
cornerRadius?: number | undefined;
|
|
34305
|
-
coveredWithSolderMask?: boolean | undefined;
|
|
34306
34385
|
}, {
|
|
34307
34386
|
shape: "rect";
|
|
34308
34387
|
width: string | number;
|
|
@@ -34334,9 +34413,10 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34334
34413
|
relative?: boolean | undefined;
|
|
34335
34414
|
name?: string | undefined;
|
|
34336
34415
|
portHints?: (string | number)[] | undefined;
|
|
34416
|
+
solderMaskMargin?: string | number | undefined;
|
|
34417
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
34337
34418
|
rectBorderRadius?: string | number | undefined;
|
|
34338
34419
|
cornerRadius?: string | number | undefined;
|
|
34339
|
-
coveredWithSolderMask?: boolean | undefined;
|
|
34340
34420
|
}>;
|
|
34341
34421
|
declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
34342
34422
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -34400,6 +34480,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34400
34480
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34401
34481
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34402
34482
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34483
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34403
34484
|
}, "strip", z.ZodTypeAny, {
|
|
34404
34485
|
shape: "rotated_rect";
|
|
34405
34486
|
width: number;
|
|
@@ -34430,8 +34511,9 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34430
34511
|
relative?: boolean | undefined;
|
|
34431
34512
|
name?: string | undefined;
|
|
34432
34513
|
portHints?: (string | number)[] | undefined;
|
|
34433
|
-
|
|
34514
|
+
solderMaskMargin?: number | undefined;
|
|
34434
34515
|
coveredWithSolderMask?: boolean | undefined;
|
|
34516
|
+
cornerRadius?: number | undefined;
|
|
34435
34517
|
}, {
|
|
34436
34518
|
shape: "rotated_rect";
|
|
34437
34519
|
width: string | number;
|
|
@@ -34464,8 +34546,9 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34464
34546
|
relative?: boolean | undefined;
|
|
34465
34547
|
name?: string | undefined;
|
|
34466
34548
|
portHints?: (string | number)[] | undefined;
|
|
34467
|
-
|
|
34549
|
+
solderMaskMargin?: string | number | undefined;
|
|
34468
34550
|
coveredWithSolderMask?: boolean | undefined;
|
|
34551
|
+
cornerRadius?: string | number | undefined;
|
|
34469
34552
|
}>;
|
|
34470
34553
|
declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
34471
34554
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -34526,6 +34609,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
34526
34609
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
34527
34610
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34528
34611
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34612
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34529
34613
|
}, "strip", z.ZodTypeAny, {
|
|
34530
34614
|
shape: "circle";
|
|
34531
34615
|
radius: number;
|
|
@@ -34554,6 +34638,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
34554
34638
|
relative?: boolean | undefined;
|
|
34555
34639
|
name?: string | undefined;
|
|
34556
34640
|
portHints?: (string | number)[] | undefined;
|
|
34641
|
+
solderMaskMargin?: number | undefined;
|
|
34557
34642
|
coveredWithSolderMask?: boolean | undefined;
|
|
34558
34643
|
}, {
|
|
34559
34644
|
shape: "circle";
|
|
@@ -34585,6 +34670,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
34585
34670
|
relative?: boolean | undefined;
|
|
34586
34671
|
name?: string | undefined;
|
|
34587
34672
|
portHints?: (string | number)[] | undefined;
|
|
34673
|
+
solderMaskMargin?: string | number | undefined;
|
|
34588
34674
|
coveredWithSolderMask?: boolean | undefined;
|
|
34589
34675
|
}>;
|
|
34590
34676
|
declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -34648,6 +34734,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
34648
34734
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
34649
34735
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34650
34736
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34737
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34651
34738
|
}, "strip", z.ZodTypeAny, {
|
|
34652
34739
|
shape: "pill";
|
|
34653
34740
|
width: number;
|
|
@@ -34678,6 +34765,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
34678
34765
|
relative?: boolean | undefined;
|
|
34679
34766
|
name?: string | undefined;
|
|
34680
34767
|
portHints?: (string | number)[] | undefined;
|
|
34768
|
+
solderMaskMargin?: number | undefined;
|
|
34681
34769
|
coveredWithSolderMask?: boolean | undefined;
|
|
34682
34770
|
}, {
|
|
34683
34771
|
shape: "pill";
|
|
@@ -34711,6 +34799,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
34711
34799
|
relative?: boolean | undefined;
|
|
34712
34800
|
name?: string | undefined;
|
|
34713
34801
|
portHints?: (string | number)[] | undefined;
|
|
34802
|
+
solderMaskMargin?: string | number | undefined;
|
|
34714
34803
|
coveredWithSolderMask?: boolean | undefined;
|
|
34715
34804
|
}>;
|
|
34716
34805
|
declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -34781,6 +34870,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
34781
34870
|
}>, "many">;
|
|
34782
34871
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34783
34872
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34873
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34784
34874
|
}, "strip", z.ZodTypeAny, {
|
|
34785
34875
|
shape: "polygon";
|
|
34786
34876
|
points: {
|
|
@@ -34812,6 +34902,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
34812
34902
|
relative?: boolean | undefined;
|
|
34813
34903
|
name?: string | undefined;
|
|
34814
34904
|
portHints?: (string | number)[] | undefined;
|
|
34905
|
+
solderMaskMargin?: number | undefined;
|
|
34815
34906
|
coveredWithSolderMask?: boolean | undefined;
|
|
34816
34907
|
}, {
|
|
34817
34908
|
shape: "polygon";
|
|
@@ -34846,6 +34937,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
34846
34937
|
relative?: boolean | undefined;
|
|
34847
34938
|
name?: string | undefined;
|
|
34848
34939
|
portHints?: (string | number)[] | undefined;
|
|
34940
|
+
solderMaskMargin?: string | number | undefined;
|
|
34849
34941
|
coveredWithSolderMask?: boolean | undefined;
|
|
34850
34942
|
}>;
|
|
34851
34943
|
declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
@@ -34907,6 +34999,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
34907
34999
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
34908
35000
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34909
35001
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35002
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34910
35003
|
}, "strip", z.ZodTypeAny, {
|
|
34911
35004
|
shape: "circle";
|
|
34912
35005
|
radius: number;
|
|
@@ -34935,6 +35028,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
34935
35028
|
relative?: boolean | undefined;
|
|
34936
35029
|
name?: string | undefined;
|
|
34937
35030
|
portHints?: (string | number)[] | undefined;
|
|
35031
|
+
solderMaskMargin?: number | undefined;
|
|
34938
35032
|
coveredWithSolderMask?: boolean | undefined;
|
|
34939
35033
|
}, {
|
|
34940
35034
|
shape: "circle";
|
|
@@ -34966,6 +35060,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
34966
35060
|
relative?: boolean | undefined;
|
|
34967
35061
|
name?: string | undefined;
|
|
34968
35062
|
portHints?: (string | number)[] | undefined;
|
|
35063
|
+
solderMaskMargin?: string | number | undefined;
|
|
34969
35064
|
coveredWithSolderMask?: boolean | undefined;
|
|
34970
35065
|
}>, z.ZodObject<Omit<{
|
|
34971
35066
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -35029,6 +35124,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35029
35124
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35030
35125
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35031
35126
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35127
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35032
35128
|
}, "strip", z.ZodTypeAny, {
|
|
35033
35129
|
shape: "rect";
|
|
35034
35130
|
width: number;
|
|
@@ -35058,9 +35154,10 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35058
35154
|
relative?: boolean | undefined;
|
|
35059
35155
|
name?: string | undefined;
|
|
35060
35156
|
portHints?: (string | number)[] | undefined;
|
|
35157
|
+
solderMaskMargin?: number | undefined;
|
|
35158
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
35061
35159
|
rectBorderRadius?: number | undefined;
|
|
35062
35160
|
cornerRadius?: number | undefined;
|
|
35063
|
-
coveredWithSolderMask?: boolean | undefined;
|
|
35064
35161
|
}, {
|
|
35065
35162
|
shape: "rect";
|
|
35066
35163
|
width: string | number;
|
|
@@ -35092,9 +35189,10 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35092
35189
|
relative?: boolean | undefined;
|
|
35093
35190
|
name?: string | undefined;
|
|
35094
35191
|
portHints?: (string | number)[] | undefined;
|
|
35192
|
+
solderMaskMargin?: string | number | undefined;
|
|
35193
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
35095
35194
|
rectBorderRadius?: string | number | undefined;
|
|
35096
35195
|
cornerRadius?: string | number | undefined;
|
|
35097
|
-
coveredWithSolderMask?: boolean | undefined;
|
|
35098
35196
|
}>, z.ZodObject<Omit<{
|
|
35099
35197
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35100
35198
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -35157,6 +35255,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35157
35255
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35158
35256
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35159
35257
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35258
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35160
35259
|
}, "strip", z.ZodTypeAny, {
|
|
35161
35260
|
shape: "rotated_rect";
|
|
35162
35261
|
width: number;
|
|
@@ -35187,8 +35286,9 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35187
35286
|
relative?: boolean | undefined;
|
|
35188
35287
|
name?: string | undefined;
|
|
35189
35288
|
portHints?: (string | number)[] | undefined;
|
|
35190
|
-
|
|
35289
|
+
solderMaskMargin?: number | undefined;
|
|
35191
35290
|
coveredWithSolderMask?: boolean | undefined;
|
|
35291
|
+
cornerRadius?: number | undefined;
|
|
35192
35292
|
}, {
|
|
35193
35293
|
shape: "rotated_rect";
|
|
35194
35294
|
width: string | number;
|
|
@@ -35221,8 +35321,9 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35221
35321
|
relative?: boolean | undefined;
|
|
35222
35322
|
name?: string | undefined;
|
|
35223
35323
|
portHints?: (string | number)[] | undefined;
|
|
35224
|
-
|
|
35324
|
+
solderMaskMargin?: string | number | undefined;
|
|
35225
35325
|
coveredWithSolderMask?: boolean | undefined;
|
|
35326
|
+
cornerRadius?: string | number | undefined;
|
|
35226
35327
|
}>, z.ZodObject<Omit<{
|
|
35227
35328
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35228
35329
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -35284,6 +35385,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35284
35385
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
35285
35386
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35286
35387
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35388
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35287
35389
|
}, "strip", z.ZodTypeAny, {
|
|
35288
35390
|
shape: "pill";
|
|
35289
35391
|
width: number;
|
|
@@ -35314,6 +35416,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35314
35416
|
relative?: boolean | undefined;
|
|
35315
35417
|
name?: string | undefined;
|
|
35316
35418
|
portHints?: (string | number)[] | undefined;
|
|
35419
|
+
solderMaskMargin?: number | undefined;
|
|
35317
35420
|
coveredWithSolderMask?: boolean | undefined;
|
|
35318
35421
|
}, {
|
|
35319
35422
|
shape: "pill";
|
|
@@ -35347,6 +35450,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35347
35450
|
relative?: boolean | undefined;
|
|
35348
35451
|
name?: string | undefined;
|
|
35349
35452
|
portHints?: (string | number)[] | undefined;
|
|
35453
|
+
solderMaskMargin?: string | number | undefined;
|
|
35350
35454
|
coveredWithSolderMask?: boolean | undefined;
|
|
35351
35455
|
}>, z.ZodObject<Omit<{
|
|
35352
35456
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -35416,6 +35520,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35416
35520
|
}>, "many">;
|
|
35417
35521
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35418
35522
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35523
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35419
35524
|
}, "strip", z.ZodTypeAny, {
|
|
35420
35525
|
shape: "polygon";
|
|
35421
35526
|
points: {
|
|
@@ -35447,6 +35552,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35447
35552
|
relative?: boolean | undefined;
|
|
35448
35553
|
name?: string | undefined;
|
|
35449
35554
|
portHints?: (string | number)[] | undefined;
|
|
35555
|
+
solderMaskMargin?: number | undefined;
|
|
35450
35556
|
coveredWithSolderMask?: boolean | undefined;
|
|
35451
35557
|
}, {
|
|
35452
35558
|
shape: "polygon";
|
|
@@ -35481,6 +35587,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35481
35587
|
relative?: boolean | undefined;
|
|
35482
35588
|
name?: string | undefined;
|
|
35483
35589
|
portHints?: (string | number)[] | undefined;
|
|
35590
|
+
solderMaskMargin?: string | number | undefined;
|
|
35484
35591
|
coveredWithSolderMask?: boolean | undefined;
|
|
35485
35592
|
}>]>;
|
|
35486
35593
|
type InferredSmtPadProps = z.input<typeof smtPadProps>;
|
|
@@ -35951,18 +36058,24 @@ interface CircleHoleProps extends PcbLayoutProps {
|
|
|
35951
36058
|
shape?: "circle";
|
|
35952
36059
|
diameter?: Distance;
|
|
35953
36060
|
radius?: Distance;
|
|
36061
|
+
solderMaskMargin?: Distance;
|
|
36062
|
+
coveredWithSolderMask?: boolean;
|
|
35954
36063
|
}
|
|
35955
36064
|
interface PillHoleProps extends PcbLayoutProps {
|
|
35956
36065
|
name?: string;
|
|
35957
36066
|
shape: "pill";
|
|
35958
36067
|
width: Distance;
|
|
35959
36068
|
height: Distance;
|
|
36069
|
+
solderMaskMargin?: Distance;
|
|
36070
|
+
coveredWithSolderMask?: boolean;
|
|
35960
36071
|
}
|
|
35961
36072
|
interface RectHoleProps extends PcbLayoutProps {
|
|
35962
36073
|
name?: string;
|
|
35963
36074
|
shape: "rect";
|
|
35964
36075
|
width: Distance;
|
|
35965
36076
|
height: Distance;
|
|
36077
|
+
solderMaskMargin?: Distance;
|
|
36078
|
+
coveredWithSolderMask?: boolean;
|
|
35966
36079
|
}
|
|
35967
36080
|
type HoleProps = CircleHoleProps | PillHoleProps | RectHoleProps;
|
|
35968
36081
|
declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -36023,6 +36136,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36023
36136
|
shape: z.ZodOptional<z.ZodLiteral<"circle">>;
|
|
36024
36137
|
diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36025
36138
|
radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36139
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36140
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
36026
36141
|
}, "strip", z.ZodTypeAny, {
|
|
36027
36142
|
pcbX?: number | undefined;
|
|
36028
36143
|
pcbY?: number | undefined;
|
|
@@ -36050,6 +36165,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36050
36165
|
relative?: boolean | undefined;
|
|
36051
36166
|
name?: string | undefined;
|
|
36052
36167
|
shape?: "circle" | undefined;
|
|
36168
|
+
solderMaskMargin?: number | undefined;
|
|
36169
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36053
36170
|
radius?: number | undefined;
|
|
36054
36171
|
diameter?: number | undefined;
|
|
36055
36172
|
}, {
|
|
@@ -36081,6 +36198,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36081
36198
|
relative?: boolean | undefined;
|
|
36082
36199
|
name?: string | undefined;
|
|
36083
36200
|
shape?: "circle" | undefined;
|
|
36201
|
+
solderMaskMargin?: string | number | undefined;
|
|
36202
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36084
36203
|
radius?: string | number | undefined;
|
|
36085
36204
|
diameter?: string | number | undefined;
|
|
36086
36205
|
}>, {
|
|
@@ -36112,6 +36231,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36112
36231
|
relative?: boolean | undefined;
|
|
36113
36232
|
name?: string | undefined;
|
|
36114
36233
|
shape?: "circle" | undefined;
|
|
36234
|
+
solderMaskMargin?: number | undefined;
|
|
36235
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36115
36236
|
}, {
|
|
36116
36237
|
pcbX?: string | number | undefined;
|
|
36117
36238
|
pcbY?: string | number | undefined;
|
|
@@ -36141,6 +36262,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36141
36262
|
relative?: boolean | undefined;
|
|
36142
36263
|
name?: string | undefined;
|
|
36143
36264
|
shape?: "circle" | undefined;
|
|
36265
|
+
solderMaskMargin?: string | number | undefined;
|
|
36266
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36144
36267
|
radius?: string | number | undefined;
|
|
36145
36268
|
diameter?: string | number | undefined;
|
|
36146
36269
|
}>, z.ZodObject<{
|
|
@@ -36201,6 +36324,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36201
36324
|
shape: z.ZodLiteral<"pill">;
|
|
36202
36325
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36203
36326
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36327
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36328
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
36204
36329
|
}, "strip", z.ZodTypeAny, {
|
|
36205
36330
|
shape: "pill";
|
|
36206
36331
|
width: number;
|
|
@@ -36230,6 +36355,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36230
36355
|
pcbRelative?: boolean | undefined;
|
|
36231
36356
|
relative?: boolean | undefined;
|
|
36232
36357
|
name?: string | undefined;
|
|
36358
|
+
solderMaskMargin?: number | undefined;
|
|
36359
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36233
36360
|
}, {
|
|
36234
36361
|
shape: "pill";
|
|
36235
36362
|
width: string | number;
|
|
@@ -36261,6 +36388,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36261
36388
|
pcbRelative?: boolean | undefined;
|
|
36262
36389
|
relative?: boolean | undefined;
|
|
36263
36390
|
name?: string | undefined;
|
|
36391
|
+
solderMaskMargin?: string | number | undefined;
|
|
36392
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36264
36393
|
}>, z.ZodObject<{
|
|
36265
36394
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36266
36395
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -36319,6 +36448,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36319
36448
|
shape: z.ZodLiteral<"rect">;
|
|
36320
36449
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36321
36450
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36451
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36452
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
36322
36453
|
}, "strip", z.ZodTypeAny, {
|
|
36323
36454
|
shape: "rect";
|
|
36324
36455
|
width: number;
|
|
@@ -36348,6 +36479,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36348
36479
|
pcbRelative?: boolean | undefined;
|
|
36349
36480
|
relative?: boolean | undefined;
|
|
36350
36481
|
name?: string | undefined;
|
|
36482
|
+
solderMaskMargin?: number | undefined;
|
|
36483
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36351
36484
|
}, {
|
|
36352
36485
|
shape: "rect";
|
|
36353
36486
|
width: string | number;
|
|
@@ -36379,6 +36512,8 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36379
36512
|
pcbRelative?: boolean | undefined;
|
|
36380
36513
|
relative?: boolean | undefined;
|
|
36381
36514
|
name?: string | undefined;
|
|
36515
|
+
solderMaskMargin?: string | number | undefined;
|
|
36516
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
36382
36517
|
}>]>;
|
|
36383
36518
|
type InferredHoleProps = z.input<typeof holeProps>;
|
|
36384
36519
|
|