circuit-json 0.0.461 → 0.0.463

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/README.md CHANGED
@@ -1344,6 +1344,7 @@ interface PcbBoard extends ManufacturingDrcProperties {
1344
1344
  is_subcircuit?: boolean
1345
1345
  subcircuit_id?: string
1346
1346
  is_mounted_to_carrier_board?: boolean
1347
+ is_via_in_pad_allowed?: boolean
1347
1348
  width?: Length
1348
1349
  height?: Length
1349
1350
  display_offset_x?: string
package/dist/index.d.mts CHANGED
@@ -5749,6 +5749,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
5749
5749
  pcb_port_id: z.ZodOptional<z.ZodString>;
5750
5750
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
5751
5751
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
5752
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
5752
5753
  }, "strip", z.ZodTypeAny, {
5753
5754
  type: "pcb_smtpad";
5754
5755
  x: number;
@@ -5766,6 +5767,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
5766
5767
  soldermask_margin?: number | undefined;
5767
5768
  port_hints?: string[] | undefined;
5768
5769
  pcb_port_id?: string | undefined;
5770
+ solderpaste_margin?: number | undefined;
5769
5771
  }, {
5770
5772
  type: "pcb_smtpad";
5771
5773
  x: string | number;
@@ -5785,6 +5787,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
5785
5787
  port_hints?: string[] | undefined;
5786
5788
  pcb_port_id?: string | undefined;
5787
5789
  pcb_smtpad_id?: string | undefined;
5790
+ solderpaste_margin?: number | undefined;
5788
5791
  }>;
5789
5792
  declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5790
5793
  type: z.ZodLiteral<"pcb_smtpad">;
@@ -5809,6 +5812,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5809
5812
  pcb_port_id: z.ZodOptional<z.ZodString>;
