@tscircuit/props 0.0.406 → 0.0.407
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 +85 -0
- package/dist/index.js +28 -14
- package/dist/index.js.map +1 -1
- package/lib/components/hole.ts +6 -0
- package/lib/components/platedhole.ts +13 -0
- package/lib/components/smtpad.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25013,6 +25013,7 @@ interface CirclePlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "la
|
|
|
25013
25013
|
holeDiameter: number | string;
|
|
25014
25014
|
outerDiameter: number | string;
|
|
25015
25015
|
portHints?: PortHints;
|
|
25016
|
+
solderMaskMargin?: Distance;
|
|
25016
25017
|
}
|
|
25017
25018
|
interface OvalPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
25018
25019
|
name?: string;
|
|
@@ -25023,6 +25024,7 @@ interface OvalPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
|
25023
25024
|
holeWidth: number | string;
|
|
25024
25025
|
holeHeight: number | string;
|
|
25025
25026
|
portHints?: PortHints;
|
|
25027
|
+
solderMaskMargin?: Distance;
|
|
25026
25028
|
/** @deprecated use holeWidth */
|
|
25027
25029
|
innerWidth?: number | string;
|
|
25028
25030
|
/** @deprecated use holeHeight */
|
|
@@ -25044,6 +25046,7 @@ interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
|
25044
25046
|
/** @deprecated use holeHeight */
|
|
25045
25047
|
innerHeight?: number | string;
|
|
25046
25048
|
portHints?: PortHints;
|
|
25049
|
+
solderMaskMargin?: Distance;
|
|
25047
25050
|
}
|
|
25048
25051
|
interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
25049
25052
|
name?: string;
|
|
@@ -25058,6 +25061,7 @@ interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotat
|
|
|
25058
25061
|
portHints?: PortHints;
|
|
25059
25062
|
holeOffsetX?: number | string;
|
|
25060
25063
|
holeOffsetY?: number | string;
|
|
25064
|
+
solderMaskMargin?: Distance;
|
|
25061
25065
|
}
|
|
25062
25066
|
interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
25063
25067
|
name?: string;
|
|
@@ -25072,6 +25076,7 @@ interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotati
|
|
|
25072
25076
|
portHints?: PortHints;
|
|
25073
25077
|
holeOffsetX?: number | string;
|
|
25074
25078
|
holeOffsetY?: number | string;
|
|
25079
|
+
solderMaskMargin?: Distance;
|
|
25075
25080
|
}
|
|
25076
25081
|
interface HoleWithPolygonPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
25077
25082
|
name?: string;
|
|
@@ -25085,6 +25090,7 @@ interface HoleWithPolygonPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRot
|
|
|
25085
25090
|
holeOffsetX: number | string;
|
|
25086
25091
|
holeOffsetY: number | string;
|
|
25087
25092
|
portHints?: PortHints;
|
|
25093
|
+
solderMaskMargin?: Distance;
|
|
25088
25094
|
}
|
|
25089
25095
|
type PlatedHoleProps = CirclePlatedHoleProps | OvalPlatedHoleProps | PillPlatedHoleProps | CircularHoleWithRectPlatedProps | PillWithRectPadPlatedHoleProps | HoleWithPolygonPadPlatedHoleProps;
|
|
25090
25096
|
declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
@@ -25147,6 +25153,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25147
25153
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25148
25154
|
outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25149
25155
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25156
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25150
25157
|
}, "strip", z.ZodTypeAny, {
|
|
25151
25158
|
shape: "circle";
|
|
25152
25159
|
holeDiameter: number;
|
|
@@ -25176,6 +25183,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25176
25183
|
name?: string | undefined;
|
|
25177
25184
|
connectsTo?: string | string[] | undefined;
|
|
25178
25185
|
portHints?: (string | number)[] | undefined;
|
|
25186
|
+
solderMaskMargin?: number | undefined;
|
|
25179
25187
|
}, {
|
|
25180
25188
|
shape: "circle";
|
|
25181
25189
|
holeDiameter: string | number;
|
|
@@ -25205,6 +25213,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25205
25213
|
name?: string | undefined;
|
|
25206
25214
|
connectsTo?: string | string[] | undefined;
|
|
25207
25215
|
portHints?: (string | number)[] | undefined;
|
|
25216
|
+
solderMaskMargin?: string | number | undefined;
|
|
25208
25217
|
}>, z.ZodObject<Omit<{
|
|
25209
25218
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25210
25219
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -25269,6 +25278,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25269
25278
|
innerWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25270
25279
|
innerHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25271
25280
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25281
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25272
25282
|
}, "strip", z.ZodTypeAny, {
|
|
25273
25283
|
shape: "oval";
|
|
25274
25284
|
outerWidth: number;
|
|
@@ -25299,6 +25309,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25299
25309
|
name?: string | undefined;
|
|
25300
25310
|
connectsTo?: string | string[] | undefined;
|
|
25301
25311
|
portHints?: (string | number)[] | undefined;
|
|
25312
|
+
solderMaskMargin?: number | undefined;
|
|
25302
25313
|
holeWidth?: number | undefined;
|
|
25303
25314
|
holeHeight?: number | undefined;
|
|
25304
25315
|
innerWidth?: number | undefined;
|
|
@@ -25335,6 +25346,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25335
25346
|
name?: string | undefined;
|
|
25336
25347
|
connectsTo?: string | string[] | undefined;
|
|
25337
25348
|
portHints?: (string | number)[] | undefined;
|
|
25349
|
+
solderMaskMargin?: string | number | undefined;
|
|
25338
25350
|
innerWidth?: string | number | undefined;
|
|
25339
25351
|
innerHeight?: string | number | undefined;
|
|
25340
25352
|
}>, z.ZodObject<Omit<{
|
|
@@ -25404,6 +25416,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25404
25416
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25405
25417
|
holeOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25406
25418
|
holeOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25419
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25407
25420
|
}, "strip", z.ZodTypeAny, {
|
|
25408
25421
|
shape: "pill";
|
|
25409
25422
|
outerWidth: number;
|
|
@@ -25434,6 +25447,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25434
25447
|
name?: string | undefined;
|
|
25435
25448
|
connectsTo?: string | string[] | undefined;
|
|
25436
25449
|
portHints?: (string | number)[] | undefined;
|
|
25450
|
+
solderMaskMargin?: number | undefined;
|
|
25437
25451
|
holeWidth?: number | undefined;
|
|
25438
25452
|
holeHeight?: number | undefined;
|
|
25439
25453
|
innerWidth?: number | undefined;
|
|
@@ -25473,6 +25487,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25473
25487
|
name?: string | undefined;
|
|
25474
25488
|
connectsTo?: string | string[] | undefined;
|
|
25475
25489
|
portHints?: (string | number)[] | undefined;
|
|
25490
|
+
solderMaskMargin?: string | number | undefined;
|
|
25476
25491
|
innerWidth?: string | number | undefined;
|
|
25477
25492
|
innerHeight?: string | number | undefined;
|
|
25478
25493
|
rectPad?: boolean | undefined;
|
|
@@ -25544,6 +25559,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25544
25559
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25545
25560
|
holeOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25546
25561
|
holeOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25562
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25547
25563
|
}, "strip", z.ZodTypeAny, {
|
|
25548
25564
|
shape: "circular_hole_with_rect_pad";
|
|
25549
25565
|
holeDiameter: number;
|
|
@@ -25574,6 +25590,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25574
25590
|
name?: string | undefined;
|
|
25575
25591
|
connectsTo?: string | string[] | undefined;
|
|
25576
25592
|
portHints?: (string | number)[] | undefined;
|
|
25593
|
+
solderMaskMargin?: number | undefined;
|
|
25577
25594
|
holeOffsetX?: number | undefined;
|
|
25578
25595
|
holeOffsetY?: number | undefined;
|
|
25579
25596
|
rectBorderRadius?: number | undefined;
|
|
@@ -25609,6 +25626,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25609
25626
|
name?: string | undefined;
|
|
25610
25627
|
connectsTo?: string | string[] | undefined;
|
|
25611
25628
|
portHints?: (string | number)[] | undefined;
|
|
25629
|
+
solderMaskMargin?: string | number | undefined;
|
|
25612
25630
|
holeOffsetX?: string | number | undefined;
|
|
25613
25631
|
holeOffsetY?: string | number | undefined;
|
|
25614
25632
|
rectBorderRadius?: string | number | undefined;
|
|
@@ -25680,6 +25698,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25680
25698
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25681
25699
|
holeOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25682
25700
|
holeOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25701
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25683
25702
|
}, "strip", z.ZodTypeAny, {
|
|
25684
25703
|
shape: "pill_hole_with_rect_pad";
|
|
25685
25704
|
holeWidth: number;
|
|
@@ -25713,6 +25732,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25713
25732
|
name?: string | undefined;
|
|
25714
25733
|
connectsTo?: string | string[] | undefined;
|
|
25715
25734
|
portHints?: (string | number)[] | undefined;
|
|
25735
|
+
solderMaskMargin?: number | undefined;
|
|
25716
25736
|
holeOffsetX?: number | undefined;
|
|
25717
25737
|
holeOffsetY?: number | undefined;
|
|
25718
25738
|
}, {
|
|
@@ -25748,6 +25768,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25748
25768
|
name?: string | undefined;
|
|
25749
25769
|
connectsTo?: string | string[] | undefined;
|
|
25750
25770
|
portHints?: (string | number)[] | undefined;
|
|
25771
|
+
solderMaskMargin?: string | number | undefined;
|
|
25751
25772
|
holeOffsetX?: string | number | undefined;
|
|
25752
25773
|
holeOffsetY?: string | number | undefined;
|
|
25753
25774
|
}>, z.ZodObject<Omit<{
|
|
@@ -25824,6 +25845,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25824
25845
|
holeOffsetX: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25825
25846
|
holeOffsetY: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25826
25847
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
25848
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25827
25849
|
}, "strip", z.ZodTypeAny, {
|
|
25828
25850
|
shape: "hole_with_polygon_pad";
|
|
25829
25851
|
holeOffsetX: number;
|
|
@@ -25859,6 +25881,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25859
25881
|
connectsTo?: string | string[] | undefined;
|
|
25860
25882
|
holeDiameter?: number | undefined;
|
|
25861
25883
|
portHints?: (string | number)[] | undefined;
|
|
25884
|
+
solderMaskMargin?: number | undefined;
|
|
25862
25885
|
holeWidth?: number | undefined;
|
|
25863
25886
|
holeHeight?: number | undefined;
|
|
25864
25887
|
}, {
|
|
@@ -25896,6 +25919,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25896
25919
|
connectsTo?: string | string[] | undefined;
|
|
25897
25920
|
holeDiameter?: string | number | undefined;
|
|
25898
25921
|
portHints?: (string | number)[] | undefined;
|
|
25922
|
+
solderMaskMargin?: string | number | undefined;
|
|
25899
25923
|
holeWidth?: string | number | undefined;
|
|
25900
25924
|
holeHeight?: string | number | undefined;
|
|
25901
25925
|
}>]>, {
|
|
@@ -25927,6 +25951,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25927
25951
|
name?: string | undefined;
|
|
25928
25952
|
connectsTo?: string | string[] | undefined;
|
|
25929
25953
|
portHints?: (string | number)[] | undefined;
|
|
25954
|
+
solderMaskMargin?: number | undefined;
|
|
25930
25955
|
} | {
|
|
25931
25956
|
shape: "oval";
|
|
25932
25957
|
outerWidth: number;
|
|
@@ -25957,6 +25982,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25957
25982
|
name?: string | undefined;
|
|
25958
25983
|
connectsTo?: string | string[] | undefined;
|
|
25959
25984
|
portHints?: (string | number)[] | undefined;
|
|
25985
|
+
solderMaskMargin?: number | undefined;
|
|
25960
25986
|
holeWidth?: number | undefined;
|
|
25961
25987
|
holeHeight?: number | undefined;
|
|
25962
25988
|
innerWidth?: number | undefined;
|
|
@@ -25991,6 +26017,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
25991
26017
|
name?: string | undefined;
|
|
25992
26018
|
connectsTo?: string | string[] | undefined;
|
|
25993
26019
|
portHints?: (string | number)[] | undefined;
|
|
26020
|
+
solderMaskMargin?: number | undefined;
|
|
25994
26021
|
holeWidth?: number | undefined;
|
|
25995
26022
|
holeHeight?: number | undefined;
|
|
25996
26023
|
innerWidth?: number | undefined;
|
|
@@ -26028,6 +26055,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26028
26055
|
name?: string | undefined;
|
|
26029
26056
|
connectsTo?: string | string[] | undefined;
|
|
26030
26057
|
portHints?: (string | number)[] | undefined;
|
|
26058
|
+
solderMaskMargin?: number | undefined;
|
|
26031
26059
|
holeOffsetX?: number | undefined;
|
|
26032
26060
|
holeOffsetY?: number | undefined;
|
|
26033
26061
|
rectBorderRadius?: number | undefined;
|
|
@@ -26066,6 +26094,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26066
26094
|
name?: string | undefined;
|
|
26067
26095
|
connectsTo?: string | string[] | undefined;
|
|
26068
26096
|
portHints?: (string | number)[] | undefined;
|
|
26097
|
+
solderMaskMargin?: number | undefined;
|
|
26069
26098
|
holeOffsetX?: number | undefined;
|
|
26070
26099
|
holeOffsetY?: number | undefined;
|
|
26071
26100
|
} | {
|
|
@@ -26103,6 +26132,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26103
26132
|
connectsTo?: string | string[] | undefined;
|
|
26104
26133
|
holeDiameter?: number | undefined;
|
|
26105
26134
|
portHints?: (string | number)[] | undefined;
|
|
26135
|
+
solderMaskMargin?: number | undefined;
|
|
26106
26136
|
holeWidth?: number | undefined;
|
|
26107
26137
|
holeHeight?: number | undefined;
|
|
26108
26138
|
}, {
|
|
@@ -26134,6 +26164,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26134
26164
|
name?: string | undefined;
|
|
26135
26165
|
connectsTo?: string | string[] | undefined;
|
|
26136
26166
|
portHints?: (string | number)[] | undefined;
|
|
26167
|
+
solderMaskMargin?: string | number | undefined;
|
|
26137
26168
|
} | {
|
|
26138
26169
|
shape: "oval";
|
|
26139
26170
|
outerWidth: string | number;
|
|
@@ -26166,6 +26197,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26166
26197
|
name?: string | undefined;
|
|
26167
26198
|
connectsTo?: string | string[] | undefined;
|
|
26168
26199
|
portHints?: (string | number)[] | undefined;
|
|
26200
|
+
solderMaskMargin?: string | number | undefined;
|
|
26169
26201
|
innerWidth?: string | number | undefined;
|
|
26170
26202
|
innerHeight?: string | number | undefined;
|
|
26171
26203
|
} | {
|
|
@@ -26200,6 +26232,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26200
26232
|
name?: string | undefined;
|
|
26201
26233
|
connectsTo?: string | string[] | undefined;
|
|
26202
26234
|
portHints?: (string | number)[] | undefined;
|
|
26235
|
+
solderMaskMargin?: string | number | undefined;
|
|
26203
26236
|
innerWidth?: string | number | undefined;
|
|
26204
26237
|
innerHeight?: string | number | undefined;
|
|
26205
26238
|
rectPad?: boolean | undefined;
|
|
@@ -26235,6 +26268,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26235
26268
|
name?: string | undefined;
|
|
26236
26269
|
connectsTo?: string | string[] | undefined;
|
|
26237
26270
|
portHints?: (string | number)[] | undefined;
|
|
26271
|
+
solderMaskMargin?: string | number | undefined;
|
|
26238
26272
|
holeOffsetX?: string | number | undefined;
|
|
26239
26273
|
holeOffsetY?: string | number | undefined;
|
|
26240
26274
|
rectBorderRadius?: string | number | undefined;
|
|
@@ -26273,6 +26307,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26273
26307
|
name?: string | undefined;
|
|
26274
26308
|
connectsTo?: string | string[] | undefined;
|
|
26275
26309
|
portHints?: (string | number)[] | undefined;
|
|
26310
|
+
solderMaskMargin?: string | number | undefined;
|
|
26276
26311
|
holeOffsetX?: string | number | undefined;
|
|
26277
26312
|
holeOffsetY?: string | number | undefined;
|
|
26278
26313
|
} | {
|
|
@@ -26310,6 +26345,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
26310
26345
|
connectsTo?: string | string[] | undefined;
|
|
26311
26346
|
holeDiameter?: string | number | undefined;
|
|
26312
26347
|
portHints?: (string | number)[] | undefined;
|
|
26348
|
+
solderMaskMargin?: string | number | undefined;
|
|
26313
26349
|
holeWidth?: string | number | undefined;
|
|
26314
26350
|
holeHeight?: string | number | undefined;
|
|
26315
26351
|
}>;
|
|
@@ -34174,6 +34210,7 @@ interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34174
34210
|
cornerRadius?: Distance;
|
|
34175
34211
|
portHints?: PortHints;
|
|
34176
34212
|
coveredWithSolderMask?: boolean;
|
|
34213
|
+
solderMaskMargin?: Distance;
|
|
34177
34214
|
}
|
|
34178
34215
|
interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34179
34216
|
name?: string;
|
|
@@ -34184,6 +34221,7 @@ interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34184
34221
|
ccwRotation: number;
|
|
34185
34222
|
portHints?: PortHints;
|
|
34186
34223
|
coveredWithSolderMask?: boolean;
|
|
34224
|
+
solderMaskMargin?: Distance;
|
|
34187
34225
|
}
|
|
34188
34226
|
interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34189
34227
|
name?: string;
|
|
@@ -34191,6 +34229,7 @@ interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34191
34229
|
radius: Distance;
|
|
34192
34230
|
portHints?: PortHints;
|
|
34193
34231
|
coveredWithSolderMask?: boolean;
|
|
34232
|
+
solderMaskMargin?: Distance;
|
|
34194
34233
|
}
|
|
34195
34234
|
interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34196
34235
|
name?: string;
|
|
@@ -34200,6 +34239,7 @@ interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34200
34239
|
radius: Distance;
|
|
34201
34240
|
portHints?: PortHints;
|
|
34202
34241
|
coveredWithSolderMask?: boolean;
|
|
34242
|
+
solderMaskMargin?: Distance;
|
|
34203
34243
|
}
|
|
34204
34244
|
interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
34205
34245
|
name?: string;
|
|
@@ -34207,6 +34247,7 @@ interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
34207
34247
|
points: Point[];
|
|
34208
34248
|
portHints?: PortHints;
|
|
34209
34249
|
coveredWithSolderMask?: boolean;
|
|
34250
|
+
solderMaskMargin?: Distance;
|
|
34210
34251
|
}
|
|
34211
34252
|
type SmtPadProps = RectSmtPadProps | CircleSmtPadProps | RotatedRectSmtPadProps | PillSmtPadProps | PolygonSmtPadProps;
|
|
34212
34253
|
declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -34271,6 +34312,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34271
34312
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34272
34313
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34273
34314
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34315
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34274
34316
|
}, "strip", z.ZodTypeAny, {
|
|
34275
34317
|
shape: "rect";
|
|
34276
34318
|
width: number;
|
|
@@ -34300,6 +34342,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34300
34342
|
relative?: boolean | undefined;
|
|
34301
34343
|
name?: string | undefined;
|
|
34302
34344
|
portHints?: (string | number)[] | undefined;
|
|
34345
|
+
solderMaskMargin?: number | undefined;
|
|
34303
34346
|
rectBorderRadius?: number | undefined;
|
|
34304
34347
|
cornerRadius?: number | undefined;
|
|
34305
34348
|
coveredWithSolderMask?: boolean | undefined;
|
|
@@ -34334,6 +34377,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34334
34377
|
relative?: boolean | undefined;
|
|
34335
34378
|
name?: string | undefined;
|
|
34336
34379
|
portHints?: (string | number)[] | undefined;
|
|
34380
|
+
solderMaskMargin?: string | number | undefined;
|
|
34337
34381
|
rectBorderRadius?: string | number | undefined;
|
|
34338
34382
|
cornerRadius?: string | number | undefined;
|
|
34339
34383
|
coveredWithSolderMask?: boolean | undefined;
|
|
@@ -34400,6 +34444,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34400
34444
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34401
34445
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34402
34446
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34447
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34403
34448
|
}, "strip", z.ZodTypeAny, {
|
|
34404
34449
|
shape: "rotated_rect";
|
|
34405
34450
|
width: number;
|
|
@@ -34430,6 +34475,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34430
34475
|
relative?: boolean | undefined;
|
|
34431
34476
|
name?: string | undefined;
|
|
34432
34477
|
portHints?: (string | number)[] | undefined;
|
|
34478
|
+
solderMaskMargin?: number | undefined;
|
|
34433
34479
|
cornerRadius?: number | undefined;
|
|
34434
34480
|
coveredWithSolderMask?: boolean | undefined;
|
|
34435
34481
|
}, {
|
|
@@ -34464,6 +34510,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
34464
34510
|
relative?: boolean | undefined;
|
|
34465
34511
|
name?: string | undefined;
|
|
34466
34512
|
portHints?: (string | number)[] | undefined;
|
|
34513
|
+
solderMaskMargin?: string | number | undefined;
|
|
34467
34514
|
cornerRadius?: string | number | undefined;
|
|
34468
34515
|
coveredWithSolderMask?: boolean | undefined;
|
|
34469
34516
|
}>;
|
|
@@ -34526,6 +34573,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
34526
34573
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
34527
34574
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34528
34575
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34576
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34529
34577
|
}, "strip", z.ZodTypeAny, {
|
|
34530
34578
|
shape: "circle";
|
|
34531
34579
|
radius: number;
|
|
@@ -34554,6 +34602,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
34554
34602
|
relative?: boolean | undefined;
|
|
34555
34603
|
name?: string | undefined;
|
|
34556
34604
|
portHints?: (string | number)[] | undefined;
|
|
34605
|
+
solderMaskMargin?: number | undefined;
|
|
34557
34606
|
coveredWithSolderMask?: boolean | undefined;
|
|
34558
34607
|
}, {
|
|
34559
34608
|
shape: "circle";
|
|
@@ -34585,6 +34634,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
34585
34634
|
relative?: boolean | undefined;
|
|
34586
34635
|
name?: string | undefined;
|
|
34587
34636
|
portHints?: (string | number)[] | undefined;
|
|
34637
|
+
solderMaskMargin?: string | number | undefined;
|
|
34588
34638
|
coveredWithSolderMask?: boolean | undefined;
|
|
34589
34639
|
}>;
|
|
34590
34640
|
declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -34648,6 +34698,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
34648
34698
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
34649
34699
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34650
34700
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34701
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34651
34702
|
}, "strip", z.ZodTypeAny, {
|
|
34652
34703
|
shape: "pill";
|
|
34653
34704
|
width: number;
|
|
@@ -34678,6 +34729,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
34678
34729
|
relative?: boolean | undefined;
|
|
34679
34730
|
name?: string | undefined;
|
|
34680
34731
|
portHints?: (string | number)[] | undefined;
|
|
34732
|
+
solderMaskMargin?: number | undefined;
|
|
34681
34733
|
coveredWithSolderMask?: boolean | undefined;
|
|
34682
34734
|
}, {
|
|
34683
34735
|
shape: "pill";
|
|
@@ -34711,6 +34763,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
34711
34763
|
relative?: boolean | undefined;
|
|
34712
34764
|
name?: string | undefined;
|
|
34713
34765
|
portHints?: (string | number)[] | undefined;
|
|
34766
|
+
solderMaskMargin?: string | number | undefined;
|
|
34714
34767
|
coveredWithSolderMask?: boolean | undefined;
|
|
34715
34768
|
}>;
|
|
34716
34769
|
declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -34781,6 +34834,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
34781
34834
|
}>, "many">;
|
|
34782
34835
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34783
34836
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34837
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34784
34838
|
}, "strip", z.ZodTypeAny, {
|
|
34785
34839
|
shape: "polygon";
|
|
34786
34840
|
points: {
|
|
@@ -34812,6 +34866,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
34812
34866
|
relative?: boolean | undefined;
|
|
34813
34867
|
name?: string | undefined;
|
|
34814
34868
|
portHints?: (string | number)[] | undefined;
|
|
34869
|
+
solderMaskMargin?: number | undefined;
|
|
34815
34870
|
coveredWithSolderMask?: boolean | undefined;
|
|
34816
34871
|
}, {
|
|
34817
34872
|
shape: "polygon";
|
|
@@ -34846,6 +34901,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
34846
34901
|
relative?: boolean | undefined;
|
|
34847
34902
|
name?: string | undefined;
|
|
34848
34903
|
portHints?: (string | number)[] | undefined;
|
|
34904
|
+
solderMaskMargin?: string | number | undefined;
|
|
34849
34905
|
coveredWithSolderMask?: boolean | undefined;
|
|
34850
34906
|
}>;
|
|
34851
34907
|
declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
@@ -34907,6 +34963,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
34907
34963
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
34908
34964
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
34909
34965
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
34966
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
34910
34967
|
}, "strip", z.ZodTypeAny, {
|
|
34911
34968
|
shape: "circle";
|
|
34912
34969
|
radius: number;
|
|
@@ -34935,6 +34992,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
34935
34992
|
relative?: boolean | undefined;
|
|
34936
34993
|
name?: string | undefined;
|
|
34937
34994
|
portHints?: (string | number)[] | undefined;
|
|
34995
|
+
solderMaskMargin?: number | undefined;
|
|
34938
34996
|
coveredWithSolderMask?: boolean | undefined;
|
|
34939
34997
|
}, {
|
|
34940
34998
|
shape: "circle";
|
|
@@ -34966,6 +35024,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
34966
35024
|
relative?: boolean | undefined;
|
|
34967
35025
|
name?: string | undefined;
|
|
34968
35026
|
portHints?: (string | number)[] | undefined;
|
|
35027
|
+
solderMaskMargin?: string | number | undefined;
|
|
34969
35028
|
coveredWithSolderMask?: boolean | undefined;
|
|
34970
35029
|
}>, z.ZodObject<Omit<{
|
|
34971
35030
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -35029,6 +35088,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35029
35088
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35030
35089
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35031
35090
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35091
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35032
35092
|
}, "strip", z.ZodTypeAny, {
|
|
35033
35093
|
shape: "rect";
|
|
35034
35094
|
width: number;
|
|
@@ -35058,6 +35118,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35058
35118
|
relative?: boolean | undefined;
|
|
35059
35119
|
name?: string | undefined;
|
|
35060
35120
|
portHints?: (string | number)[] | undefined;
|
|
35121
|
+
solderMaskMargin?: number | undefined;
|
|
35061
35122
|
rectBorderRadius?: number | undefined;
|
|
35062
35123
|
cornerRadius?: number | undefined;
|
|
35063
35124
|
coveredWithSolderMask?: boolean | undefined;
|
|
@@ -35092,6 +35153,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35092
35153
|
relative?: boolean | undefined;
|
|
35093
35154
|
name?: string | undefined;
|
|
35094
35155
|
portHints?: (string | number)[] | undefined;
|
|
35156
|
+
solderMaskMargin?: string | number | undefined;
|
|
35095
35157
|
rectBorderRadius?: string | number | undefined;
|
|
35096
35158
|
cornerRadius?: string | number | undefined;
|
|
35097
35159
|
coveredWithSolderMask?: boolean | undefined;
|
|
@@ -35157,6 +35219,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35157
35219
|
cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35158
35220
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35159
35221
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35222
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35160
35223
|
}, "strip", z.ZodTypeAny, {
|
|
35161
35224
|
shape: "rotated_rect";
|
|
35162
35225
|
width: number;
|
|
@@ -35187,6 +35250,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35187
35250
|
relative?: boolean | undefined;
|
|
35188
35251
|
name?: string | undefined;
|
|
35189
35252
|
portHints?: (string | number)[] | undefined;
|
|
35253
|
+
solderMaskMargin?: number | undefined;
|
|
35190
35254
|
cornerRadius?: number | undefined;
|
|
35191
35255
|
coveredWithSolderMask?: boolean | undefined;
|
|
35192
35256
|
}, {
|
|
@@ -35221,6 +35285,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35221
35285
|
relative?: boolean | undefined;
|
|
35222
35286
|
name?: string | undefined;
|
|
35223
35287
|
portHints?: (string | number)[] | undefined;
|
|
35288
|
+
solderMaskMargin?: string | number | undefined;
|
|
35224
35289
|
cornerRadius?: string | number | undefined;
|
|
35225
35290
|
coveredWithSolderMask?: boolean | undefined;
|
|
35226
35291
|
}>, z.ZodObject<Omit<{
|
|
@@ -35284,6 +35349,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35284
35349
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
35285
35350
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35286
35351
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35352
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35287
35353
|
}, "strip", z.ZodTypeAny, {
|
|
35288
35354
|
shape: "pill";
|
|
35289
35355
|
width: number;
|
|
@@ -35314,6 +35380,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35314
35380
|
relative?: boolean | undefined;
|
|
35315
35381
|
name?: string | undefined;
|
|
35316
35382
|
portHints?: (string | number)[] | undefined;
|
|
35383
|
+
solderMaskMargin?: number | undefined;
|
|
35317
35384
|
coveredWithSolderMask?: boolean | undefined;
|
|
35318
35385
|
}, {
|
|
35319
35386
|
shape: "pill";
|
|
@@ -35347,6 +35414,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35347
35414
|
relative?: boolean | undefined;
|
|
35348
35415
|
name?: string | undefined;
|
|
35349
35416
|
portHints?: (string | number)[] | undefined;
|
|
35417
|
+
solderMaskMargin?: string | number | undefined;
|
|
35350
35418
|
coveredWithSolderMask?: boolean | undefined;
|
|
35351
35419
|
}>, z.ZodObject<Omit<{
|
|
35352
35420
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -35416,6 +35484,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35416
35484
|
}>, "many">;
|
|
35417
35485
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
35418
35486
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
35487
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35419
35488
|
}, "strip", z.ZodTypeAny, {
|
|
35420
35489
|
shape: "polygon";
|
|
35421
35490
|
points: {
|
|
@@ -35447,6 +35516,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35447
35516
|
relative?: boolean | undefined;
|
|
35448
35517
|
name?: string | undefined;
|
|
35449
35518
|
portHints?: (string | number)[] | undefined;
|
|
35519
|
+
solderMaskMargin?: number | undefined;
|
|
35450
35520
|
coveredWithSolderMask?: boolean | undefined;
|
|
35451
35521
|
}, {
|
|
35452
35522
|
shape: "polygon";
|
|
@@ -35481,6 +35551,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
35481
35551
|
relative?: boolean | undefined;
|
|
35482
35552
|
name?: string | undefined;
|
|
35483
35553
|
portHints?: (string | number)[] | undefined;
|
|
35554
|
+
solderMaskMargin?: string | number | undefined;
|
|
35484
35555
|
coveredWithSolderMask?: boolean | undefined;
|
|
35485
35556
|
}>]>;
|
|
35486
35557
|
type InferredSmtPadProps = z.input<typeof smtPadProps>;
|
|
@@ -35951,18 +36022,21 @@ interface CircleHoleProps extends PcbLayoutProps {
|
|
|
35951
36022
|
shape?: "circle";
|
|
35952
36023
|
diameter?: Distance;
|
|
35953
36024
|
radius?: Distance;
|
|
36025
|
+
solderMaskMargin?: Distance;
|
|
35954
36026
|
}
|
|
35955
36027
|
interface PillHoleProps extends PcbLayoutProps {
|
|
35956
36028
|
name?: string;
|
|
35957
36029
|
shape: "pill";
|
|
35958
36030
|
width: Distance;
|
|
35959
36031
|
height: Distance;
|
|
36032
|
+
solderMaskMargin?: Distance;
|
|
35960
36033
|
}
|
|
35961
36034
|
interface RectHoleProps extends PcbLayoutProps {
|
|
35962
36035
|
name?: string;
|
|
35963
36036
|
shape: "rect";
|
|
35964
36037
|
width: Distance;
|
|
35965
36038
|
height: Distance;
|
|
36039
|
+
solderMaskMargin?: Distance;
|
|
35966
36040
|
}
|
|
35967
36041
|
type HoleProps = CircleHoleProps | PillHoleProps | RectHoleProps;
|
|
35968
36042
|
declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
@@ -36023,6 +36097,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36023
36097
|
shape: z.ZodOptional<z.ZodLiteral<"circle">>;
|
|
36024
36098
|
diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36025
36099
|
radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36100
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36026
36101
|
}, "strip", z.ZodTypeAny, {
|
|
36027
36102
|
pcbX?: number | undefined;
|
|
36028
36103
|
pcbY?: number | undefined;
|
|
@@ -36050,6 +36125,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36050
36125
|
relative?: boolean | undefined;
|
|
36051
36126
|
name?: string | undefined;
|
|
36052
36127
|
shape?: "circle" | undefined;
|
|
36128
|
+
solderMaskMargin?: number | undefined;
|
|
36053
36129
|
radius?: number | undefined;
|
|
36054
36130
|
diameter?: number | undefined;
|
|
36055
36131
|
}, {
|
|
@@ -36081,6 +36157,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36081
36157
|
relative?: boolean | undefined;
|
|
36082
36158
|
name?: string | undefined;
|
|
36083
36159
|
shape?: "circle" | undefined;
|
|
36160
|
+
solderMaskMargin?: string | number | undefined;
|
|
36084
36161
|
radius?: string | number | undefined;
|
|
36085
36162
|
diameter?: string | number | undefined;
|
|
36086
36163
|
}>, {
|
|
@@ -36112,6 +36189,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36112
36189
|
relative?: boolean | undefined;
|
|
36113
36190
|
name?: string | undefined;
|
|
36114
36191
|
shape?: "circle" | undefined;
|
|
36192
|
+
solderMaskMargin?: number | undefined;
|
|
36115
36193
|
}, {
|
|
36116
36194
|
pcbX?: string | number | undefined;
|
|
36117
36195
|
pcbY?: string | number | undefined;
|
|
@@ -36141,6 +36219,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36141
36219
|
relative?: boolean | undefined;
|
|
36142
36220
|
name?: string | undefined;
|
|
36143
36221
|
shape?: "circle" | undefined;
|
|
36222
|
+
solderMaskMargin?: string | number | undefined;
|
|
36144
36223
|
radius?: string | number | undefined;
|
|
36145
36224
|
diameter?: string | number | undefined;
|
|
36146
36225
|
}>, z.ZodObject<{
|
|
@@ -36201,6 +36280,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36201
36280
|
shape: z.ZodLiteral<"pill">;
|
|
36202
36281
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36203
36282
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36283
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36204
36284
|
}, "strip", z.ZodTypeAny, {
|
|
36205
36285
|
shape: "pill";
|
|
36206
36286
|
width: number;
|
|
@@ -36230,6 +36310,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36230
36310
|
pcbRelative?: boolean | undefined;
|
|
36231
36311
|
relative?: boolean | undefined;
|
|
36232
36312
|
name?: string | undefined;
|
|
36313
|
+
solderMaskMargin?: number | undefined;
|
|
36233
36314
|
}, {
|
|
36234
36315
|
shape: "pill";
|
|
36235
36316
|
width: string | number;
|
|
@@ -36261,6 +36342,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36261
36342
|
pcbRelative?: boolean | undefined;
|
|
36262
36343
|
relative?: boolean | undefined;
|
|
36263
36344
|
name?: string | undefined;
|
|
36345
|
+
solderMaskMargin?: string | number | undefined;
|
|
36264
36346
|
}>, z.ZodObject<{
|
|
36265
36347
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36266
36348
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -36319,6 +36401,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36319
36401
|
shape: z.ZodLiteral<"rect">;
|
|
36320
36402
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36321
36403
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
36404
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
36322
36405
|
}, "strip", z.ZodTypeAny, {
|
|
36323
36406
|
shape: "rect";
|
|
36324
36407
|
width: number;
|
|
@@ -36348,6 +36431,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36348
36431
|
pcbRelative?: boolean | undefined;
|
|
36349
36432
|
relative?: boolean | undefined;
|
|
36350
36433
|
name?: string | undefined;
|
|
36434
|
+
solderMaskMargin?: number | undefined;
|
|
36351
36435
|
}, {
|
|
36352
36436
|
shape: "rect";
|
|
36353
36437
|
width: string | number;
|
|
@@ -36379,6 +36463,7 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
36379
36463
|
pcbRelative?: boolean | undefined;
|
|
36380
36464
|
relative?: boolean | undefined;
|
|
36381
36465
|
name?: string | undefined;
|
|
36466
|
+
solderMaskMargin?: string | number | undefined;
|
|
36382
36467
|
}>]>;
|
|
36383
36468
|
type InferredHoleProps = z.input<typeof holeProps>;
|
|
36384
36469
|
|