circuit-json 0.0.259 → 0.0.260
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 +17 -0
- package/dist/index.d.mts +84 -17
- package/dist/index.mjs +288 -275
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
94
94
|
- [PcbHole](#pcbhole)
|
|
95
95
|
- [PcbManualEditConflictWarning](#pcbmanualeditconflictwarning)
|
|
96
96
|
- [PcbMissingFootprintError](#pcbmissingfootprinterror)
|
|
97
|
+
- [PcbNet](#pcbnet)
|
|
97
98
|
- [PcbPlacementError](#pcbplacementerror)
|
|
98
99
|
- [PcbPlatedHole](#pcbplatedhole)
|
|
99
100
|
- [PcbPort](#pcbport)
|
|
@@ -1064,6 +1065,22 @@ interface PcbMissingFootprintError {
|
|
|
1064
1065
|
}
|
|
1065
1066
|
```
|
|
1066
1067
|
|
|
1068
|
+
### PcbNet
|
|
1069
|
+
|
|
1070
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_net.ts)
|
|
1071
|
+
|
|
1072
|
+
Defines a net on the PCB
|
|
1073
|
+
|
|
1074
|
+
```typescript
|
|
1075
|
+
/** Defines a net on the PCB */
|
|
1076
|
+
interface PcbNet {
|
|
1077
|
+
type: "pcb_net"
|
|
1078
|
+
pcb_net_id: string
|
|
1079
|
+
source_net_id?: string
|
|
1080
|
+
rats_nest_color?: string
|
|
1081
|
+
}
|
|
1082
|
+
```
|
|
1083
|
+
|
|
1067
1084
|
### PcbPlacementError
|
|
1068
1085
|
|
|
1069
1086
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_placement_error.ts)
|
package/dist/index.d.mts
CHANGED
|
@@ -2277,6 +2277,7 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
2277
2277
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
2278
2278
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
2279
2279
|
trace_length: z.ZodOptional<z.ZodNumber>;
|
|
2280
|
+
rats_nest_color: z.ZodOptional<z.ZodString>;
|
|
2280
2281
|
route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2281
2282
|
route_type: z.ZodLiteral<"wire">;
|
|
2282
2283
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -2364,6 +2365,7 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
2364
2365
|
route_order_index?: number | undefined;
|
|
2365
2366
|
should_round_corners?: boolean | undefined;
|
|
2366
2367
|
trace_length?: number | undefined;
|
|
2368
|
+
rats_nest_color?: string | undefined;
|
|
2367
2369
|
}, {
|
|
2368
2370
|
type: "pcb_trace";
|
|
2369
2371
|
route: ({
|
|
@@ -2394,6 +2396,7 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
2394
2396
|
route_order_index?: number | undefined;
|
|
2395
2397
|
should_round_corners?: boolean | undefined;
|
|
2396
2398
|
trace_length?: number | undefined;
|
|
2399
|
+
rats_nest_color?: string | undefined;
|
|
2397
2400
|
}>;
|
|
2398
2401
|
type PcbTraceInput = z.input<typeof pcb_trace>;
|
|
2399
2402
|
interface PcbTraceRoutePointWire {
|
|
@@ -2435,6 +2438,7 @@ interface PcbTrace {
|
|
|
2435
2438
|
route_thickness_mode?: "constant" | "interpolated";
|
|
2436
2439
|
should_round_corners?: boolean;
|
|
2437
2440
|
trace_length?: number;
|
|
2441
|
+
rats_nest_color?: string;
|
|
2438
2442
|
route: Array<PcbTraceRoutePoint>;
|
|
2439
2443
|
}
|
|
2440
2444
|
/**
|
|
@@ -2660,6 +2664,33 @@ interface PcbPortNotConnectedError {
|
|
|
2660
2664
|
subcircuit_id?: string;
|
|
2661
2665
|
}
|
|
2662
2666
|
|
|
2667
|
+
declare const pcb_net: z.ZodObject<{
|
|
2668
|
+
type: z.ZodLiteral<"pcb_net">;
|
|
2669
|
+
pcb_net_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2670
|
+
source_net_id: z.ZodOptional<z.ZodString>;
|
|
2671
|
+
rats_nest_color: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
}, "strip", z.ZodTypeAny, {
|
|
2673
|
+
type: "pcb_net";
|
|
2674
|
+
pcb_net_id: string;
|
|
2675
|
+
rats_nest_color?: string | undefined;
|
|
2676
|
+
source_net_id?: string | undefined;
|
|
2677
|
+
}, {
|
|
2678
|
+
type: "pcb_net";
|
|
2679
|
+
rats_nest_color?: string | undefined;
|
|
2680
|
+
pcb_net_id?: string | undefined;
|
|
2681
|
+
source_net_id?: string | undefined;
|
|
2682
|
+
}>;
|
|
2683
|
+
type PcbNetInput = z.input<typeof pcb_net>;
|
|
2684
|
+
/**
|
|
2685
|
+
* Defines a net on the PCB
|
|
2686
|
+
*/
|
|
2687
|
+
interface PcbNet {
|
|
2688
|
+
type: "pcb_net";
|
|
2689
|
+
pcb_net_id: string;
|
|
2690
|
+
source_net_id?: string;
|
|
2691
|
+
rats_nest_color?: string;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2663
2694
|
declare const pcb_via: z.ZodObject<{
|
|
2664
2695
|
type: z.ZodLiteral<"pcb_via">;
|
|
2665
2696
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -4366,8 +4397,8 @@ declare const pcb_breakout_point: z.ZodObject<{
|
|
|
4366
4397
|
subcircuit_id?: string | undefined;
|
|
4367
4398
|
source_port_id?: string | undefined;
|
|
4368
4399
|
source_trace_id?: string | undefined;
|
|
4369
|
-
pcb_breakout_point_id?: string | undefined;
|
|
4370
4400
|
source_net_id?: string | undefined;
|
|
4401
|
+
pcb_breakout_point_id?: string | undefined;
|
|
4371
4402
|
}>;
|
|
4372
4403
|
type PcbBreakoutPointInput = z.input<typeof pcb_breakout_point>;
|
|
4373
4404
|
/**
|
|
@@ -5218,7 +5249,7 @@ interface PcbComponentOutsideBoardError {
|
|
|
5218
5249
|
source_component_id?: string;
|
|
5219
5250
|
}
|
|
5220
5251
|
|
|
5221
|
-
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError;
|
|
5252
|
+
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError;
|
|
5222
5253
|
|
|
5223
5254
|
interface SchematicBox {
|
|
5224
5255
|
type: "schematic_box";
|
|
@@ -9682,14 +9713,14 @@ declare const source_pcb_ground_plane: z.ZodObject<{
|
|
|
9682
9713
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9683
9714
|
}, "strip", z.ZodTypeAny, {
|
|
9684
9715
|
type: "source_pcb_ground_plane";
|
|
9685
|
-
source_group_id: string;
|
|
9686
9716
|
source_net_id: string;
|
|
9717
|
+
source_group_id: string;
|
|
9687
9718
|
source_pcb_ground_plane_id: string;
|
|
9688
9719
|
subcircuit_id?: string | undefined;
|
|
9689
9720
|
}, {
|
|
9690
9721
|
type: "source_pcb_ground_plane";
|
|
9691
|
-
source_group_id: string;
|
|
9692
9722
|
source_net_id: string;
|
|
9723
|
+
source_group_id: string;
|
|
9693
9724
|
source_pcb_ground_plane_id: string;
|
|
9694
9725
|
subcircuit_id?: string | undefined;
|
|
9695
9726
|
}>;
|
|
@@ -9714,15 +9745,15 @@ declare const source_manually_placed_via: z.ZodObject<{
|
|
|
9714
9745
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
9715
9746
|
}, "strip", z.ZodTypeAny, {
|
|
9716
9747
|
type: "source_manually_placed_via";
|
|
9717
|
-
source_group_id: string;
|
|
9718
9748
|
source_net_id: string;
|
|
9749
|
+
source_group_id: string;
|
|
9719
9750
|
source_manually_placed_via_id: string;
|
|
9720
9751
|
subcircuit_id?: string | undefined;
|
|
9721
9752
|
source_trace_id?: string | undefined;
|
|
9722
9753
|
}, {
|
|
9723
9754
|
type: "source_manually_placed_via";
|
|
9724
|
-
source_group_id: string;
|
|
9725
9755
|
source_net_id: string;
|
|
9756
|
+
source_group_id: string;
|
|
9726
9757
|
source_manually_placed_via_id: string;
|
|
9727
9758
|
subcircuit_id?: string | undefined;
|
|
9728
9759
|
source_trace_id?: string | undefined;
|
|
@@ -11927,14 +11958,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11927
11958
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11928
11959
|
}, "strip", z.ZodTypeAny, {
|
|
11929
11960
|
type: "source_pcb_ground_plane";
|
|
11930
|
-
source_group_id: string;
|
|
11931
11961
|
source_net_id: string;
|
|
11962
|
+
source_group_id: string;
|
|
11932
11963
|
source_pcb_ground_plane_id: string;
|
|
11933
11964
|
subcircuit_id?: string | undefined;
|
|
11934
11965
|
}, {
|
|
11935
11966
|
type: "source_pcb_ground_plane";
|
|
11936
|
-
source_group_id: string;
|
|
11937
11967
|
source_net_id: string;
|
|
11968
|
+
source_group_id: string;
|
|
11938
11969
|
source_pcb_ground_plane_id: string;
|
|
11939
11970
|
subcircuit_id?: string | undefined;
|
|
11940
11971
|
}>, z.ZodObject<{
|
|
@@ -11946,15 +11977,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11946
11977
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
11947
11978
|
}, "strip", z.ZodTypeAny, {
|
|
11948
11979
|
type: "source_manually_placed_via";
|
|
11949
|
-
source_group_id: string;
|
|
11950
11980
|
source_net_id: string;
|
|
11981
|
+
source_group_id: string;
|
|
11951
11982
|
source_manually_placed_via_id: string;
|
|
11952
11983
|
subcircuit_id?: string | undefined;
|
|
11953
11984
|
source_trace_id?: string | undefined;
|
|
11954
11985
|
}, {
|
|
11955
11986
|
type: "source_manually_placed_via";
|
|
11956
|
-
source_group_id: string;
|
|
11957
11987
|
source_net_id: string;
|
|
11988
|
+
source_group_id: string;
|
|
11958
11989
|
source_manually_placed_via_id: string;
|
|
11959
11990
|
subcircuit_id?: string | undefined;
|
|
11960
11991
|
source_trace_id?: string | undefined;
|
|
@@ -12727,6 +12758,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12727
12758
|
pcb_group_id?: string | undefined;
|
|
12728
12759
|
pcb_port_id?: string | undefined;
|
|
12729
12760
|
is_board_pinout?: boolean | undefined;
|
|
12761
|
+
}>, z.ZodObject<{
|
|
12762
|
+
type: z.ZodLiteral<"pcb_net">;
|
|
12763
|
+
pcb_net_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12764
|
+
source_net_id: z.ZodOptional<z.ZodString>;
|
|
12765
|
+
rats_nest_color: z.ZodOptional<z.ZodString>;
|
|
12766
|
+
}, "strip", z.ZodTypeAny, {
|
|
12767
|
+
type: "pcb_net";
|
|
12768
|
+
pcb_net_id: string;
|
|
12769
|
+
rats_nest_color?: string | undefined;
|
|
12770
|
+
source_net_id?: string | undefined;
|
|
12771
|
+
}, {
|
|
12772
|
+
type: "pcb_net";
|
|
12773
|
+
rats_nest_color?: string | undefined;
|
|
12774
|
+
pcb_net_id?: string | undefined;
|
|
12775
|
+
source_net_id?: string | undefined;
|
|
12730
12776
|
}>, z.ZodObject<{
|
|
12731
12777
|
type: z.ZodLiteral<"pcb_text">;
|
|
12732
12778
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -12799,6 +12845,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12799
12845
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
12800
12846
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
12801
12847
|
trace_length: z.ZodOptional<z.ZodNumber>;
|
|
12848
|
+
rats_nest_color: z.ZodOptional<z.ZodString>;
|
|
12802
12849
|
route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12803
12850
|
route_type: z.ZodLiteral<"wire">;
|
|
12804
12851
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12886,6 +12933,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12886
12933
|
route_order_index?: number | undefined;
|
|
12887
12934
|
should_round_corners?: boolean | undefined;
|
|
12888
12935
|
trace_length?: number | undefined;
|
|
12936
|
+
rats_nest_color?: string | undefined;
|
|
12889
12937
|
}, {
|
|
12890
12938
|
type: "pcb_trace";
|
|
12891
12939
|
route: ({
|
|
@@ -12916,6 +12964,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12916
12964
|
route_order_index?: number | undefined;
|
|
12917
12965
|
should_round_corners?: boolean | undefined;
|
|
12918
12966
|
trace_length?: number | undefined;
|
|
12967
|
+
rats_nest_color?: string | undefined;
|
|
12919
12968
|
}>, z.ZodObject<{
|
|
12920
12969
|
type: z.ZodLiteral<"pcb_via">;
|
|
12921
12970
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -14451,8 +14500,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14451
14500
|
subcircuit_id?: string | undefined;
|
|
14452
14501
|
source_port_id?: string | undefined;
|
|
14453
14502
|
source_trace_id?: string | undefined;
|
|
14454
|
-
pcb_breakout_point_id?: string | undefined;
|
|
14455
14503
|
source_net_id?: string | undefined;
|
|
14504
|
+
pcb_breakout_point_id?: string | undefined;
|
|
14456
14505
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
14457
14506
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
14458
14507
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -18277,14 +18326,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18277
18326
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
18278
18327
|
}, "strip", z.ZodTypeAny, {
|
|
18279
18328
|
type: "source_pcb_ground_plane";
|
|
18280
|
-
source_group_id: string;
|
|
18281
18329
|
source_net_id: string;
|
|
18330
|
+
source_group_id: string;
|
|
18282
18331
|
source_pcb_ground_plane_id: string;
|
|
18283
18332
|
subcircuit_id?: string | undefined;
|
|
18284
18333
|
}, {
|
|
18285
18334
|
type: "source_pcb_ground_plane";
|
|
18286
|
-
source_group_id: string;
|
|
18287
18335
|
source_net_id: string;
|
|
18336
|
+
source_group_id: string;
|
|
18288
18337
|
source_pcb_ground_plane_id: string;
|
|
18289
18338
|
subcircuit_id?: string | undefined;
|
|
18290
18339
|
}>, z.ZodObject<{
|
|
@@ -18296,15 +18345,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18296
18345
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
18297
18346
|
}, "strip", z.ZodTypeAny, {
|
|
18298
18347
|
type: "source_manually_placed_via";
|
|
18299
|
-
source_group_id: string;
|
|
18300
18348
|
source_net_id: string;
|
|
18349
|
+
source_group_id: string;
|
|
18301
18350
|
source_manually_placed_via_id: string;
|
|
18302
18351
|
subcircuit_id?: string | undefined;
|
|
18303
18352
|
source_trace_id?: string | undefined;
|
|
18304
18353
|
}, {
|
|
18305
18354
|
type: "source_manually_placed_via";
|
|
18306
|
-
source_group_id: string;
|
|
18307
18355
|
source_net_id: string;
|
|
18356
|
+
source_group_id: string;
|
|
18308
18357
|
source_manually_placed_via_id: string;
|
|
18309
18358
|
subcircuit_id?: string | undefined;
|
|
18310
18359
|
source_trace_id?: string | undefined;
|
|
@@ -19077,6 +19126,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19077
19126
|
pcb_group_id?: string | undefined;
|
|
19078
19127
|
pcb_port_id?: string | undefined;
|
|
19079
19128
|
is_board_pinout?: boolean | undefined;
|
|
19129
|
+
}>, z.ZodObject<{
|
|
19130
|
+
type: z.ZodLiteral<"pcb_net">;
|
|
19131
|
+
pcb_net_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19132
|
+
source_net_id: z.ZodOptional<z.ZodString>;
|
|
19133
|
+
rats_nest_color: z.ZodOptional<z.ZodString>;
|
|
19134
|
+
}, "strip", z.ZodTypeAny, {
|
|
19135
|
+
type: "pcb_net";
|
|
19136
|
+
pcb_net_id: string;
|
|
19137
|
+
rats_nest_color?: string | undefined;
|
|
19138
|
+
source_net_id?: string | undefined;
|
|
19139
|
+
}, {
|
|
19140
|
+
type: "pcb_net";
|
|
19141
|
+
rats_nest_color?: string | undefined;
|
|
19142
|
+
pcb_net_id?: string | undefined;
|
|
19143
|
+
source_net_id?: string | undefined;
|
|
19080
19144
|
}>, z.ZodObject<{
|
|
19081
19145
|
type: z.ZodLiteral<"pcb_text">;
|
|
19082
19146
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -19149,6 +19213,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19149
19213
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
19150
19214
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
19151
19215
|
trace_length: z.ZodOptional<z.ZodNumber>;
|
|
19216
|
+
rats_nest_color: z.ZodOptional<z.ZodString>;
|
|
19152
19217
|
route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
19153
19218
|
route_type: z.ZodLiteral<"wire">;
|
|
19154
19219
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -19236,6 +19301,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19236
19301
|
route_order_index?: number | undefined;
|
|
19237
19302
|
should_round_corners?: boolean | undefined;
|
|
19238
19303
|
trace_length?: number | undefined;
|
|
19304
|
+
rats_nest_color?: string | undefined;
|
|
19239
19305
|
}, {
|
|
19240
19306
|
type: "pcb_trace";
|
|
19241
19307
|
route: ({
|
|
@@ -19266,6 +19332,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19266
19332
|
route_order_index?: number | undefined;
|
|
19267
19333
|
should_round_corners?: boolean | undefined;
|
|
19268
19334
|
trace_length?: number | undefined;
|
|
19335
|
+
rats_nest_color?: string | undefined;
|
|
19269
19336
|
}>, z.ZodObject<{
|
|
19270
19337
|
type: z.ZodLiteral<"pcb_via">;
|
|
19271
19338
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -20801,8 +20868,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20801
20868
|
subcircuit_id?: string | undefined;
|
|
20802
20869
|
source_port_id?: string | undefined;
|
|
20803
20870
|
source_trace_id?: string | undefined;
|
|
20804
|
-
pcb_breakout_point_id?: string | undefined;
|
|
20805
20871
|
source_net_id?: string | undefined;
|
|
20872
|
+
pcb_breakout_point_id?: string | undefined;
|
|
20806
20873
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
20807
20874
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
20808
20875
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -22786,4 +22853,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
22786
22853
|
*/
|
|
22787
22854
|
type CircuitJson = AnyCircuitElement[];
|
|
22788
22855
|
|
|
22789
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, 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 PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, 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 SchematicRect, type SchematicRectInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, 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 SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, 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_connected_error, 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_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, 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_rect, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, 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_pinout, 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, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
|
|
22856
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, 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 PcbNet, type PcbNetInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, 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 SchematicRect, type SchematicRectInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, 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 SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, 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_net, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, 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_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, 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_rect, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, 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_pinout, 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, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
|