5810
5813
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
5811
5814
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
5815
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
5812
5816
  }, "strip", z.ZodTypeAny, {
5813
5817
  type: "pcb_smtpad";
5814
5818
  x: number;
@@ -5824,6 +5828,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5824
5828
  soldermask_margin?: number | undefined;
5825
5829
  port_hints?: string[] | undefined;
5826
5830
  pcb_port_id?: string | undefined;
5831
+ solderpaste_margin?: number | undefined;
5827
5832
  }, {
5828
5833
  type: "pcb_smtpad";
5829
5834
  x: string | number;
@@ -5841,6 +5846,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5841
5846
  port_hints?: string[] | undefined;
5842
5847
  pcb_port_id?: string | undefined;
5843
5848
  pcb_smtpad_id?: string | undefined;
5849
+ solderpaste_margin?: number | undefined;
5844
5850
  }>, z.ZodObject<{
5845
5851
  type: z.ZodLiteral<"pcb_smtpad">;
5846
5852
  shape: z.ZodLiteral<"rect">;
@@ -5871,6 +5877,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5871
5877
  soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
5872
5878
  soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
5873
5879
  soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
5880
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
5874
5881
  }, "strip", z.ZodTypeAny, {
5875
5882
  type: "pcb_smtpad";
5876
5883
  x: number;
@@ -5888,6 +5895,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5888
5895
  port_hints?: string[] | undefined;
5889
5896
  pcb_port_id?: string | undefined;
5890
5897
  rect_border_radius?: number | undefined;
5898
+ solderpaste_margin?: number | undefined;
5891
5899
  corner_radius?: number | undefined;
5892
5900
  soldermask_margin_left?: number | undefined;
5893
5901
  soldermask_margin_top?: number | undefined;
@@ -5912,6 +5920,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5912
5920
  pcb_port_id?: string | undefined;
5913
5921
  rect_border_radius?: number | undefined;
5914
5922
  pcb_smtpad_id?: string | undefined;
5923
+ solderpaste_margin?: number | undefined;
5915
5924
  corner_radius?: number | undefined;
5916
5925
  soldermask_margin_left?: number | undefined;
5917
5926
  soldermask_margin_top?: number | undefined;
@@ -5948,6 +5957,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5948
5957
  soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
5949
5958
  soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
5950
5959
  soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
5960
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
5951
5961
  }, "strip", z.ZodTypeAny, {
5952
5962
  type: "pcb_smtpad";
5953
5963
  x: number;
@@ -5966,6 +5976,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5966
5976
  port_hints?: string[] | undefined;
5967
5977
  pcb_port_id?: string | undefined;
5968
5978
  rect_border_radius?: number | undefined;
5979
+ solderpaste_margin?: number | undefined;
5969
5980
  corner_radius?: number | undefined;
5970
5981
  soldermask_margin_left?: number | undefined;
5971
5982
  soldermask_margin_top?: number | undefined;
@@ -5991,6 +6002,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5991
6002
  pcb_port_id?: string | undefined;
5992
6003
  rect_border_radius?: number | undefined;
5993
6004
  pcb_smtpad_id?: string | undefined;
6005
+ solderpaste_margin?: number | undefined;
5994
6006
  corner_radius?: number | undefined;
5995
6007
  soldermask_margin_left?: number | undefined;
5996
6008
  soldermask_margin_top?: number | undefined;
@@ -6022,6 +6034,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6022
6034
  pcb_port_id: z.ZodOptional<z.ZodString>;
6023
6035
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
6024
6036
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
6037
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
6025
6038
  }, "strip", z.ZodTypeAny, {
6026
6039
  type: "pcb_smtpad";
6027
6040
  x: number;
@@ -6040,6 +6053,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6040
6053
  soldermask_margin?: number | undefined;
6041
6054
  port_hints?: string[] | undefined;
6042
6055
  pcb_port_id?: string | undefined;
6056
+ solderpaste_margin?: number | undefined;
6043
6057
  }, {
6044
6058
  type: "pcb_smtpad";
6045
6059
  x: string | number;
@@ -6060,6 +6074,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6060
6074
  port_hints?: string[] | undefined;
6061
6075
  pcb_port_id?: string | undefined;
6062
6076
  pcb_smtpad_id?: string | undefined;
6077
+ solderpaste_margin?: number | undefined;
6063
6078
  }>, z.ZodObject<{
6064
6079
  type: z.ZodLiteral<"pcb_smtpad">;
6065
6080
  shape: z.ZodLiteral<"pill">;
@@ -6085,6 +6100,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6085
6100
  pcb_port_id: z.ZodOptional<z.ZodString>;
6086
6101
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
6087
6102
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
6103
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
6088
6104
  }, "strip", z.ZodTypeAny, {
6089
6105
  type: "pcb_smtpad";
6090
6106
  x: number;
@@ -6102,6 +6118,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6102
6118
  soldermask_margin?: number | undefined;
6103
6119
  port_hints?: string[] | undefined;
6104
6120
  pcb_port_id?: string | undefined;
6121
+ solderpaste_margin?: number | undefined;
6105
6122
  }, {
6106
6123
  type: "pcb_smtpad";
6107
6124
  x: string | number;
@@ -6121,6 +6138,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6121
6138
  port_hints?: string[] | undefined;
6122
6139
  pcb_port_id?: string | undefined;
6123
6140
  pcb_smtpad_id?: string | undefined;
6141
+ solderpaste_margin?: number | undefined;
6124
6142
  }>, z.ZodObject<{
6125
6143
  type: z.ZodLiteral<"pcb_smtpad">;
6126
6144
  shape: z.ZodLiteral<"polygon">;
@@ -6151,6 +6169,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6151
6169
  pcb_port_id: z.ZodOptional<z.ZodString>;
6152
6170
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
6153
6171
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
6172
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
6154
6173
  }, "strip", z.ZodTypeAny, {
6155
6174
  type: "pcb_smtpad";
6156
6175
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
@@ -6167,6 +6186,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6167
6186
  soldermask_margin?: number | undefined;
6168
6187
  port_hints?: string[] | undefined;
6169
6188
  pcb_port_id?: string | undefined;
6189
+ solderpaste_margin?: number | undefined;
6170
6190
  }, {
6171
6191
  type: "pcb_smtpad";
6172
6192
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
@@ -6185,6 +6205,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6185
6205
  port_hints?: string[] | undefined;
6186
6206
  pcb_port_id?: string | undefined;
6187
6207
  pcb_smtpad_id?: string | undefined;
6208
+ solderpaste_margin?: number | undefined;
6188
6209
  }>]>;
