circuit-json 0.0.396 → 0.0.398

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -6598,6 +6598,8 @@ declare const pcb_trace_route_point_wire: z.ZodObject<{
6598
6598
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6599
6599
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6600
6600
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6601
+ copper_pour_id: z.ZodOptional<z.ZodString>;
6602
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
6601
6603
  start_pcb_port_id: z.ZodOptional<z.ZodString>;
6602
6604
  end_pcb_port_id: z.ZodOptional<z.ZodString>;
6603
6605
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -6615,6 +6617,8 @@ declare const pcb_trace_route_point_wire: z.ZodObject<{
6615
6617
  width: number;
6616
6618
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6617
6619
  route_type: "wire";
6620
+ copper_pour_id?: string | undefined;
6621
+ is_inside_copper_pour?: boolean | undefined;
6618
6622
  start_pcb_port_id?: string | undefined;
6619
6623
  end_pcb_port_id?: string | undefined;
6620
6624
  }, {
@@ -6625,6 +6629,8 @@ declare const pcb_trace_route_point_wire: z.ZodObject<{
6625
6629
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6626
6630
  };
6627
6631
  route_type: "wire";
6632
+ copper_pour_id?: string | undefined;
6633
+ is_inside_copper_pour?: boolean | undefined;
6628
6634
  start_pcb_port_id?: string | undefined;
6629
6635
  end_pcb_port_id?: string | undefined;
6630
6636
  }>;
@@ -6632,6 +6638,8 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
6632
6638
  route_type: z.ZodLiteral<"via">;
6633
6639
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6634
6640
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6641
+ copper_pour_id: z.ZodOptional<z.ZodString>;
6642
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
6635
6643
  hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6636
6644
  outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6637
6645
  from_layer: z.ZodString;
@@ -6644,6 +6652,8 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
6644
6652
  from_layer: string;
6645
6653
  hole_diameter?: number | undefined;
6646
6654
  outer_diameter?: number | undefined;
6655
+ copper_pour_id?: string | undefined;
6656
+ is_inside_copper_pour?: boolean | undefined;
6647
6657
  }, {
6648
6658
  x: string | number;
6649
6659
  y: string | number;
@@ -6652,12 +6662,16 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
6652
6662
  from_layer: string;
6653
6663
  hole_diameter?: string | number | undefined;
6654
6664
  outer_diameter?: string | number | undefined;
6665
+ copper_pour_id?: string | undefined;
6666
+ is_inside_copper_pour?: boolean | undefined;
6655
6667
  }>;
6656
6668
  declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
6657
6669
  route_type: z.ZodLiteral<"wire">;
6658
6670
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6659
6671
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6660
6672
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6673
+ copper_pour_id: z.ZodOptional<z.ZodString>;
6674
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
6661
6675
  start_pcb_port_id: z.ZodOptional<z.ZodString>;
6662
6676
  end_pcb_port_id: z.ZodOptional<z.ZodString>;
6663
6677
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -6675,6 +6689,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
6675
6689
  width: number;
6676
6690
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6677
6691
  route_type: "wire";
6692
+ copper_pour_id?: string | undefined;
6693
+ is_inside_copper_pour?: boolean | undefined;
6678
6694
  start_pcb_port_id?: string | undefined;
6679
6695
  end_pcb_port_id?: string | undefined;
6680
6696
  }, {
@@ -6685,12 +6701,16 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
6685
6701
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6686
6702
  };
6687
6703
  route_type: "wire";
6704
+ copper_pour_id?: string | undefined;
6705
+ is_inside_copper_pour?: boolean | undefined;
6688
6706
  start_pcb_port_id?: string | undefined;
6689
6707
  end_pcb_port_id?: string | undefined;
6690
6708
  }>, z.ZodObject<{
6691
6709
  route_type: z.ZodLiteral<"via">;
6692
6710
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6693
6711
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6712
+ copper_pour_id: z.ZodOptional<z.ZodString>;
6713
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
6694
6714
  hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6695
6715
  outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6696
6716
  from_layer: z.ZodString;
@@ -6703,6 +6723,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
6703
6723
  from_layer: string;
6704
6724
  hole_diameter?: number | undefined;
6705
6725
  outer_diameter?: number | undefined;
6726
+ copper_pour_id?: string | undefined;
6727
+ is_inside_copper_pour?: boolean | undefined;
6706
6728
  }, {
6707
6729
  x: string | number;
6708
6730
  y: string | number;
@@ -6711,6 +6733,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
6711
6733
  from_layer: string;
6712
6734
  hole_diameter?: string | number | undefined;
6713
6735
  outer_diameter?: string | number | undefined;
6736
+ copper_pour_id?: string | undefined;
6737
+ is_inside_copper_pour?: boolean | undefined;
6714
6738
  }>]>;
