circuit-json 0.0.222 → 0.0.223

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
@@ -971,6 +971,28 @@ interface PcbHolePillWithRectPad {
971
971
  pcb_plated_hole_id: string
972
972
  }
973
973
 
974
+ interface PcbHoleRotatedPillWithRectPad {
975
+ type: "pcb_plated_hole"
976
+ shape: "rotated_pill_hole_with_rect_pad"
977
+ pcb_group_id?: string
978
+ subcircuit_id?: string
979
+ hole_shape: "rotated_pill"
980
+ pad_shape: "rect"
981
+ hole_width: number
982
+ hole_height: number
983
+ hole_ccw_rotation: Rotation
984
+ rect_pad_width: number
985
+ rect_pad_height: number
986
+ rect_ccw_rotation: Rotation
987
+ x: Distance
988
+ y: Distance
989
+ layers: LayerRef[]
990
+ port_hints?: string[]
991
+ pcb_component_id?: string
992
+ pcb_port_id?: string
993
+ pcb_plated_hole_id: string
994
+ }
995
+
974
996
  interface PcbHoleCircularWithRectPad {
975
997
  type: "pcb_plated_hole"
976
998
  shape: "circular_hole_with_rect_pad"
package/dist/index.d.mts CHANGED
@@ -578,6 +578,27 @@ interface PcbHolePillWithRectPad {
578
578
  pcb_port_id?: string;
579
579
  pcb_plated_hole_id: string;
580
580
  }
581
+ interface PcbHoleRotatedPillWithRectPad {
582
+ type: "pcb_plated_hole";
583
+ shape: "rotated_pill_hole_with_rect_pad";
584
+ pcb_group_id?: string;
585
+ subcircuit_id?: string;
586
+ hole_shape: "rotated_pill";
587
+ pad_shape: "rect";
588
+ hole_width: number;
589
+ hole_height: number;
590
+ hole_ccw_rotation: Rotation;
591
+ rect_pad_width: number;
592
+ rect_pad_height: number;
593
+ rect_ccw_rotation: Rotation;
594
+ x: Distance;
595
+ y: Distance;
596
+ layers: LayerRef[];
597
+ port_hints?: string[];
598
+ pcb_component_id?: string;
599
+ pcb_port_id?: string;
600
+ pcb_plated_hole_id: string;
601
+ }
581
602
  interface PcbHoleCircularWithRectPad {
582
603
  type: "pcb_plated_hole";
583
604
  shape: "circular_hole_with_rect_pad";
@@ -831,8 +852,78 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
831
852
  port_hints?: string[] | undefined;
832
853
  pcb_port_id?: string | undefined;
833
854
  pcb_plated_hole_id?: string | undefined;
855
+ }>, z.ZodObject<{
856
+ type: z.ZodLiteral<"pcb_plated_hole">;
857
+ shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
858
+ pcb_group_id: z.ZodOptional<z.ZodString>;
859
+ subcircuit_id: z.ZodOptional<z.ZodString>;
860
+ hole_shape: z.ZodLiteral<"rotated_pill">;
861
+ pad_shape: z.ZodLiteral<"rect">;
862
+ hole_width: z.ZodNumber;
863
+ hole_height: z.ZodNumber;
864
+ hole_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
865
+ rect_pad_width: z.ZodNumber;
866
+ rect_pad_height: z.ZodNumber;
867
+ rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
868
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
869
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
870
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
871
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
874
+ }, {
875
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
876
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
877
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
878
+ }>, "many">;
879
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
880
+ pcb_component_id: z.ZodOptional<z.ZodString>;
881
+ pcb_port_id: z.ZodOptional<z.ZodString>;
882
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
883
+ }, "strip", z.ZodTypeAny, {
884
+ x: number;
885
+ y: number;
886
+ type: "pcb_plated_hole";
887
+ hole_shape: "rotated_pill";
888
+ hole_width: number;
889
+ hole_height: number;
890
+ shape: "rotated_pill_hole_with_rect_pad";
891
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
892
+ pcb_plated_hole_id: string;
893
+ pad_shape: "rect";
894
+ rect_pad_width: number;
895
+ rect_pad_height: number;
896
+ hole_ccw_rotation: number;
897
+ rect_ccw_rotation: number;
898
+ pcb_component_id?: string | undefined;
899
+ subcircuit_id?: string | undefined;
900
+ pcb_group_id?: string | undefined;
901
+ port_hints?: string[] | undefined;
902
+ pcb_port_id?: string | undefined;
903
+ }, {
904
+ x: string | number;
905
+ y: string | number;
906
+ type: "pcb_plated_hole";
907
+ hole_shape: "rotated_pill";
908
+ hole_width: number;
909
+ hole_height: number;
910
+ shape: "rotated_pill_hole_with_rect_pad";
911
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
912
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
913
+ })[];
914
+ pad_shape: "rect";
915
+ rect_pad_width: number;
916
+ rect_pad_height: number;
917
+ hole_ccw_rotation: string | number;
918
+ rect_ccw_rotation: string | number;
919
+ pcb_component_id?: string | undefined;
920
+ subcircuit_id?: string | undefined;
921
+ pcb_group_id?: string | undefined;
922
+ port_hints?: string[] | undefined;
923
+ pcb_port_id?: string | undefined;
924
+ pcb_plated_hole_id?: string | undefined;
834
925
  }>]>;