6189
6210
  type PCBSMTPadInput = z.input<typeof pcb_smtpad>;
6190
6211
  /**
@@ -6205,6 +6226,7 @@ interface PcbSmtPadCircle {
6205
6226
  pcb_port_id?: string;
6206
6227
  is_covered_with_solder_mask?: boolean;
6207
6228
  soldermask_margin?: number;
6229
+ solderpaste_margin?: number;
6208
6230
  }
6209
6231
  /**
6210
6232
  * Defines a rectangular SMT pad on the PCB
@@ -6231,6 +6253,7 @@ interface PcbSmtPadRect {
6231
6253
  soldermask_margin_top?: number;
6232
6254
  soldermask_margin_right?: number;
6233
6255
  soldermask_margin_bottom?: number;
6256
+ solderpaste_margin?: number;
6234
6257
  }
6235
6258
  /**
6236
6259
  * Defines a rotated rectangular SMT pad on the PCB
@@ -6258,6 +6281,7 @@ interface PcbSmtPadRotatedRect {
6258
6281
  soldermask_margin_top?: number;
6259
6282
  soldermask_margin_right?: number;
6260
6283
  soldermask_margin_bottom?: number;
6284
+ solderpaste_margin?: number;
6261
6285
  }
6262
6286
  /**
6263
6287
  * Defines a pill-shaped SMT pad on the PCB (rounded rectangle).
@@ -6279,6 +6303,7 @@ interface PcbSmtPadPill {
6279
6303
  pcb_port_id?: string;
6280
6304
  is_covered_with_solder_mask?: boolean;
6281
6305
  soldermask_margin?: number;
6306
+ solderpaste_margin?: number;
6282
6307
  }
6283
6308
  /**
6284
6309
  * Defines a rotated pill-shaped SMT pad on the PCB
@@ -6301,6 +6326,7 @@ interface PcbSmtPadRotatedPill {
6301
6326
  pcb_port_id?: string;
6302
6327
  is_covered_with_solder_mask?: boolean;
6303
6328
  soldermask_margin?: number;
6329
+ solderpaste_margin?: number;
6304
6330
  }
6305
6331
  /**
6306
6332
  * Defines a polygonal SMT pad on the PCB
@@ -6318,6 +6344,7 @@ interface PcbSmtPadPolygon {
6318
6344
  pcb_port_id?: string;
6319
6345
  is_covered_with_solder_mask?: boolean;
6320
6346
  soldermask_margin?: number;
6347
+ solderpaste_margin?: number;
6321
6348
  }
6322
6349
  type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadRotatedPill | PcbSmtPadPill | PcbSmtPadPolygon;
6323
6350
  /**
@@ -8029,6 +8056,7 @@ declare const pcb_board: z.ZodObject<{
8029
8056
  is_subcircuit: z.ZodOptional<z.ZodBoolean>;
8030
8057
  subcircuit_id: z.ZodOptional<z.ZodString>;
8031
8058
  is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
8059
+ is_via_in_pad_allowed: z.ZodOptional<z.ZodBoolean>;
8032
8060
  width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8033
8061
  height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8034
8062
  center: z.ZodObject<{
@@ -8120,6 +8148,7 @@ declare const pcb_board: z.ZodObject<{
8120
8148
  carrier_pcb_board_id?: string | undefined;
8121
8149
  is_subcircuit?: boolean | undefined;
8122
8150
  is_mounted_to_carrier_board?: boolean | undefined;
8151
+ is_via_in_pad_allowed?: boolean | undefined;
8123
8152
  outline?: {
8124
8153
  x: number;
8125
8154
  y: number;
@@ -8161,6 +8190,7 @@ declare const pcb_board: z.ZodObject<{
8161
8190
  carrier_pcb_board_id?: string | undefined;
8162
8191
  is_subcircuit?: boolean | undefined;
8163
8192
  is_mounted_to_carrier_board?: boolean | undefined;
8193
+ is_via_in_pad_allowed?: boolean | undefined;
8164
8194
  num_layers?: number | undefined;
8165
8195
  outline?: {
8166
8196
  x: string | number;
@@ -8181,6 +8211,7 @@ interface PcbBoard extends ManufacturingDrcProperties {
8181
8211
  is_subcircuit?: boolean;
8182
8212
  subcircuit_id?: string;
8183
8213
  is_mounted_to_carrier_board?: boolean;
8214
+ is_via_in_pad_allowed?: boolean;
8184
8215
  width?: Length;
8185
8216
  height?: Length;
8186
8217
  display_offset_x?: string;
@@ -42107,6 +42138,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42107
42138
  pcb_port_id: z.ZodOptional<z.ZodString>;
42108
42139
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
42109
42140
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
42141
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
42110
42142
  }, "strip", z.ZodTypeAny, {
42111
42143
  type: "pcb_smtpad";
42112
42144
  x: number;
@@ -42122,6 +42154,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42122
42154
  soldermask_margin?: number | undefined;
42123
42155
  port_hints?: string[] | undefined;
42124
42156
  pcb_port_id?: string | undefined;
42157
+ solderpaste_margin?: number | undefined;
42125
42158
  }, {
42126
42159
  type: "pcb_smtpad";
42127
42160
  x: string | number;
@@ -42139,6 +42172,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42139
42172
  port_hints?: string[] | undefined;
42140
42173
  pcb_port_id?: string | undefined;
42141
42174
  pcb_smtpad_id?: string | undefined;
42175
+ solderpaste_margin?: number | undefined;
42142
42176
  }>, z.ZodObject<{
42143
42177
  type: z.ZodLiteral<"pcb_smtpad">;
42144
42178
  shape: z.ZodLiteral<"rect">;
@@ -42169,6 +42203,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42169
42203
  soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
42170
42204
  soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
42171
42205
  soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
42206
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
42172
42207
  }, "strip", z.ZodTypeAny, {
42173
42208
  type: "pcb_smtpad";
42174
42209
  x: number;
@@ -42186,6 +42221,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42186
42221
  port_hints?: string[] | undefined;
42187
42222
  pcb_port_id?: string | undefined;
42188
42223
  rect_border_radius?: number | undefined;
42224
+ solderpaste_margin?: number | undefined;
42189
42225
  corner_radius?: number | undefined;
42190
42226
  soldermask_margin_left?: number | undefined;
42191
42227
  soldermask_margin_top?: number | undefined;
@@ -42210,6 +42246,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42210
42246
  pcb_port_id?: string | undefined;
42211
42247
  rect_border_radius?: number | undefined;
42212
42248
  pcb_smtpad_id?: string | undefined;
42249
+ solderpaste_margin?: number | undefined;
42213
42250
  corner_radius?: number | undefined;
42214
42251
  soldermask_margin_left?: number | undefined;
42215
42252
  soldermask_margin_top?: number | undefined;
@@ -42246,6 +42283,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42246
42283
  soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
42247
42284
  soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
42248
42285
  soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
42286
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
42249
42287
  }, "strip", z.ZodTypeAny, {
42250
42288
  type: "pcb_smtpad";
42251
42289
  x: number;
@@ -42264,6 +42302,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42264
42302
  port_hints?: string[] | undefined;
42265
42303
  pcb_port_id?: string | undefined;
42266
42304
  rect_border_radius?: number | undefined;
42305
+ solderpaste_margin?: number | undefined;
42267
42306
  corner_radius?: number | undefined;
42268
42307
  soldermask_margin_left?: number | undefined;
42269
42308
  soldermask_margin_top?: number | undefined;
@@ -42289,6 +42328,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42289
42328
  pcb_port_id?: string | undefined;
42290
42329
  rect_border_radius?: number | undefined;
42291
42330
  pcb_smtpad_id?: string | undefined;
42331
+ solderpaste_margin?: number | undefined;
42292
42332
  corner_radius?: number | undefined;
42293
42333
  soldermask_margin_left?: number | undefined;
42294
42334
  soldermask_margin_top?: number | undefined;
@@ -42320,6 +42360,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42320
42360
  pcb_port_id: z.ZodOptional<z.ZodString>;
42321
42361
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
42322
42362
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
42363
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
42323
42364
  }, "strip", z.ZodTypeAny, {
42324
42365
  type: "pcb_smtpad";
42325
42366
  x: number;
@@ -42338,6 +42379,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42338
42379
  soldermask_margin?: number | undefined;
42339
42380
  port_hints?: string[] | undefined;
42340
42381
  pcb_port_id?: string | undefined;
42382
+ solderpaste_margin?: number | undefined;
42341
42383
  }, {
42342
42384
  type: "pcb_smtpad";
42343
42385
  x: string | number;
@@ -42358,6 +42400,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42358
42400
  port_hints?: string[] | undefined;
42359
42401
  pcb_port_id?: string | undefined;
42360
42402
  pcb_smtpad_id?: string | undefined;
42403
+ solderpaste_margin?: number | undefined;
42361
42404
  }>, z.ZodObject<{
42362
42405
  type: z.ZodLiteral<"pcb_smtpad">;
42363
42406
  shape: z.ZodLiteral<"pill">;
@@ -42383,6 +42426,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42383
42426
  pcb_port_id: z.ZodOptional<z.ZodString>;
42384
42427
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
42385
42428
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
42429
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
42386
42430
  }, "strip", z.ZodTypeAny, {
42387
42431
  type: "pcb_smtpad";
42388
42432
  x: number;
@@ -42400,6 +42444,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42400
42444
  soldermask_margin?: number | undefined;
42401
42445
  port_hints?: string[] | undefined;
42402
42446
  pcb_port_id?: string | undefined;
42447
+ solderpaste_margin?: number | undefined;
42403
42448
  }, {
42404
42449
  type: "pcb_smtpad";
42405
42450
  x: string | number;
@@ -42419,6 +42464,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42419
42464
  port_hints?: string[] | undefined;
42420
42465
  pcb_port_id?: string | undefined;
42421
42466
  pcb_smtpad_id?: string | undefined;
42467
+ solderpaste_margin?: number | undefined;
42422
42468
  }>, z.ZodObject<{
42423
42469
  type: z.ZodLiteral<"pcb_smtpad">;
42424
42470
  shape: z.ZodLiteral<"polygon">;
@@ -42449,6 +42495,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42449
42495
  pcb_port_id: z.ZodOptional<z.ZodString>;
42450
42496
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
42451
42497
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
42498
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
42452
42499
  }, "strip", z.ZodTypeAny, {
42453
42500
  type: "pcb_smtpad";
42454
42501
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
@@ -42465,6 +42512,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42465
42512
  soldermask_margin?: number | undefined;
42466
42513
  port_hints?: string[] | undefined;
42467
42514
  pcb_port_id?: string | undefined;
42515
+ solderpaste_margin?: number | undefined;
42468
42516
  }, {
42469
42517
  type: "pcb_smtpad";
42470
42518
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
@@ -42483,6 +42531,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42483
42531
  port_hints?: string[] | undefined;
42484
42532
  pcb_port_id?: string | undefined;
42485
42533
  pcb_smtpad_id?: string | undefined;
42534
+ solderpaste_margin?: number | undefined;
42486
42535
  }>]>, z.ZodUnion<[z.ZodObject<{
42487
42536
  type: z.ZodLiteral<"pcb_solder_paste">;
42488
42537
  shape: z.ZodLiteral<"circle">;
@@ -42794,6 +42843,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42794
42843
  is_subcircuit: z.ZodOptional<z.ZodBoolean>;
42795
42844
  subcircuit_id: z.ZodOptional<z.ZodString>;
42796
42845
  is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
42846
+ is_via_in_pad_allowed: z.ZodOptional<z.ZodBoolean>;
42797
42847
  width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
42798
42848
  height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
42799
42849
  center: z.ZodObject<{
@@ -42885,6 +42935,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42885
42935
  carrier_pcb_board_id?: string | undefined;
42886
42936
  is_subcircuit?: boolean | undefined;
42887
42937
  is_mounted_to_carrier_board?: boolean | undefined;
42938
+ is_via_in_pad_allowed?: boolean | undefined;
42888
42939
  outline?: {
42889
42940
  x: number;
42890
42941
  y: number;
@@ -42926,6 +42977,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42926
42977
  carrier_pcb_board_id?: string | undefined;
42927
42978
  is_subcircuit?: boolean | undefined;
42928
42979
  is_mounted_to_carrier_board?: boolean | undefined;
42980
+ is_via_in_pad_allowed?: boolean | undefined;
42929
42981
  num_layers?: number | undefined;
42930
42982
  outline?: {
42931
42983
  x: string | number;
@@ -62074,6 +62126,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62074
62126
  pcb_port_id: z.ZodOptional<z.ZodString>;
62075
62127
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
62076
62128
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
62129
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
62077
62130
  }, "strip", z.ZodTypeAny, {
62078
62131
  type: "pcb_smtpad";
62079
62132
  x: number;
@@ -62089,6 +62142,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62089
62142
  soldermask_margin?: number | undefined;
62090
62143
  port_hints?: string[] | undefined;
62091
62144
  pcb_port_id?: string | undefined;
62145
+ solderpaste_margin?: number | undefined;
62092
62146
  }, {
62093
62147
  type: "pcb_smtpad";
62094
62148
  x: string | number;
@@ -62106,6 +62160,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62106
62160
  port_hints?: string[] | undefined;
62107
62161
  pcb_port_id?: string | undefined;
62108
62162
  pcb_smtpad_id?: string | undefined;
62163
+ solderpaste_margin?: number | undefined;
62109
62164
  }>, z.ZodObject<{
62110
62165
  type: z.ZodLiteral<"pcb_smtpad">;
62111
62166
  shape: z.ZodLiteral<"rect">;
@@ -62136,6 +62191,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62136
62191
  soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
62137
62192
  soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
62138
62193
  soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
62194
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
62139
62195
  }, "strip", z.ZodTypeAny, {
62140
62196
  type: "pcb_smtpad";
62141
62197
  x: number;
@@ -62153,6 +62209,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62153
62209
  port_hints?: string[] | undefined;
62154
62210
  pcb_port_id?: string | undefined;
62155
62211
  rect_border_radius?: number | undefined;
62212
+ solderpaste_margin?: number | undefined;
62156
62213
  corner_radius?: number | undefined;
62157
62214
  soldermask_margin_left?: number | undefined;
62158
62215
  soldermask_margin_top?: number | undefined;
@@ -62177,6 +62234,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62177
62234
  pcb_port_id?: string | undefined;
62178
62235
  rect_border_radius?: number | undefined;
62179
62236
  pcb_smtpad_id?: string | undefined;
62237
+ solderpaste_margin?: number | undefined;
62180
62238
  corner_radius?: number | undefined;
62181
62239
  soldermask_margin_left?: number | undefined;
62182
62240
  soldermask_margin_top?: number | undefined;
@@ -62213,6 +62271,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62213
62271
  soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
62214
62272
  soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
62215
62273
  soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
62274
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
62216
62275
  }, "strip", z.ZodTypeAny, {
62217
62276
  type: "pcb_smtpad";
62218
62277
  x: number;
@@ -62231,6 +62290,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62231
62290
  port_hints?: string[] | undefined;
62232
62291
  pcb_port_id?: string | undefined;
62233
62292
  rect_border_radius?: number | undefined;
62293
+ solderpaste_margin?: number | undefined;
62234
62294
  corner_radius?: number | undefined;
62235
62295
  soldermask_margin_left?: number | undefined;
62236
62296
  soldermask_margin_top?: number | undefined;
@@ -62256,6 +62316,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62256
62316
  pcb_port_id?: string | undefined;
62257
62317
  rect_border_radius?: number | undefined;
62258
62318
  pcb_smtpad_id?: string | undefined;
62319
+ solderpaste_margin?: number | undefined;
62259
62320
  corner_radius?: number | undefined;
62260
62321
  soldermask_margin_left?: number | undefined;
62261
62322
  soldermask_margin_top?: number | undefined;
@@ -62287,6 +62348,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62287
62348
  pcb_port_id: z.ZodOptional<z.ZodString>;
62288
62349
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
62289
62350
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
62351
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
62290
62352
  }, "strip", z.ZodTypeAny, {
62291
62353
  type: "pcb_smtpad";
62292
62354
  x: number;
@@ -62305,6 +62367,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62305
62367
  soldermask_margin?: number | undefined;
62306
62368
  port_hints?: string[] | undefined;
62307
62369
  pcb_port_id?: string | undefined;
62370
+ solderpaste_margin?: number | undefined;
62308
62371
  }, {
62309
62372
  type: "pcb_smtpad";
62310
62373
  x: string | number;
@@ -62325,6 +62388,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62325
62388
  port_hints?: string[] | undefined;
62326
62389
  pcb_port_id?: string | undefined;
62327
62390
  pcb_smtpad_id?: string | undefined;
62391
+ solderpaste_margin?: number | undefined;
62328
62392
  }>, z.ZodObject<{
62329
62393
  type: z.ZodLiteral<"pcb_smtpad">;
62330
62394
  shape: z.ZodLiteral<"pill">;
@@ -62350,6 +62414,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62350
62414
  pcb_port_id: z.ZodOptional<z.ZodString>;
62351
62415
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
62352
62416
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
62417
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
62353
62418
  }, "strip", z.ZodTypeAny, {
62354
62419
  type: "pcb_smtpad";
62355
62420
  x: number;
@@ -62367,6 +62432,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62367
62432
  soldermask_margin?: number | undefined;
62368
62433
  port_hints?: string[] | undefined;
62369
62434
  pcb_port_id?: string | undefined;
62435
+ solderpaste_margin?: number | undefined;
62370
62436
  }, {
62371
62437
  type: "pcb_smtpad";
62372
62438
  x: string | number;
@@ -62386,6 +62452,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62386
62452
  port_hints?: string[] | undefined;
62387
62453
  pcb_port_id?: string | undefined;
62388
62454
  pcb_smtpad_id?: string | undefined;
62455
+ solderpaste_margin?: number | undefined;
62389
62456
  }>, z.ZodObject<{
62390
62457
  type: z.ZodLiteral<"pcb_smtpad">;
62391
62458
  shape: z.ZodLiteral<"polygon">;
@@ -62416,6 +62483,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62416
62483
  pcb_port_id: z.ZodOptional<z.ZodString>;
62417
62484
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
62418
62485
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
62486
+ solderpaste_margin: z.ZodOptional<z.ZodNumber>;
62419
62487
  }, "strip", z.ZodTypeAny, {
62420
62488
  type: "pcb_smtpad";
62421
62489
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
@@ -62432,6 +62500,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62432
62500
  soldermask_margin?: number | undefined;
62433
62501
  port_hints?: string[] | undefined;
62434
62502
  pcb_port_id?: string | undefined;
62503
+ solderpaste_margin?: number | undefined;
62435
62504
  }, {
62436
62505
  type: "pcb_smtpad";
62437
62506
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
@@ -62450,6 +62519,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62450
62519
  port_hints?: string[] | undefined;
62451
62520
  pcb_port_id?: string | undefined;
62452
62521
  pcb_smtpad_id?: string | undefined;
62522
+ solderpaste_margin?: number | undefined;
62453
62523
  }>]>, z.ZodUnion<[z.ZodObject<{
62454
62524
  type: z.ZodLiteral<"pcb_solder_paste">;
62455
62525
  shape: z.ZodLiteral<"circle">;
@@ -62761,6 +62831,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62761
62831
  is_subcircuit: z.ZodOptional<z.ZodBoolean>;
62762
62832
  subcircuit_id: z.ZodOptional<z.ZodString>;
62763
62833
  is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
62834
+ is_via_in_pad_allowed: z.ZodOptional<z.ZodBoolean>;
62764
62835
  width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
62765
62836
  height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
62766
62837
  center: z.ZodObject<{
@@ -62852,6 +62923,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62852
62923
  carrier_pcb_board_id?: string | undefined;
62853
62924
  is_subcircuit?: boolean | undefined;
62854
62925
  is_mounted_to_carrier_board?: boolean | undefined;
62926
+ is_via_in_pad_allowed?: boolean | undefined;
62855
62927
  outline?: {
62856
62928
  x: number;
62857
62929
  y: number;
@@ -62893,6 +62965,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
62893
62965
  carrier_pcb_board_id?: string | undefined;
62894
62966
  is_subcircuit?: boolean | undefined;
62895
62967
  is_mounted_to_carrier_board?: boolean | undefined;
62968
+ is_via_in_pad_allowed?: boolean | undefined;
62896
62969
  num_layers?: number | undefined;
62897
62970
  outline?: {
62898
62971
  x: string | number;
package/dist/index.mjs CHANGED
@@ -2076,7 +2076,8 @@ var pcb_smtpad_circle = z105.object({
2076
2076
  pcb_component_id: z105.string().optional(),
2077
2077
  pcb_port_id: z105.string().optional(),
2078
2078
  is_covered_with_solder_mask: z105.boolean().optional(),
2079
- soldermask_margin: z105.number().optional()
2079
+ soldermask_margin: z105.number().optional(),
2080
+ solderpaste_margin: z105.number().optional()
2080
2081
  });
2081
2082
  var pcb_smtpad_rect = z105.object({
2082
2083
  type: z105.literal("pcb_smtpad"),
@@ -2099,7 +2100,8 @@ var pcb_smtpad_rect = z105.object({
2099
2100
  soldermask_margin_left: z105.number().optional(),
2100
2101
  soldermask_margin_top: z105.number().optional(),
2101
2102
  soldermask_margin_right: z105.number().optional(),
2102
- soldermask_margin_bottom: z105.number().optional()
2103
+ soldermask_margin_bottom: z105.number().optional(),
2104
+ solderpaste_margin: z105.number().optional()
2103
2105
  });
2104
2106
  var pcb_smtpad_rotated_rect = z105.object({
2105
2107
  type: z105.literal("pcb_smtpad"),
@@ -2123,7 +2125,8 @@ var pcb_smtpad_rotated_rect = z105.object({
2123
2125
  soldermask_margin_left: z105.number().optional(),
2124
2126
  soldermask_margin_top: z105.number().optional(),
2125
2127
  soldermask_margin_right: z105.number().optional(),
2126
- soldermask_margin_bottom: z105.number().optional()
2128
+ soldermask_margin_bottom: z105.number().optional(),
2129
+ solderpaste_margin: z105.number().optional()
2127
2130
  });
2128
2131
  var pcb_smtpad_pill = z105.object({
2129
2132
  type: z105.literal("pcb_smtpad"),
@@ -2141,7 +2144,8 @@ var pcb_smtpad_pill = z105.object({
2141
2144
  pcb_component_id: z105.string().optional(),
2142
2145
  pcb_port_id: z105.string().optional(),
2143
2146
  is_covered_with_solder_mask: z105.boolean().optional(),
2144
- soldermask_margin: z105.number().optional()
2147
+ soldermask_margin: z105.number().optional(),
2148
+ solderpaste_margin: z105.number().optional()
2145
2149
  });
2146
2150
  var pcb_smtpad_rotated_pill = z105.object({
2147
2151
  type: z105.literal("pcb_smtpad"),
@@ -2160,7 +2164,8 @@ var pcb_smtpad_rotated_pill = z105.object({
2160
2164
  pcb_component_id: z105.string().optional(),
2161
2165
  pcb_port_id: z105.string().optional(),
2162
2166
  is_covered_with_solder_mask: z105.boolean().optional(),
2163
- soldermask_margin: z105.number().optional()
2167
+ soldermask_margin: z105.number().optional(),
2168
+ solderpaste_margin: z105.number().optional()
2164
2169
  });
2165
2170
  var pcb_smtpad_polygon = z105.object({
2166
2171
  type: z105.literal("pcb_smtpad"),
@@ -2174,7 +2179,8 @@ var pcb_smtpad_polygon = z105.object({
2174
2179
  pcb_component_id: z105.string().optional(),
2175
2180
  pcb_port_id: z105.string().optional(),
2176
2181
  is_covered_with_solder_mask: z105.boolean().optional(),
2177
- soldermask_margin: z105.number().optional()
2182
+ soldermask_margin: z105.number().optional(),
2183
+ solderpaste_margin: z105.number().optional()
2178
2184
  });
2179
2185
  var pcb_smtpad = z105.discriminatedUnion("shape", [
2180
2186
  pcb_smtpad_circle,
@@ -2515,6 +2521,7 @@ var pcb_board = z117.object({
2515
2521
  is_subcircuit: z117.boolean().optional(),
2516
2522
  subcircuit_id: z117.string().optional(),
2517
2523
  is_mounted_to_carrier_board: z117.boolean().optional(),
2524
+ is_via_in_pad_allowed: z117.boolean().optional(),
2518
2525
  width: length.optional(),
2519
2526
  height: length.optional(),
2520
2527
  center: point,