6715
6739
  declare const pcb_trace: z.ZodObject<{
6716
6740
  type: z.ZodLiteral<"pcb_trace">;
@@ -6729,6 +6753,8 @@ declare const pcb_trace: z.ZodObject<{
6729
6753
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6730
6754
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6731
6755
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6756
+ copper_pour_id: z.ZodOptional<z.ZodString>;
6757
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
6732
6758
  start_pcb_port_id: z.ZodOptional<z.ZodString>;
6733
6759
  end_pcb_port_id: z.ZodOptional<z.ZodString>;
6734
6760
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -6746,6 +6772,8 @@ declare const pcb_trace: z.ZodObject<{
6746
6772
  width: number;
6747
6773
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6748
6774
  route_type: "wire";
6775
+ copper_pour_id?: string | undefined;
6776
+ is_inside_copper_pour?: boolean | undefined;
6749
6777
  start_pcb_port_id?: string | undefined;
6750
6778
  end_pcb_port_id?: string | undefined;
6751
6779
  }, {
@@ -6756,12 +6784,16 @@ declare const pcb_trace: z.ZodObject<{
6756
6784
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6757
6785
  };
6758
6786
  route_type: "wire";
6787
+ copper_pour_id?: string | undefined;
6788
+ is_inside_copper_pour?: boolean | undefined;
6759
6789
  start_pcb_port_id?: string | undefined;
6760
6790
  end_pcb_port_id?: string | undefined;
6761
6791
  }>, z.ZodObject<{
6762
6792
  route_type: z.ZodLiteral<"via">;
6763
6793
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6764
6794
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6795
+ copper_pour_id: z.ZodOptional<z.ZodString>;
6796
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
6765
6797
  hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6766
6798
  outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6767
6799
  from_layer: z.ZodString;
@@ -6774,6 +6806,8 @@ declare const pcb_trace: z.ZodObject<{
6774
6806
  from_layer: string;
6775
6807
  hole_diameter?: number | undefined;
6776
6808
  outer_diameter?: number | undefined;
6809
+ copper_pour_id?: string | undefined;
6810
+ is_inside_copper_pour?: boolean | undefined;
6777
6811
  }, {
6778
6812
  x: string | number;
6779
6813
  y: string | number;
@@ -6782,6 +6816,8 @@ declare const pcb_trace: z.ZodObject<{
6782
6816
  from_layer: string;
6783
6817
  hole_diameter?: string | number | undefined;
6784
6818
  outer_diameter?: string | number | undefined;
6819
+ copper_pour_id?: string | undefined;
6820
+ is_inside_copper_pour?: boolean | undefined;
6785
6821
  }>]>, "many">;
6786
6822
  }, "strip", z.ZodTypeAny, {
6787
6823
  type: "pcb_trace";
@@ -6792,6 +6828,8 @@ declare const pcb_trace: z.ZodObject<{
6792
6828
  width: number;
6793
6829
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6794
6830
  route_type: "wire";
6831
+ copper_pour_id?: string | undefined;
6832
+ is_inside_copper_pour?: boolean | undefined;
6795
6833
  start_pcb_port_id?: string | undefined;
6796
6834
  end_pcb_port_id?: string | undefined;
6797
6835
  } | {
@@ -6802,6 +6840,8 @@ declare const pcb_trace: z.ZodObject<{
6802
6840
  from_layer: string;
6803
6841
  hole_diameter?: number | undefined;
6804
6842
  outer_diameter?: number | undefined;
6843
+ copper_pour_id?: string | undefined;
6844
+ is_inside_copper_pour?: boolean | undefined;
6805
6845
  })[];
6806
6846
  pcb_component_id?: string | undefined;
6807
6847
  subcircuit_id?: string | undefined;
@@ -6822,6 +6862,8 @@ declare const pcb_trace: z.ZodObject<{
6822
6862
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6823
6863
  };
6824
6864
  route_type: "wire";
6865
+ copper_pour_id?: string | undefined;
6866
+ is_inside_copper_pour?: boolean | undefined;
6825
6867
  start_pcb_port_id?: string | undefined;
6826
6868
  end_pcb_port_id?: string | undefined;
6827
6869
  } | {
@@ -6832,6 +6874,8 @@ declare const pcb_trace: z.ZodObject<{
6832
6874
  from_layer: string;
6833
6875
  hole_diameter?: string | number | undefined;
6834
6876
  outer_diameter?: string | number | undefined;
6877
+ copper_pour_id?: string | undefined;
6878
+ is_inside_copper_pour?: boolean | undefined;
6835
6879
  })[];
6836
6880
  pcb_component_id?: string | undefined;
6837
6881
  subcircuit_id?: string | undefined;
@@ -6850,6 +6894,8 @@ interface PcbTraceRoutePointWire {
6850
6894
  x: Distance;
6851
6895
  y: Distance;
6852
6896
  width: Distance;
6897
+ copper_pour_id?: string;
6898
+ is_inside_copper_pour?: boolean;
6853
6899
  start_pcb_port_id?: string;
6854
6900
  end_pcb_port_id?: string;
6855
6901
  layer: LayerRef;
@@ -6858,6 +6904,8 @@ interface PcbTraceRoutePointVia {
6858
6904
  route_type: "via";
6859
6905
  x: Distance;
6860
6906
  y: Distance;
6907
+ copper_pour_id?: string;
6908
+ is_inside_copper_pour?: boolean;
6861
6909
  hole_diameter?: Distance;
6862
6910
  outer_diameter?: Distance;
6863
6911
  from_layer: string;
@@ -32089,6 +32137,19 @@ interface CadComponent {
32089
32137
  anchor_alignment: CadComponentAnchorAlignment;
32090
32138
  }
32091
32139
 
32140
+ declare const cad_model_formats: readonly ["obj", "stl", "3mf", "gltf", "glb", "step", "wrl"];
32141
+ type CadModelFormat = (typeof cad_model_formats)[number];
32142
+ type CadModelDirection = "x+" | "x-" | "y+" | "y-" | "z+" | "z-";
32143
+ declare const cadModelDefaultDirectionMap: {
32144
+ readonly obj: "z+";
32145
+ readonly stl: "z+";
32146
+ readonly "3mf": "z+";
32147
+ readonly gltf: "y+";
32148
+ readonly glb: "y+";
32149
+ readonly step: "z+";
32150
+ readonly wrl: "y+";
32151
+ };
32152
+
32092
32153
  declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
32093
32154
  type: z.ZodLiteral<"source_trace">;
32094
32155
  source_trace_id: z.ZodString;
@@ -37686,6 +37747,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37686
37747
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
37687
37748
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
37688
37749
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
37750
+ copper_pour_id: z.ZodOptional<z.ZodString>;
37751
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
37689
37752
  start_pcb_port_id: z.ZodOptional<z.ZodString>;
37690
37753
  end_pcb_port_id: z.ZodOptional<z.ZodString>;
37691
37754
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -37703,6 +37766,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37703
37766
  width: number;
37704
37767
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
37705
37768
  route_type: "wire";
37769
+ copper_pour_id?: string | undefined;
37770
+ is_inside_copper_pour?: boolean | undefined;
37706
37771
  start_pcb_port_id?: string | undefined;
37707
37772
  end_pcb_port_id?: string | undefined;
37708
37773
  }, {
@@ -37713,12 +37778,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37713
37778
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
37714
37779
  };
37715
37780
  route_type: "wire";
37781
+ copper_pour_id?: string | undefined;
37782
+ is_inside_copper_pour?: boolean | undefined;
37716
37783
  start_pcb_port_id?: string | undefined;
37717
37784
  end_pcb_port_id?: string | undefined;
37718
37785
  }>, z.ZodObject<{
37719
37786
  route_type: z.ZodLiteral<"via">;
37720
37787
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
37721
37788
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
37789
+ copper_pour_id: z.ZodOptional<z.ZodString>;
37790
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
37722
37791
  hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
37723
37792
  outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
37724
37793
  from_layer: z.ZodString;
@@ -37731,6 +37800,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37731
37800
  from_layer: string;
37732
37801
  hole_diameter?: number | undefined;
37733
37802
  outer_diameter?: number | undefined;
37803
+ copper_pour_id?: string | undefined;
37804
+ is_inside_copper_pour?: boolean | undefined;
37734
37805
  }, {
37735
37806
  x: string | number;
37736
37807
  y: string | number;
@@ -37739,6 +37810,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37739
37810
  from_layer: string;
37740
37811
  hole_diameter?: string | number | undefined;
37741
37812
  outer_diameter?: string | number | undefined;
37813
+ copper_pour_id?: string | undefined;
37814
+ is_inside_copper_pour?: boolean | undefined;
37742
37815
  }>]>, "many">;
37743
37816
  }, "strip", z.ZodTypeAny, {
37744
37817
  type: "pcb_trace";
@@ -37749,6 +37822,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37749
37822
  width: number;
37750
37823
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
37751
37824
  route_type: "wire";
37825
+ copper_pour_id?: string | undefined;
37826
+ is_inside_copper_pour?: boolean | undefined;
37752
37827
  start_pcb_port_id?: string | undefined;
37753
37828
  end_pcb_port_id?: string | undefined;
37754
37829
  } | {
@@ -37759,6 +37834,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37759
37834
  from_layer: string;
37760
37835
  hole_diameter?: number | undefined;
37761
37836
  outer_diameter?: number | undefined;
37837
+ copper_pour_id?: string | undefined;
37838
+ is_inside_copper_pour?: boolean | undefined;
37762
37839
  })[];