835
- type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad | PcbHolePillWithRectPad;
926
+ type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad | PcbHolePillWithRectPad | PcbHoleRotatedPillWithRectPad;
836
927
  /**
837
928
  * @deprecated use PcbPlatedHole
838
929
  */
@@ -1120,6 +1211,64 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
1120
1211
  port_hints?: string[] | undefined;
1121
1212
  pcb_port_id?: string | undefined;
1122
1213
  pcb_smtpad_id?: string | undefined;
1214
+ }>, z.ZodObject<{
1215
+ type: z.ZodLiteral<"pcb_smtpad">;
1216
+ shape: z.ZodLiteral<"rotated_pill">;
1217
+ pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1218
+ pcb_group_id: z.ZodOptional<z.ZodString>;
1219
+ subcircuit_id: z.ZodOptional<z.ZodString>;
1220
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1221
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1222
+ width: z.ZodNumber;
1223
+ height: z.ZodNumber;
1224
+ radius: z.ZodNumber;
1225
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1226
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
1227
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1230
+ }, {
1231
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1232
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1233
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1234
+ }>;
1235
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1236
+ pcb_component_id: z.ZodOptional<z.ZodString>;
1237
+ pcb_port_id: z.ZodOptional<z.ZodString>;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ x: number;
1240
+ y: number;
1241
+ type: "pcb_smtpad";
1242
+ width: number;
1243
+ height: number;
1244
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1245
+ shape: "rotated_pill";
1246
+ pcb_smtpad_id: string;
1247
+ radius: number;
1248
+ ccw_rotation: number;
1249
+ pcb_component_id?: string | undefined;
1250
+ subcircuit_id?: string | undefined;
1251
+ pcb_group_id?: string | undefined;
1252
+ port_hints?: string[] | undefined;
1253
+ pcb_port_id?: string | undefined;
1254
+ }, {
1255
+ x: string | number;
1256
+ y: string | number;
1257
+ type: "pcb_smtpad";
1258
+ width: number;
1259
+ height: number;
1260
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1261
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1262
+ };
1263
+ shape: "rotated_pill";
1264
+ radius: number;
1265
+ ccw_rotation: string | number;
1266
+ pcb_component_id?: string | undefined;
1267
+ subcircuit_id?: string | undefined;
1268
+ pcb_group_id?: string | undefined;
1269
+ port_hints?: string[] | undefined;
1270
+ pcb_port_id?: string | undefined;
1271
+ pcb_smtpad_id?: string | undefined;
1123
1272
  }>, z.ZodObject<{
1124
1273
  type: z.ZodLiteral<"pcb_smtpad">;
1125
1274
  shape: z.ZodLiteral<"pill">;
@@ -1308,6 +1457,26 @@ interface PcbSmtPadPill {
1308
1457
  pcb_component_id?: string;
1309
1458
  pcb_port_id?: string;
1310
1459
  }
1460
+ /**
1461
+ * Defines a rotated pill-shaped SMT pad on the PCB
1462
+ */
1463
+ interface PcbSmtPadRotatedPill {
1464
+ type: "pcb_smtpad";
1465
+ shape: "rotated_pill";
1466
+ pcb_smtpad_id: string;
1467
+ pcb_group_id?: string;
1468
+ subcircuit_id?: string;
1469
+ x: Distance;
1470
+ y: Distance;
1471
+ width: number;
1472
+ height: number;
1473
+ radius: number;
1474
+ ccw_rotation: Rotation;
1475
+ layer: LayerRef;
1476
+ port_hints?: string[];
1477
+ pcb_component_id?: string;
1478
+ pcb_port_id?: string;
1479
+ }
1311
1480
  /**
1312
1481
  * Defines a polygonal SMT pad on the PCB
1313
1482
  */
@@ -1323,7 +1492,7 @@ interface PcbSmtPadPolygon {
1323
1492
  pcb_component_id?: string;
1324
1493
  pcb_port_id?: string;
1325
1494
  }
1326
- type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadPill | PcbSmtPadPolygon;
1495
+ type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadRotatedPill | PcbSmtPadPill | PcbSmtPadPolygon;
1327
1496
  /**
1328
1497
  * @deprecated use PcbSmtPad
1329
1498
  */
@@ -10135,6 +10304,76 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10135
10304
  port_hints?: string[] | undefined;
10136
10305
  pcb_port_id?: string | undefined;
10137
10306
  pcb_plated_hole_id?: string | undefined;
10307
+ }>, z.ZodObject<{
10308
+ type: z.ZodLiteral<"pcb_plated_hole">;
10309
+ shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
10310
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10311
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10312
+ hole_shape: z.ZodLiteral<"rotated_pill">;
10313
+ pad_shape: z.ZodLiteral<"rect">;
10314
+ hole_width: z.ZodNumber;
10315
+ hole_height: z.ZodNumber;
10316
+ hole_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10317
+ rect_pad_width: z.ZodNumber;
10318
+ rect_pad_height: z.ZodNumber;
10319
+ rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10320
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10321
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10322
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
10323
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
10324
+ }, "strip", z.ZodTypeAny, {
10325
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10326
+ }, {
10327
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10328
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10329
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10330
+ }>, "many">;
10331
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10332
+ pcb_component_id: z.ZodOptional<z.ZodString>;
10333
+ pcb_port_id: z.ZodOptional<z.ZodString>;
10334
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10335
+ }, "strip", z.ZodTypeAny, {
10336
+ x: number;
10337
+ y: number;
10338
+ type: "pcb_plated_hole";
10339
+ hole_shape: "rotated_pill";
10340
+ hole_width: number;
10341
+ hole_height: number;
10342
+ shape: "rotated_pill_hole_with_rect_pad";
10343
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
10344
+ pcb_plated_hole_id: string;
10345
+ pad_shape: "rect";
10346
+ rect_pad_width: number;
10347
+ rect_pad_height: number;
10348
+ hole_ccw_rotation: number;
10349
+ rect_ccw_rotation: number;
10350
+ pcb_component_id?: string | undefined;
10351
+ subcircuit_id?: string | undefined;
10352
+ pcb_group_id?: string | undefined;
10353
+ port_hints?: string[] | undefined;
10354
+ pcb_port_id?: string | undefined;
10355
+ }, {
10356
+ x: string | number;
10357
+ y: string | number;
10358
+ type: "pcb_plated_hole";
10359
+ hole_shape: "rotated_pill";
10360
+ hole_width: number;
10361
+ hole_height: number;
10362
+ shape: "rotated_pill_hole_with_rect_pad";
10363
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10364
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10365
+ })[];
10366
+ pad_shape: "rect";
10367
+ rect_pad_width: number;
10368
+ rect_pad_height: number;
10369
+ hole_ccw_rotation: string | number;
10370
+ rect_ccw_rotation: string | number;
10371
+ pcb_component_id?: string | undefined;
10372
+ subcircuit_id?: string | undefined;
10373
+ pcb_group_id?: string | undefined;
10374
+ port_hints?: string[] | undefined;
10375
+ pcb_port_id?: string | undefined;
10376
+ pcb_plated_hole_id?: string | undefined;
10138
10377
  }>]>, z.ZodUnion<[z.ZodObject<{
10139
10378
  type: z.ZodLiteral<"pcb_keepout">;
10140
10379
  shape: z.ZodLiteral<"rect">;
@@ -10682,6 +10921,64 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10682
10921
  port_hints?: string[] | undefined;
10683
10922
  pcb_port_id?: string | undefined;
10684
10923
  pcb_smtpad_id?: string | undefined;
10924
+ }>, z.ZodObject<{
10925
+ type: z.ZodLiteral<"pcb_smtpad">;
10926
+ shape: z.ZodLiteral<"rotated_pill">;
10927
+ pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10928
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10929
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10930
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10931
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10932
+ width: z.ZodNumber;
10933
+ height: z.ZodNumber;
10934
+ radius: z.ZodNumber;
10935
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10936
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
10937
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
10938
+ }, "strip", z.ZodTypeAny, {
10939
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10940
+ }, {
10941
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10942
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10943
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10944
+ }>;
10945
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10946
+ pcb_component_id: z.ZodOptional<z.ZodString>;
10947
+ pcb_port_id: z.ZodOptional<z.ZodString>;
10948
+ }, "strip", z.ZodTypeAny, {
10949
+ x: number;
10950
+ y: number;
10951
+ type: "pcb_smtpad";
10952
+ width: number;
10953
+ height: number;
10954
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10955
+ shape: "rotated_pill";
10956
+ pcb_smtpad_id: string;
10957
+ radius: number;
10958
+ ccw_rotation: number;
10959
+ pcb_component_id?: string | undefined;
10960
+ subcircuit_id?: string | undefined;
10961
+ pcb_group_id?: string | undefined;
10962
+ port_hints?: string[] | undefined;
10963
+ pcb_port_id?: string | undefined;
10964
+ }, {
10965
+ x: string | number;
10966
+ y: string | number;
10967
+ type: "pcb_smtpad";
10968
+ width: number;
10969
+ height: number;
10970
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10971
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10972
+ };
10973
+ shape: "rotated_pill";
10974
+ radius: number;
10975
+ ccw_rotation: string | number;
10976
+ pcb_component_id?: string | undefined;
10977
+ subcircuit_id?: string | undefined;
10978
+ pcb_group_id?: string | undefined;
10979
+ port_hints?: string[] | undefined;
10980
+ pcb_port_id?: string | undefined;
10981
+ pcb_smtpad_id?: string | undefined;
10685
10982
  }>, z.ZodObject<{
10686
10983
  type: z.ZodLiteral<"pcb_smtpad">;
10687
10984
  shape: z.ZodLiteral<"pill">;
@@ -15305,6 +15602,76 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15305
15602
  port_hints?: string[] | undefined;
15306
15603
  pcb_port_id?: string | undefined;
15307
15604
  pcb_plated_hole_id?: string | undefined;
15605
+ }>, z.ZodObject<{
15606
+ type: z.ZodLiteral<"pcb_plated_hole">;
15607
+ shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
15608
+ pcb_group_id: z.ZodOptional<z.ZodString>;
15609
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15610
+ hole_shape: z.ZodLiteral<"rotated_pill">;
15611
+ pad_shape: z.ZodLiteral<"rect">;
15612
+ hole_width: z.ZodNumber;
15613
+ hole_height: z.ZodNumber;
15614
+ hole_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15615
+ rect_pad_width: z.ZodNumber;
15616
+ rect_pad_height: z.ZodNumber;
15617
+ rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15618
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15619
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15620
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
15621
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
15622
+ }, "strip", z.ZodTypeAny, {
15623
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15624
+ }, {
15625
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15626
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
15627
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15628
+ }>, "many">;
15629
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15630
+ pcb_component_id: z.ZodOptional<z.ZodString>;
15631
+ pcb_port_id: z.ZodOptional<z.ZodString>;
15632
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15633
+ }, "strip", z.ZodTypeAny, {
15634
+ x: number;
15635
+ y: number;
15636
+ type: "pcb_plated_hole";
15637
+ hole_shape: "rotated_pill";
15638
+ hole_width: number;
15639
+ hole_height: number;
15640
+ shape: "rotated_pill_hole_with_rect_pad";
15641
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
15642
+ pcb_plated_hole_id: string;
15643
+ pad_shape: "rect";
15644
+ rect_pad_width: number;
15645
+ rect_pad_height: number;
15646
+ hole_ccw_rotation: number;
15647
+ rect_ccw_rotation: number;
15648
+ pcb_component_id?: string | undefined;
15649
+ subcircuit_id?: string | undefined;
15650
+ pcb_group_id?: string | undefined;
15651
+ port_hints?: string[] | undefined;
15652
+ pcb_port_id?: string | undefined;
15653
+ }, {
15654
+ x: string | number;
15655
+ y: string | number;
15656
+ type: "pcb_plated_hole";
15657
+ hole_shape: "rotated_pill";
15658
+ hole_width: number;
15659
+ hole_height: number;
15660
+ shape: "rotated_pill_hole_with_rect_pad";
15661
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
15662
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15663
+ })[];
15664
+ pad_shape: "rect";
15665
+ rect_pad_width: number;
15666
+ rect_pad_height: number;
15667
+ hole_ccw_rotation: string | number;
15668
+ rect_ccw_rotation: string | number;
15669
+ pcb_component_id?: string | undefined;
15670
+ subcircuit_id?: string | undefined;
15671
+ pcb_group_id?: string | undefined;
15672
+ port_hints?: string[] | undefined;
15673
+ pcb_port_id?: string | undefined;
15674
+ pcb_plated_hole_id?: string | undefined;
15308
15675
  }>]>, z.ZodUnion<[z.ZodObject<{
15309
15676
  type: z.ZodLiteral<"pcb_keepout">;
15310
15677
  shape: z.ZodLiteral<"rect">;
@@ -15852,6 +16219,64 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15852
16219
  port_hints?: string[] | undefined;
15853
16220
  pcb_port_id?: string | undefined;
15854
16221
  pcb_smtpad_id?: string | undefined;
16222
+ }>, z.ZodObject<{
16223
+ type: z.ZodLiteral<"pcb_smtpad">;
16224
+ shape: z.ZodLiteral<"rotated_pill">;
16225
+ pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16226
+ pcb_group_id: z.ZodOptional<z.ZodString>;
16227
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16228
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16229
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16230
+ width: z.ZodNumber;
16231
+ height: z.ZodNumber;
16232
+ radius: z.ZodNumber;
16233
+ ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16234
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
16235
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
16236
+ }, "strip", z.ZodTypeAny, {
16237
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16238
+ }, {
16239
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16240
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16241
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16242
+ }>;
16243
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16244
+ pcb_component_id: z.ZodOptional<z.ZodString>;
16245
+ pcb_port_id: z.ZodOptional<z.ZodString>;
16246
+ }, "strip", z.ZodTypeAny, {
16247
+ x: number;
16248
+ y: number;
16249
+ type: "pcb_smtpad";
16250
+ width: number;
16251
+ height: number;
16252
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16253
+ shape: "rotated_pill";
16254
+ pcb_smtpad_id: string;
16255
+ radius: number;
16256
+ ccw_rotation: number;
16257
+ pcb_component_id?: string | undefined;
16258
+ subcircuit_id?: string | undefined;
16259
+ pcb_group_id?: string | undefined;
16260
+ port_hints?: string[] | undefined;
16261
+ pcb_port_id?: string | undefined;
16262
+ }, {
16263
+ x: string | number;
16264
+ y: string | number;
16265
+ type: "pcb_smtpad";
16266
+ width: number;
16267
+ height: number;
16268
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16269
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16270
+ };
16271
+ shape: "rotated_pill";
16272
+ radius: number;
16273
+ ccw_rotation: string | number;
16274
+ pcb_component_id?: string | undefined;
16275
+ subcircuit_id?: string | undefined;
16276
+ pcb_group_id?: string | undefined;
16277
+ port_hints?: string[] | undefined;
16278
+ pcb_port_id?: string | undefined;
16279
+ pcb_smtpad_id?: string | undefined;
15855
16280
  }>, z.ZodObject<{
15856
16281
  type: z.ZodLiteral<"pcb_smtpad">;
15857
16282
  shape: z.ZodLiteral<"pill">;
@@ -18363,4 +18788,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
18363
18788
  */
18364
18789
  type CircuitJson = AnyCircuitElement[];
18365
18790
 
18366
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
18791
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
package/dist/index.mjs CHANGED
@@ -1157,11 +1157,33 @@ var pcb_pill_hole_with_rect_pad = z59.object({
1157
1157
  pcb_port_id: z59.string().optional(),
1158
1158
  pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole")
1159
1159
  });
1160
+ var pcb_rotated_pill_hole_with_rect_pad = z59.object({
1161
+ type: z59.literal("pcb_plated_hole"),
1162
+ shape: z59.literal("rotated_pill_hole_with_rect_pad"),
1163
+ pcb_group_id: z59.string().optional(),
1164
+ subcircuit_id: z59.string().optional(),
1165
+ hole_shape: z59.literal("rotated_pill"),
1166
+ pad_shape: z59.literal("rect"),
1167
+ hole_width: z59.number(),
1168
+ hole_height: z59.number(),
1169
+ hole_ccw_rotation: rotation,
1170
+ rect_pad_width: z59.number(),
1171
+ rect_pad_height: z59.number(),
1172
+ rect_ccw_rotation: rotation,
1173
+ x: distance,
1174
+ y: distance,
1175
+ layers: z59.array(layer_ref),
1176
+ port_hints: z59.array(z59.string()).optional(),
1177
+ pcb_component_id: z59.string().optional(),
1178
+ pcb_port_id: z59.string().optional(),
1179
+ pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole")
1180
+ });
1160
1181
  var pcb_plated_hole = z59.union([
1161
1182
  pcb_plated_hole_circle,
1162
1183
  pcb_plated_hole_oval,
1163
1184
  pcb_circular_hole_with_rect_pad,
1164
- pcb_pill_hole_with_rect_pad
1185
+ pcb_pill_hole_with_rect_pad,
1186
+ pcb_rotated_pill_hole_with_rect_pad
1165
1187
  ]);
1166
1188
  expectTypesMatch(
1167
1189
  true
@@ -1169,6 +1191,7 @@ expectTypesMatch(
1169
1191
  expectTypesMatch(true);
1170
1192
  expectTypesMatch(true);
1171
1193
  expectTypesMatch(true);
1194
+ expectTypesMatch(true);
1172
1195
 
1173
1196
  // src/pcb/pcb_port.ts
1174
1197
  import { z as z60 } from "zod";
@@ -1248,6 +1271,23 @@ var pcb_smtpad_pill = z61.object({
1248
1271
  pcb_component_id: z61.string().optional(),
1249
1272
  pcb_port_id: z61.string().optional()
1250
1273
  });
1274
+ var pcb_smtpad_rotated_pill = z61.object({
1275
+ type: z61.literal("pcb_smtpad"),
1276
+ shape: z61.literal("rotated_pill"),
1277
+ pcb_smtpad_id: getZodPrefixedIdWithDefault("pcb_smtpad"),
1278
+ pcb_group_id: z61.string().optional(),
1279
+ subcircuit_id: z61.string().optional(),
1280
+ x: distance,
1281
+ y: distance,
1282
+ width: z61.number(),
1283
+ height: z61.number(),
1284
+ radius: z61.number(),
1285
+ ccw_rotation: rotation,
1286
+ layer: layer_ref,
1287
+ port_hints: z61.array(z61.string()).optional(),
1288
+ pcb_component_id: z61.string().optional(),
1289
+ pcb_port_id: z61.string().optional()
1290
+ });
1251
1291
  var pcb_smtpad_polygon = z61.object({
1252
1292
  type: z61.literal("pcb_smtpad"),
1253
1293
  shape: z61.literal("polygon"),
@@ -1264,6 +1304,7 @@ var pcb_smtpad = z61.discriminatedUnion("shape", [
1264
1304
  pcb_smtpad_circle,
1265
1305
  pcb_smtpad_rect,
1266
1306
  pcb_smtpad_rotated_rect,
1307
+ pcb_smtpad_rotated_pill,
1267
1308
  pcb_smtpad_pill,
1268
1309
  pcb_smtpad_polygon
1269
1310
  ]).describe("Defines an SMT pad on the PCB");
@@ -1272,6 +1313,7 @@ expectTypesMatch(true);
1272
1313
  expectTypesMatch(true);
1273
1314
  expectTypesMatch(true);
1274
1315
  expectTypesMatch(true);
1316
+ expectTypesMatch(true);
1275
1317
 
1276
1318
  // src/pcb/pcb_solder_paste.ts
1277
1319
  import { z as z62 } from "zod";