37763
37840
  pcb_component_id?: string | undefined;
37764
37841
  subcircuit_id?: string | undefined;
@@ -37779,6 +37856,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37779
37856
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
37780
37857
  };
37781
37858
  route_type: "wire";
37859
+ copper_pour_id?: string | undefined;
37860
+ is_inside_copper_pour?: boolean | undefined;
37782
37861
  start_pcb_port_id?: string | undefined;
37783
37862
  end_pcb_port_id?: string | undefined;
37784
37863
  } | {
@@ -37789,6 +37868,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37789
37868
  from_layer: string;
37790
37869
  hole_diameter?: string | number | undefined;
37791
37870
  outer_diameter?: string | number | undefined;
37871
+ copper_pour_id?: string | undefined;
37872
+ is_inside_copper_pour?: boolean | undefined;
37792
37873
  })[];
37793
37874
  pcb_component_id?: string | undefined;
37794
37875
  subcircuit_id?: string | undefined;
@@ -55394,6 +55475,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55394
55475
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
55395
55476
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
55396
55477
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
55478
+ copper_pour_id: z.ZodOptional<z.ZodString>;
55479
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
55397
55480
  start_pcb_port_id: z.ZodOptional<z.ZodString>;
55398
55481
  end_pcb_port_id: z.ZodOptional<z.ZodString>;
55399
55482
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -55411,6 +55494,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55411
55494
  width: number;
55412
55495
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55413
55496
  route_type: "wire";
55497
+ copper_pour_id?: string | undefined;
55498
+ is_inside_copper_pour?: boolean | undefined;
55414
55499
  start_pcb_port_id?: string | undefined;
55415
55500
  end_pcb_port_id?: string | undefined;
55416
55501
  }, {
@@ -55421,12 +55506,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55421
55506
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55422
55507
  };
55423
55508
  route_type: "wire";
55509
+ copper_pour_id?: string | undefined;
55510
+ is_inside_copper_pour?: boolean | undefined;
55424
55511
  start_pcb_port_id?: string | undefined;
55425
55512
  end_pcb_port_id?: string | undefined;
55426
55513
  }>, z.ZodObject<{
55427
55514
  route_type: z.ZodLiteral<"via">;
55428
55515
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
55429
55516
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
55517
+ copper_pour_id: z.ZodOptional<z.ZodString>;
55518
+ is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
55430
55519
  hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
55431
55520
  outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
55432
55521
  from_layer: z.ZodString;
@@ -55439,6 +55528,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55439
55528
  from_layer: string;
55440
55529
  hole_diameter?: number | undefined;
55441
55530
  outer_diameter?: number | undefined;
55531
+ copper_pour_id?: string | undefined;
55532
+ is_inside_copper_pour?: boolean | undefined;
55442
55533
  }, {
55443
55534
  x: string | number;
55444
55535
  y: string | number;
@@ -55447,6 +55538,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55447
55538
  from_layer: string;
55448
55539
  hole_diameter?: string | number | undefined;
55449
55540
  outer_diameter?: string | number | undefined;
55541
+ copper_pour_id?: string | undefined;
55542
+ is_inside_copper_pour?: boolean | undefined;
55450
55543
  }>]>, "many">;
55451
55544
  }, "strip", z.ZodTypeAny, {
55452
55545
  type: "pcb_trace";
@@ -55457,6 +55550,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55457
55550
  width: number;
55458
55551
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55459
55552
  route_type: "wire";
55553
+ copper_pour_id?: string | undefined;
55554
+ is_inside_copper_pour?: boolean | undefined;
55460
55555
  start_pcb_port_id?: string | undefined;
55461
55556
  end_pcb_port_id?: string | undefined;
55462
55557
  } | {
@@ -55467,6 +55562,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55467
55562
  from_layer: string;
55468
55563
  hole_diameter?: number | undefined;
55469
55564
  outer_diameter?: number | undefined;
55565
+ copper_pour_id?: string | undefined;
55566
+ is_inside_copper_pour?: boolean | undefined;
55470
55567
  })[];
55471
55568
  pcb_component_id?: string | undefined;
55472
55569
  subcircuit_id?: string | undefined;
@@ -55487,6 +55584,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55487
55584
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55488
55585
  };
55489
55586
  route_type: "wire";
55587
+ copper_pour_id?: string | undefined;
55588
+ is_inside_copper_pour?: boolean | undefined;
55490
55589
  start_pcb_port_id?: string | undefined;
55491
55590
  end_pcb_port_id?: string | undefined;
55492
55591
  } | {
@@ -55497,6 +55596,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55497
55596
  from_layer: string;
55498
55597
  hole_diameter?: string | number | undefined;
55499
55598
  outer_diameter?: string | number | undefined;
55599
+ copper_pour_id?: string | undefined;
55600
+ is_inside_copper_pour?: boolean | undefined;
55500
55601
  })[];
55501
55602
  pcb_component_id?: string | undefined;
55502
55603
  subcircuit_id?: string | undefined;
@@ -67518,4 +67619,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
67518
67619
  */
67519
67620
  type CircuitJson = AnyCircuitElement[];
67520
67621
 
67521
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPanelizationPlacementError, 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 PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, 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 PcbRenderLayer, 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 PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, 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 PcbViaClearanceError, type PcbViaClearanceErrorInput, 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 SchematicSheet, type SchematicSheetInput, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, 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 SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, 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_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_panelization_placement_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_pill, 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, pcb_via_clearance_error, 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_sheet, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_component_base, source_component_internal_connection, source_component_pins_underspecified_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, 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_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
67622
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelDirection, type CadModelFormat, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPanelizationPlacementError, 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 PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, 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 PcbRenderLayer, 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 PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, 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 PcbViaClearanceError, type PcbViaClearanceErrorInput, 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 SchematicSheet, type SchematicSheetInput, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, 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 SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_component, cad_model_formats, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, 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_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_panelization_placement_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_pill, 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, pcb_via_clearance_error, 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_sheet, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_component_base, source_component_internal_connection, source_component_pins_underspecified_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, 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_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
package/dist/index.mjs CHANGED
@@ -2265,6 +2265,8 @@ var pcb_trace_route_point_wire = z98.object({
2265
2265
  x: distance,
2266
2266
  y: distance,
2267
2267
  width: distance,
2268
+ copper_pour_id: z98.string().optional(),
2269
+ is_inside_copper_pour: z98.boolean().optional(),
2268
2270
  start_pcb_port_id: z98.string().optional(),
2269
2271
  end_pcb_port_id: z98.string().optional(),
2270
2272
  layer: layer_ref
@@ -2273,6 +2275,8 @@ var pcb_trace_route_point_via = z98.object({
2273
2275
  route_type: z98.literal("via"),
2274
2276
  x: distance,
2275
2277
  y: distance,
2278
+ copper_pour_id: z98.string().optional(),
2279
+ is_inside_copper_pour: z98.boolean().optional(),
2276
2280
  hole_diameter: distance.optional(),
2277
2281
  outer_diameter: distance.optional(),
2278
2282
  from_layer: z98.string(),
@@ -3328,6 +3332,26 @@ var cad_component = z150.object({
3328
3332
  }).describe("Defines a component on the PCB");
3329
3333
  expectTypesMatch(true);
3330
3334
 
3335
+ // src/cad/cad_model_conventions.ts
3336
+ var cad_model_formats = [
3337
+ "obj",
3338
+ "stl",
3339
+ "3mf",
3340
+ "gltf",
3341
+ "glb",
3342
+ "step",
3343
+ "wrl"
3344
+ ];
3345
+ var cadModelDefaultDirectionMap = {
3346
+ obj: "z+",
3347
+ stl: "z+",
3348
+ "3mf": "z+",
3349
+ gltf: "y+",
3350
+ glb: "y+",
3351
+ step: "z+",
3352
+ wrl: "y+"
3353
+ };
3354
+
3331
3355
  // src/simulation/simulation_voltage_source.ts
3332
3356
  import { z as z151 } from "zod";
3333
3357
  var wave_shape = z151.enum(["sinewave", "square", "triangle", "sawtooth"]);
@@ -3700,7 +3724,9 @@ export {
3700
3724
  base_circuit_json_error,
3701
3725
  battery_capacity,
3702
3726
  brep_shape,
3727
+ cadModelDefaultDirectionMap,
3703
3728
  cad_component,
3729
+ cad_model_formats,
3704
3730
  capacitance,
3705
3731
  circuit_json_footprint_load_error,
3706
3732
  current,