circuit-json 0.0.275 → 0.0.277
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 +126 -0
- package/dist/index.d.mts +1343 -123
- package/dist/index.mjs +373 -244
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -612,7 +612,168 @@ interface PcbHoleOval {
|
|
|
612
612
|
x: Distance;
|
|
613
613
|
y: Distance;
|
|
614
614
|
}
|
|
615
|
-
declare const
|
|
615
|
+
declare const pcb_hole_pill: z.ZodObject<{
|
|
616
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
617
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
618
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
619
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
620
|
+
hole_shape: z.ZodLiteral<"pill">;
|
|
621
|
+
hole_width: z.ZodNumber;
|
|
622
|
+
hole_height: z.ZodNumber;
|
|
623
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
624
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
x: number;
|
|
627
|
+
y: number;
|
|
628
|
+
type: "pcb_hole";
|
|
629
|
+
pcb_hole_id: string;
|
|
630
|
+
hole_shape: "pill";
|
|
631
|
+
hole_width: number;
|
|
632
|
+
hole_height: number;
|
|
633
|
+
subcircuit_id?: string | undefined;
|
|
634
|
+
pcb_group_id?: string | undefined;
|
|
635
|
+
}, {
|
|
636
|
+
x: string | number;
|
|
637
|
+
y: string | number;
|
|
638
|
+
type: "pcb_hole";
|
|
639
|
+
hole_shape: "pill";
|
|
640
|
+
hole_width: number;
|
|
641
|
+
hole_height: number;
|
|
642
|
+
subcircuit_id?: string | undefined;
|
|
643
|
+
pcb_group_id?: string | undefined;
|
|
644
|
+
pcb_hole_id?: string | undefined;
|
|
645
|
+
}>;
|
|
646
|
+
declare const pcb_hole_pill_shape: z.ZodObject<{
|
|
647
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
648
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
649
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
650
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
651
|
+
hole_shape: z.ZodLiteral<"pill">;
|
|
652
|
+
hole_width: z.ZodNumber;
|
|
653
|
+
hole_height: z.ZodNumber;
|
|
654
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
655
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
656
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
|
+
x: number;
|
|
658
|
+
y: number;
|
|
659
|
+
type: "pcb_hole";
|
|
660
|
+
pcb_hole_id: string;
|
|
661
|
+
hole_shape: "pill";
|
|
662
|
+
hole_width: number;
|
|
663
|
+
hole_height: number;
|
|
664
|
+
subcircuit_id?: string | undefined;
|
|
665
|
+
pcb_group_id?: string | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
x: string | number;
|
|
668
|
+
y: string | number;
|
|
669
|
+
type: "pcb_hole";
|
|
670
|
+
hole_shape: "pill";
|
|
671
|
+
hole_width: number;
|
|
672
|
+
hole_height: number;
|
|
673
|
+
subcircuit_id?: string | undefined;
|
|
674
|
+
pcb_group_id?: string | undefined;
|
|
675
|
+
pcb_hole_id?: string | undefined;
|
|
676
|
+
}>;
|
|
677
|
+
type PcbHolePillInput = z.input<typeof pcb_hole_pill>;
|
|
678
|
+
/**
|
|
679
|
+
* Defines a pill-shaped hole on the PCB
|
|
680
|
+
*/
|
|
681
|
+
interface PcbHolePill {
|
|
682
|
+
type: "pcb_hole";
|
|
683
|
+
pcb_hole_id: string;
|
|
684
|
+
pcb_group_id?: string;
|
|
685
|
+
subcircuit_id?: string;
|
|
686
|
+
hole_shape: "pill";
|
|
687
|
+
hole_width: number;
|
|
688
|
+
hole_height: number;
|
|
689
|
+
x: Distance;
|
|
690
|
+
y: Distance;
|
|
691
|
+
}
|
|
692
|
+
declare const pcb_hole_rotated_pill: z.ZodObject<{
|
|
693
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
694
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
695
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
696
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
697
|
+
hole_shape: z.ZodLiteral<"rotated_pill">;
|
|
698
|
+
hole_width: z.ZodNumber;
|
|
699
|
+
hole_height: z.ZodNumber;
|
|
700
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
701
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
702
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
|
704
|
+
x: number;
|
|
705
|
+
y: number;
|
|
706
|
+
type: "pcb_hole";
|
|
707
|
+
pcb_hole_id: string;
|
|
708
|
+
hole_shape: "rotated_pill";
|
|
709
|
+
hole_width: number;
|
|
710
|
+
hole_height: number;
|
|
711
|
+
ccw_rotation: number;
|
|
712
|
+
subcircuit_id?: string | undefined;
|
|
713
|
+
pcb_group_id?: string | undefined;
|
|
714
|
+
}, {
|
|
715
|
+
x: string | number;
|
|
716
|
+
y: string | number;
|
|
717
|
+
type: "pcb_hole";
|
|
718
|
+
hole_shape: "rotated_pill";
|
|
719
|
+
hole_width: number;
|
|
720
|
+
hole_height: number;
|
|
721
|
+
ccw_rotation: string | number;
|
|
722
|
+
subcircuit_id?: string | undefined;
|
|
723
|
+
pcb_group_id?: string | undefined;
|
|
724
|
+
pcb_hole_id?: string | undefined;
|
|
725
|
+
}>;
|
|
726
|
+
declare const pcb_hole_rotated_pill_shape: z.ZodObject<{
|
|
727
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
728
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
729
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
730
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
731
|
+
hole_shape: z.ZodLiteral<"rotated_pill">;
|
|
732
|
+
hole_width: z.ZodNumber;
|
|
733
|
+
hole_height: z.ZodNumber;
|
|
734
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
735
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
736
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
x: number;
|
|
739
|
+
y: number;
|
|
740
|
+
type: "pcb_hole";
|
|
741
|
+
pcb_hole_id: string;
|
|
742
|
+
hole_shape: "rotated_pill";
|
|
743
|
+
hole_width: number;
|
|
744
|
+
hole_height: number;
|
|
745
|
+
ccw_rotation: number;
|
|
746
|
+
subcircuit_id?: string | undefined;
|
|
747
|
+
pcb_group_id?: string | undefined;
|
|
748
|
+
}, {
|
|
749
|
+
x: string | number;
|
|
750
|
+
y: string | number;
|
|
751
|
+
type: "pcb_hole";
|
|
752
|
+
hole_shape: "rotated_pill";
|
|
753
|
+
hole_width: number;
|
|
754
|
+
hole_height: number;
|
|
755
|
+
ccw_rotation: string | number;
|
|
756
|
+
subcircuit_id?: string | undefined;
|
|
757
|
+
pcb_group_id?: string | undefined;
|
|
758
|
+
pcb_hole_id?: string | undefined;
|
|
759
|
+
}>;
|
|
760
|
+
type PcbHoleRotatedPillInput = z.input<typeof pcb_hole_rotated_pill>;
|
|
761
|
+
/**
|
|
762
|
+
* Defines a rotated pill-shaped hole on the PCB
|
|
763
|
+
*/
|
|
764
|
+
interface PcbHoleRotatedPill {
|
|
765
|
+
type: "pcb_hole";
|
|
766
|
+
pcb_hole_id: string;
|
|
767
|
+
pcb_group_id?: string;
|
|
768
|
+
subcircuit_id?: string;
|
|
769
|
+
hole_shape: "rotated_pill";
|
|
770
|
+
hole_width: number;
|
|
771
|
+
hole_height: number;
|
|
772
|
+
x: Distance;
|
|
773
|
+
y: Distance;
|
|
774
|
+
ccw_rotation: Rotation;
|
|
775
|
+
}
|
|
776
|
+
declare const pcb_hole: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
616
777
|
type: z.ZodLiteral<"pcb_hole">;
|
|
617
778
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
618
779
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -669,16 +830,79 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
669
830
|
subcircuit_id?: string | undefined;
|
|
670
831
|
pcb_group_id?: string | undefined;
|
|
671
832
|
pcb_hole_id?: string | undefined;
|
|
833
|
+
}>]>, z.ZodObject<{
|
|
834
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
835
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
836
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
837
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
838
|
+
hole_shape: z.ZodLiteral<"pill">;
|
|
839
|
+
hole_width: z.ZodNumber;
|
|
840
|
+
hole_height: z.ZodNumber;
|
|
841
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
842
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
843
|
+
}, "strip", z.ZodTypeAny, {
|
|
844
|
+
x: number;
|
|
845
|
+
y: number;
|
|
846
|
+
type: "pcb_hole";
|
|
847
|
+
pcb_hole_id: string;
|
|
848
|
+
hole_shape: "pill";
|
|
849
|
+
hole_width: number;
|
|
850
|
+
hole_height: number;
|
|
851
|
+
subcircuit_id?: string | undefined;
|
|
852
|
+
pcb_group_id?: string | undefined;
|
|
853
|
+
}, {
|
|
854
|
+
x: string | number;
|
|
855
|
+
y: string | number;
|
|
856
|
+
type: "pcb_hole";
|
|
857
|
+
hole_shape: "pill";
|
|
858
|
+
hole_width: number;
|
|
859
|
+
hole_height: number;
|
|
860
|
+
subcircuit_id?: string | undefined;
|
|
861
|
+
pcb_group_id?: string | undefined;
|
|
862
|
+
pcb_hole_id?: string | undefined;
|
|
863
|
+
}>]>, z.ZodObject<{
|
|
864
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
865
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
866
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
867
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
868
|
+
hole_shape: z.ZodLiteral<"rotated_pill">;
|
|
869
|
+
hole_width: z.ZodNumber;
|
|
870
|
+
hole_height: z.ZodNumber;
|
|
871
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
872
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
873
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
875
|
+
x: number;
|
|
876
|
+
y: number;
|
|
877
|
+
type: "pcb_hole";
|
|
878
|
+
pcb_hole_id: string;
|
|
879
|
+
hole_shape: "rotated_pill";
|
|
880
|
+
hole_width: number;
|
|
881
|
+
hole_height: number;
|
|
882
|
+
ccw_rotation: number;
|
|
883
|
+
subcircuit_id?: string | undefined;
|
|
884
|
+
pcb_group_id?: string | undefined;
|
|
885
|
+
}, {
|
|
886
|
+
x: string | number;
|
|
887
|
+
y: string | number;
|
|
888
|
+
type: "pcb_hole";
|
|
889
|
+
hole_shape: "rotated_pill";
|
|
890
|
+
hole_width: number;
|
|
891
|
+
hole_height: number;
|
|
892
|
+
ccw_rotation: string | number;
|
|
893
|
+
subcircuit_id?: string | undefined;
|
|
894
|
+
pcb_group_id?: string | undefined;
|
|
895
|
+
pcb_hole_id?: string | undefined;
|
|
672
896
|
}>]>;
|
|
673
897
|
/**
|
|
674
|
-
* @deprecated Use PcbHoleCircleOrSquare or
|
|
898
|
+
* @deprecated Use PcbHoleCircleOrSquare, PcbHoleOval, PcbHolePill, or PcbHoleRotatedPill
|
|
675
899
|
*/
|
|
676
900
|
type PCBHoleInput = z.input<typeof pcb_hole>;
|
|
677
901
|
/**
|
|
678
|
-
* @deprecated Use PcbHoleCircleOrSquare or
|
|
902
|
+
* @deprecated Use PcbHoleCircleOrSquare, PcbHoleOval, PcbHolePill, or PcbHoleRotatedPill
|
|
679
903
|
*/
|
|
680
904
|
type PCBHole = z.infer<typeof pcb_hole>;
|
|
681
|
-
type PcbHole = PcbHoleCircleOrSquare | PcbHoleOval;
|
|
905
|
+
type PcbHole = PcbHoleCircleOrSquare | PcbHoleOval | PcbHolePill | PcbHoleRotatedPill;
|
|
682
906
|
|
|
683
907
|
/**
|
|
684
908
|
* Defines a circular plated hole on the PCB
|
|
@@ -869,12 +1093,12 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
869
1093
|
type: "pcb_plated_hole";
|
|
870
1094
|
hole_width: number;
|
|
871
1095
|
hole_height: number;
|
|
1096
|
+
ccw_rotation: number;
|
|
872
1097
|
shape: "oval" | "pill";
|
|
873
1098
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
874
1099
|
pcb_plated_hole_id: string;
|
|
875
1100
|
outer_width: number;
|
|
876
1101
|
outer_height: number;
|
|
877
|
-
ccw_rotation: number;
|
|
878
1102
|
pcb_component_id?: string | undefined;
|
|
879
1103
|
subcircuit_id?: string | undefined;
|
|
880
1104
|
pcb_group_id?: string | undefined;
|
|
@@ -886,13 +1110,13 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
886
1110
|
type: "pcb_plated_hole";
|
|
887
1111
|
hole_width: number;
|
|
888
1112
|
hole_height: number;
|
|
1113
|
+
ccw_rotation: string | number;
|
|
889
1114
|
shape: "oval" | "pill";
|
|
890
1115
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
891
1116
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
892
1117
|
})[];
|
|
893
1118
|
outer_width: number;
|
|
894
1119
|
outer_height: number;
|
|
895
|
-
ccw_rotation: string | number;
|
|
896
1120
|
pcb_component_id?: string | undefined;
|
|
897
1121
|
subcircuit_id?: string | undefined;
|
|
898
1122
|
pcb_group_id?: string | undefined;
|
|
@@ -1403,8 +1627,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1403
1627
|
width: number;
|
|
1404
1628
|
height: number;
|
|
1405
1629
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1406
|
-
shape: "rotated_rect";
|
|
1407
1630
|
ccw_rotation: number;
|
|
1631
|
+
shape: "rotated_rect";
|
|
1408
1632
|
pcb_smtpad_id: string;
|
|
1409
1633
|
pcb_component_id?: string | undefined;
|
|
1410
1634
|
subcircuit_id?: string | undefined;
|
|
@@ -1422,8 +1646,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1422
1646
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1423
1647
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1424
1648
|
};
|
|
1425
|
-
shape: "rotated_rect";
|
|
1426
1649
|
ccw_rotation: string | number;
|
|
1650
|
+
shape: "rotated_rect";
|
|
1427
1651
|
pcb_component_id?: string | undefined;
|
|
1428
1652
|
subcircuit_id?: string | undefined;
|
|
1429
1653
|
pcb_group_id?: string | undefined;
|
|
@@ -1464,8 +1688,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1464
1688
|
width: number;
|
|
1465
1689
|
height: number;
|
|
1466
1690
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1467
|
-
shape: "rotated_pill";
|
|
1468
1691
|
ccw_rotation: number;
|
|
1692
|
+
shape: "rotated_pill";
|
|
1469
1693
|
pcb_smtpad_id: string;
|
|
1470
1694
|
radius: number;
|
|
1471
1695
|
pcb_component_id?: string | undefined;
|
|
@@ -1483,8 +1707,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1483
1707
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1484
1708
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1485
1709
|
};
|
|
1486
|
-
shape: "rotated_pill";
|
|
1487
1710
|
ccw_rotation: string | number;
|
|
1711
|
+
shape: "rotated_pill";
|
|
1488
1712
|
radius: number;
|
|
1489
1713
|
pcb_component_id?: string | undefined;
|
|
1490
1714
|
subcircuit_id?: string | undefined;
|
|
@@ -1912,8 +2136,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
1912
2136
|
width: number;
|
|
1913
2137
|
height: number;
|
|
1914
2138
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1915
|
-
shape: "rotated_rect";
|
|
1916
2139
|
ccw_rotation: number;
|
|
2140
|
+
shape: "rotated_rect";
|
|
1917
2141
|
pcb_solder_paste_id: string;
|
|
1918
2142
|
pcb_component_id?: string | undefined;
|
|
1919
2143
|
subcircuit_id?: string | undefined;
|
|
@@ -1928,8 +2152,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
1928
2152
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1929
2153
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1930
2154
|
};
|
|
1931
|
-
shape: "rotated_rect";
|
|
1932
2155
|
ccw_rotation: string | number;
|
|
2156
|
+
shape: "rotated_rect";
|
|
1933
2157
|
pcb_component_id?: string | undefined;
|
|
1934
2158
|
subcircuit_id?: string | undefined;
|
|
1935
2159
|
pcb_group_id?: string | undefined;
|
|
@@ -3653,66 +3877,420 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
|
|
|
3653
3877
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
3654
3878
|
color: z.ZodOptional<z.ZodString>;
|
|
3655
3879
|
}, "strip", z.ZodTypeAny, {
|
|
3656
|
-
type: "pcb_fabrication_note_rect";
|
|
3657
|
-
width: number;
|
|
3658
|
-
height: number;
|
|
3659
|
-
pcb_component_id: string;
|
|
3660
|
-
center: {
|
|
3880
|
+
type: "pcb_fabrication_note_rect";
|
|
3881
|
+
width: number;
|
|
3882
|
+
height: number;
|
|
3883
|
+
pcb_component_id: string;
|
|
3884
|
+
center: {
|
|
3885
|
+
x: number;
|
|
3886
|
+
y: number;
|
|
3887
|
+
};
|
|
3888
|
+
layer: "top" | "bottom";
|
|
3889
|
+
stroke_width: number;
|
|
3890
|
+
pcb_fabrication_note_rect_id: string;
|
|
3891
|
+
subcircuit_id?: string | undefined;
|
|
3892
|
+
pcb_group_id?: string | undefined;
|
|
3893
|
+
is_filled?: boolean | undefined;
|
|
3894
|
+
has_stroke?: boolean | undefined;
|
|
3895
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3896
|
+
color?: string | undefined;
|
|
3897
|
+
}, {
|
|
3898
|
+
type: "pcb_fabrication_note_rect";
|
|
3899
|
+
width: string | number;
|
|
3900
|
+
height: string | number;
|
|
3901
|
+
pcb_component_id: string;
|
|
3902
|
+
center: {
|
|
3903
|
+
x: string | number;
|
|
3904
|
+
y: string | number;
|
|
3905
|
+
};
|
|
3906
|
+
layer: "top" | "bottom";
|
|
3907
|
+
subcircuit_id?: string | undefined;
|
|
3908
|
+
pcb_group_id?: string | undefined;
|
|
3909
|
+
stroke_width?: string | number | undefined;
|
|
3910
|
+
is_filled?: boolean | undefined;
|
|
3911
|
+
has_stroke?: boolean | undefined;
|
|
3912
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3913
|
+
color?: string | undefined;
|
|
3914
|
+
pcb_fabrication_note_rect_id?: string | undefined;
|
|
3915
|
+
}>;
|
|
3916
|
+
type PcbFabricationNoteRectInput = z.input<typeof pcb_fabrication_note_rect>;
|
|
3917
|
+
/**
|
|
3918
|
+
* Defines a fabrication note rectangle on the PCB
|
|
3919
|
+
*/
|
|
3920
|
+
interface PcbFabricationNoteRect {
|
|
3921
|
+
type: "pcb_fabrication_note_rect";
|
|
3922
|
+
pcb_fabrication_note_rect_id: string;
|
|
3923
|
+
pcb_component_id: string;
|
|
3924
|
+
pcb_group_id?: string;
|
|
3925
|
+
subcircuit_id?: string;
|
|
3926
|
+
center: Point;
|
|
3927
|
+
width: Length;
|
|
3928
|
+
height: Length;
|
|
3929
|
+
layer: VisibleLayer;
|
|
3930
|
+
stroke_width: Length;
|
|
3931
|
+
is_filled?: boolean;
|
|
3932
|
+
has_stroke?: boolean;
|
|
3933
|
+
is_stroke_dashed?: boolean;
|
|
3934
|
+
color?: string;
|
|
3935
|
+
}
|
|
3936
|
+
/**
|
|
3937
|
+
* @deprecated use PcbFabricationNoteRect
|
|
3938
|
+
*/
|
|
3939
|
+
type PCBFabricationNoteRect = PcbFabricationNoteRect;
|
|
3940
|
+
|
|
3941
|
+
declare const pcb_note_text: z.ZodObject<{
|
|
3942
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
3943
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3944
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3946
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3947
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
3948
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3949
|
+
text: z.ZodString;
|
|
3950
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
3951
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3952
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3953
|
+
}, "strip", z.ZodTypeAny, {
|
|
3954
|
+
x: number;
|
|
3955
|
+
y: number;
|
|
3956
|
+
}, {
|
|
3957
|
+
x: string | number;
|
|
3958
|
+
y: string | number;
|
|
3959
|
+
}>>;
|
|
3960
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
3961
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3962
|
+
}, "strip", z.ZodTypeAny, {
|
|
3963
|
+
type: "pcb_note_text";
|
|
3964
|
+
text: string;
|
|
3965
|
+
font: "tscircuit2024";
|
|
3966
|
+
font_size: number;
|
|
3967
|
+
anchor_position: {
|
|
3968
|
+
x: number;
|
|
3969
|
+
y: number;
|
|
3970
|
+
};
|
|
3971
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
3972
|
+
pcb_note_text_id: string;
|
|
3973
|
+
pcb_component_id?: string | undefined;
|
|
3974
|
+
subcircuit_id?: string | undefined;
|
|
3975
|
+
pcb_group_id?: string | undefined;
|
|
3976
|
+
color?: string | undefined;
|
|
3977
|
+
}, {
|
|
3978
|
+
type: "pcb_note_text";
|
|
3979
|
+
text: string;
|
|
3980
|
+
pcb_component_id?: string | undefined;
|
|
3981
|
+
subcircuit_id?: string | undefined;
|
|
3982
|
+
pcb_group_id?: string | undefined;
|
|
3983
|
+
font?: "tscircuit2024" | undefined;
|
|
3984
|
+
font_size?: string | number | undefined;
|
|
3985
|
+
anchor_position?: {
|
|
3986
|
+
x: string | number;
|
|
3987
|
+
y: string | number;
|
|
3988
|
+
} | undefined;
|
|
3989
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
3990
|
+
color?: string | undefined;
|
|
3991
|
+
pcb_note_text_id?: string | undefined;
|
|
3992
|
+
}>;
|
|
3993
|
+
type PcbNoteTextInput = z.input<typeof pcb_note_text>;
|
|
3994
|
+
/**
|
|
3995
|
+
* Defines a documentation note in text on the PCB
|
|
3996
|
+
*/
|
|
3997
|
+
interface PcbNoteText {
|
|
3998
|
+
type: "pcb_note_text";
|
|
3999
|
+
pcb_note_text_id: string;
|
|
4000
|
+
pcb_component_id?: string;
|
|
4001
|
+
pcb_group_id?: string;
|
|
4002
|
+
subcircuit_id?: string;
|
|
4003
|
+
font: "tscircuit2024";
|
|
4004
|
+
font_size: Length;
|
|
4005
|
+
text: string;
|
|
4006
|
+
anchor_position: Point;
|
|
4007
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
4008
|
+
color?: string;
|
|
4009
|
+
}
|
|
4010
|
+
|
|
4011
|
+
declare const pcb_note_rect: z.ZodObject<{
|
|
4012
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
4013
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4014
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
center: z.ZodObject<{
|
|
4018
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4019
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4020
|
+
}, "strip", z.ZodTypeAny, {
|
|
4021
|
+
x: number;
|
|
4022
|
+
y: number;
|
|
4023
|
+
}, {
|
|
4024
|
+
x: string | number;
|
|
4025
|
+
y: string | number;
|
|
4026
|
+
}>;
|
|
4027
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4028
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4029
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4030
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
4031
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
4032
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4033
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
}, "strip", z.ZodTypeAny, {
|
|
4035
|
+
type: "pcb_note_rect";
|
|
4036
|
+
width: number;
|
|
4037
|
+
height: number;
|
|
4038
|
+
center: {
|
|
4039
|
+
x: number;
|
|
4040
|
+
y: number;
|
|
4041
|
+
};
|
|
4042
|
+
stroke_width: number;
|
|
4043
|
+
pcb_note_rect_id: string;
|
|
4044
|
+
pcb_component_id?: string | undefined;
|
|
4045
|
+
subcircuit_id?: string | undefined;
|
|
4046
|
+
pcb_group_id?: string | undefined;
|
|
4047
|
+
is_filled?: boolean | undefined;
|
|
4048
|
+
has_stroke?: boolean | undefined;
|
|
4049
|
+
is_stroke_dashed?: boolean | undefined;
|
|
4050
|
+
color?: string | undefined;
|
|
4051
|
+
}, {
|
|
4052
|
+
type: "pcb_note_rect";
|
|
4053
|
+
width: string | number;
|
|
4054
|
+
height: string | number;
|
|
4055
|
+
center: {
|
|
4056
|
+
x: string | number;
|
|
4057
|
+
y: string | number;
|
|
4058
|
+
};
|
|
4059
|
+
pcb_component_id?: string | undefined;
|
|
4060
|
+
subcircuit_id?: string | undefined;
|
|
4061
|
+
pcb_group_id?: string | undefined;
|
|
4062
|
+
stroke_width?: string | number | undefined;
|
|
4063
|
+
is_filled?: boolean | undefined;
|
|
4064
|
+
has_stroke?: boolean | undefined;
|
|
4065
|
+
is_stroke_dashed?: boolean | undefined;
|
|
4066
|
+
color?: string | undefined;
|
|
4067
|
+
pcb_note_rect_id?: string | undefined;
|
|
4068
|
+
}>;
|
|
4069
|
+
type PcbNoteRectInput = z.input<typeof pcb_note_rect>;
|
|
4070
|
+
/**
|
|
4071
|
+
* Defines a rectangular documentation note on the PCB
|
|
4072
|
+
*/
|
|
4073
|
+
interface PcbNoteRect {
|
|
4074
|
+
type: "pcb_note_rect";
|
|
4075
|
+
pcb_note_rect_id: string;
|
|
4076
|
+
pcb_component_id?: string;
|
|
4077
|
+
pcb_group_id?: string;
|
|
4078
|
+
subcircuit_id?: string;
|
|
4079
|
+
center: Point;
|
|
4080
|
+
width: Length;
|
|
4081
|
+
height: Length;
|
|
4082
|
+
stroke_width: Length;
|
|
4083
|
+
is_filled?: boolean;
|
|
4084
|
+
has_stroke?: boolean;
|
|
4085
|
+
is_stroke_dashed?: boolean;
|
|
4086
|
+
color?: string;
|
|
4087
|
+
}
|
|
4088
|
+
|
|
4089
|
+
declare const pcb_note_path: z.ZodObject<{
|
|
4090
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
4091
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4092
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4093
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4095
|
+
route: z.ZodArray<z.ZodObject<{
|
|
4096
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4097
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4098
|
+
}, "strip", z.ZodTypeAny, {
|
|
4099
|
+
x: number;
|
|
4100
|
+
y: number;
|
|
4101
|
+
}, {
|
|
4102
|
+
x: string | number;
|
|
4103
|
+
y: string | number;
|
|
4104
|
+
}>, "many">;
|
|
4105
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4106
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4107
|
+
}, "strip", z.ZodTypeAny, {
|
|
4108
|
+
type: "pcb_note_path";
|
|
4109
|
+
route: {
|
|
4110
|
+
x: number;
|
|
4111
|
+
y: number;
|
|
4112
|
+
}[];
|
|
4113
|
+
stroke_width: number;
|
|
4114
|
+
pcb_note_path_id: string;
|
|
4115
|
+
pcb_component_id?: string | undefined;
|
|
4116
|
+
subcircuit_id?: string | undefined;
|
|
4117
|
+
pcb_group_id?: string | undefined;
|
|
4118
|
+
color?: string | undefined;
|
|
4119
|
+
}, {
|
|
4120
|
+
type: "pcb_note_path";
|
|
4121
|
+
route: {
|
|
4122
|
+
x: string | number;
|
|
4123
|
+
y: string | number;
|
|
4124
|
+
}[];
|
|
4125
|
+
pcb_component_id?: string | undefined;
|
|
4126
|
+
subcircuit_id?: string | undefined;
|
|
4127
|
+
pcb_group_id?: string | undefined;
|
|
4128
|
+
stroke_width?: string | number | undefined;
|
|
4129
|
+
color?: string | undefined;
|
|
4130
|
+
pcb_note_path_id?: string | undefined;
|
|
4131
|
+
}>;
|
|
4132
|
+
type PcbNotePathInput = z.input<typeof pcb_note_path>;
|
|
4133
|
+
/**
|
|
4134
|
+
* Defines a polyline documentation note on the PCB
|
|
4135
|
+
*/
|
|
4136
|
+
interface PcbNotePath {
|
|
4137
|
+
type: "pcb_note_path";
|
|
4138
|
+
pcb_note_path_id: string;
|
|
4139
|
+
pcb_component_id?: string;
|
|
4140
|
+
pcb_group_id?: string;
|
|
4141
|
+
subcircuit_id?: string;
|
|
4142
|
+
route: Point[];
|
|
4143
|
+
stroke_width: Length;
|
|
4144
|
+
color?: string;
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
declare const pcb_note_line: z.ZodObject<{
|
|
4148
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
4149
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4150
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4151
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4152
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4153
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4154
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4155
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4156
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4157
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4158
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4159
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4160
|
+
}, "strip", z.ZodTypeAny, {
|
|
4161
|
+
type: "pcb_note_line";
|
|
4162
|
+
stroke_width: number;
|
|
4163
|
+
x1: number;
|
|
4164
|
+
y1: number;
|
|
4165
|
+
x2: number;
|
|
4166
|
+
y2: number;
|
|
4167
|
+
pcb_note_line_id: string;
|
|
4168
|
+
pcb_component_id?: string | undefined;
|
|
4169
|
+
subcircuit_id?: string | undefined;
|
|
4170
|
+
pcb_group_id?: string | undefined;
|
|
4171
|
+
color?: string | undefined;
|
|
4172
|
+
is_dashed?: boolean | undefined;
|
|
4173
|
+
}, {
|
|
4174
|
+
type: "pcb_note_line";
|
|
4175
|
+
x1: string | number;
|
|
4176
|
+
y1: string | number;
|
|
4177
|
+
x2: string | number;
|
|
4178
|
+
y2: string | number;
|
|
4179
|
+
pcb_component_id?: string | undefined;
|
|
4180
|
+
subcircuit_id?: string | undefined;
|
|
4181
|
+
pcb_group_id?: string | undefined;
|
|
4182
|
+
stroke_width?: string | number | undefined;
|
|
4183
|
+
color?: string | undefined;
|
|
4184
|
+
pcb_note_line_id?: string | undefined;
|
|
4185
|
+
is_dashed?: boolean | undefined;
|
|
4186
|
+
}>;
|
|
4187
|
+
type PcbNoteLineInput = z.input<typeof pcb_note_line>;
|
|
4188
|
+
/**
|
|
4189
|
+
* Defines a straight documentation note line on the PCB
|
|
4190
|
+
*/
|
|
4191
|
+
interface PcbNoteLine {
|
|
4192
|
+
type: "pcb_note_line";
|
|
4193
|
+
pcb_note_line_id: string;
|
|
4194
|
+
pcb_component_id?: string;
|
|
4195
|
+
pcb_group_id?: string;
|
|
4196
|
+
subcircuit_id?: string;
|
|
4197
|
+
x1: Distance;
|
|
4198
|
+
y1: Distance;
|
|
4199
|
+
x2: Distance;
|
|
4200
|
+
y2: Distance;
|
|
4201
|
+
stroke_width: Distance;
|
|
4202
|
+
color?: string;
|
|
4203
|
+
is_dashed?: boolean;
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
declare const pcb_note_dimension: z.ZodObject<{
|
|
4207
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
4208
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4209
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4210
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4211
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4212
|
+
from: z.ZodObject<{
|
|
4213
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4214
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4215
|
+
}, "strip", z.ZodTypeAny, {
|
|
4216
|
+
x: number;
|
|
4217
|
+
y: number;
|
|
4218
|
+
}, {
|
|
4219
|
+
x: string | number;
|
|
4220
|
+
y: string | number;
|
|
4221
|
+
}>;
|
|
4222
|
+
to: z.ZodObject<{
|
|
4223
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4224
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4225
|
+
}, "strip", z.ZodTypeAny, {
|
|
4226
|
+
x: number;
|
|
4227
|
+
y: number;
|
|
4228
|
+
}, {
|
|
4229
|
+
x: string | number;
|
|
4230
|
+
y: string | number;
|
|
4231
|
+
}>;
|
|
4232
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4233
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
4234
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4235
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4236
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4237
|
+
}, "strip", z.ZodTypeAny, {
|
|
4238
|
+
type: "pcb_note_dimension";
|
|
4239
|
+
font: "tscircuit2024";
|
|
4240
|
+
font_size: number;
|
|
4241
|
+
pcb_note_dimension_id: string;
|
|
4242
|
+
from: {
|
|
3661
4243
|
x: number;
|
|
3662
4244
|
y: number;
|
|
3663
4245
|
};
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
4246
|
+
to: {
|
|
4247
|
+
x: number;
|
|
4248
|
+
y: number;
|
|
4249
|
+
};
|
|
4250
|
+
arrow_size: number;
|
|
4251
|
+
pcb_component_id?: string | undefined;
|
|
3667
4252
|
subcircuit_id?: string | undefined;
|
|
3668
4253
|
pcb_group_id?: string | undefined;
|
|
3669
|
-
|
|
3670
|
-
has_stroke?: boolean | undefined;
|
|
3671
|
-
is_stroke_dashed?: boolean | undefined;
|
|
4254
|
+
text?: string | undefined;
|
|
3672
4255
|
color?: string | undefined;
|
|
3673
4256
|
}, {
|
|
3674
|
-
type: "
|
|
3675
|
-
|
|
3676
|
-
height: string | number;
|
|
3677
|
-
pcb_component_id: string;
|
|
3678
|
-
center: {
|
|
4257
|
+
type: "pcb_note_dimension";
|
|
4258
|
+
from: {
|
|
3679
4259
|
x: string | number;
|
|
3680
4260
|
y: string | number;
|
|
3681
4261
|
};
|
|
3682
|
-
|
|
4262
|
+
to: {
|
|
4263
|
+
x: string | number;
|
|
4264
|
+
y: string | number;
|
|
4265
|
+
};
|
|
4266
|
+
pcb_component_id?: string | undefined;
|
|
3683
4267
|
subcircuit_id?: string | undefined;
|
|
3684
4268
|
pcb_group_id?: string | undefined;
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
is_stroke_dashed?: boolean | undefined;
|
|
4269
|
+
text?: string | undefined;
|
|
4270
|
+
font?: "tscircuit2024" | undefined;
|
|
4271
|
+
font_size?: string | number | undefined;
|
|
3689
4272
|
color?: string | undefined;
|
|
3690
|
-
|
|
4273
|
+
pcb_note_dimension_id?: string | undefined;
|
|
4274
|
+
arrow_size?: string | number | undefined;
|
|
3691
4275
|
}>;
|
|
3692
|
-
type
|
|
4276
|
+
type PcbNoteDimensionInput = z.input<typeof pcb_note_dimension>;
|
|
3693
4277
|
/**
|
|
3694
|
-
* Defines a
|
|
4278
|
+
* Defines a measurement annotation within PCB documentation notes
|
|
3695
4279
|
*/
|
|
3696
|
-
interface
|
|
3697
|
-
type: "
|
|
3698
|
-
|
|
3699
|
-
pcb_component_id
|
|
4280
|
+
interface PcbNoteDimension {
|
|
4281
|
+
type: "pcb_note_dimension";
|
|
4282
|
+
pcb_note_dimension_id: string;
|
|
4283
|
+
pcb_component_id?: string;
|
|
3700
4284
|
pcb_group_id?: string;
|
|
3701
4285
|
subcircuit_id?: string;
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
is_filled?: boolean;
|
|
3708
|
-
has_stroke?: boolean;
|
|
3709
|
-
is_stroke_dashed?: boolean;
|
|
4286
|
+
from: Point;
|
|
4287
|
+
to: Point;
|
|
4288
|
+
text?: string;
|
|
4289
|
+
font: "tscircuit2024";
|
|
4290
|
+
font_size: Length;
|
|
3710
4291
|
color?: string;
|
|
4292
|
+
arrow_size: Length;
|
|
3711
4293
|
}
|
|
3712
|
-
/**
|
|
3713
|
-
* @deprecated use PcbFabricationNoteRect
|
|
3714
|
-
*/
|
|
3715
|
-
type PCBFabricationNoteRect = PcbFabricationNoteRect;
|
|
3716
4294
|
|
|
3717
4295
|
declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
3718
4296
|
type: z.ZodLiteral<"pcb_footprint_overlap_error">;
|
|
@@ -5569,7 +6147,7 @@ interface PcbCourtyardOutline {
|
|
|
5569
6147
|
*/
|
|
5570
6148
|
type PCBCourtyardOutline = PcbCourtyardOutline;
|
|
5571
6149
|
|
|
5572
|
-
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 | PcbFabricationNoteRect | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError | PcbCourtyardRect | PcbCourtyardOutline;
|
|
6150
|
+
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 | PcbFabricationNoteRect | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError | PcbCourtyardRect | PcbCourtyardOutline;
|
|
5573
6151
|
|
|
5574
6152
|
interface SchematicBox {
|
|
5575
6153
|
type: "schematic_box";
|
|
@@ -5606,8 +6184,8 @@ declare const schematic_box: z.ZodObject<{
|
|
|
5606
6184
|
width: string | number;
|
|
5607
6185
|
height: string | number;
|
|
5608
6186
|
subcircuit_id?: string | undefined;
|
|
5609
|
-
schematic_component_id?: string | undefined;
|
|
5610
6187
|
is_dashed?: boolean | undefined;
|
|
6188
|
+
schematic_component_id?: string | undefined;
|
|
5611
6189
|
}>;
|
|
5612
6190
|
type SchematicBoxInput = z.input<typeof schematic_box>;
|
|
5613
6191
|
|
|
@@ -6185,8 +6763,8 @@ declare const schematic_line: z.ZodObject<{
|
|
|
6185
6763
|
x2: number;
|
|
6186
6764
|
y2: number;
|
|
6187
6765
|
color: string;
|
|
6188
|
-
schematic_component_id: string;
|
|
6189
6766
|
is_dashed: boolean;
|
|
6767
|
+
schematic_component_id: string;
|
|
6190
6768
|
schematic_line_id: string;
|
|
6191
6769
|
subcircuit_id?: string | undefined;
|
|
6192
6770
|
stroke_width?: number | null | undefined;
|
|
@@ -6255,8 +6833,8 @@ declare const schematic_rect: z.ZodObject<{
|
|
|
6255
6833
|
rotation: number;
|
|
6256
6834
|
is_filled: boolean;
|
|
6257
6835
|
color: string;
|
|
6258
|
-
schematic_component_id: string;
|
|
6259
6836
|
is_dashed: boolean;
|
|
6837
|
+
schematic_component_id: string;
|
|
6260
6838
|
schematic_rect_id: string;
|
|
6261
6839
|
subcircuit_id?: string | undefined;
|
|
6262
6840
|
stroke_width?: number | null | undefined;
|
|
@@ -6325,8 +6903,8 @@ declare const schematic_circle: z.ZodObject<{
|
|
|
6325
6903
|
radius: number;
|
|
6326
6904
|
is_filled: boolean;
|
|
6327
6905
|
color: string;
|
|
6328
|
-
schematic_component_id: string;
|
|
6329
6906
|
is_dashed: boolean;
|
|
6907
|
+
schematic_component_id: string;
|
|
6330
6908
|
schematic_circle_id: string;
|
|
6331
6909
|
subcircuit_id?: string | undefined;
|
|
6332
6910
|
stroke_width?: number | null | undefined;
|
|
@@ -6394,8 +6972,8 @@ declare const schematic_arc: z.ZodObject<{
|
|
|
6394
6972
|
};
|
|
6395
6973
|
radius: number;
|
|
6396
6974
|
color: string;
|
|
6397
|
-
schematic_component_id: string;
|
|
6398
6975
|
is_dashed: boolean;
|
|
6976
|
+
schematic_component_id: string;
|
|
6399
6977
|
direction: "clockwise" | "counterclockwise";
|
|
6400
6978
|
schematic_arc_id: string;
|
|
6401
6979
|
start_angle_degrees: number;
|
|
@@ -12669,7 +13247,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12669
13247
|
subcircuit_id?: string | undefined;
|
|
12670
13248
|
pcb_group_id?: string | undefined;
|
|
12671
13249
|
obstructs_within_bounds?: boolean | undefined;
|
|
12672
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
13250
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
12673
13251
|
type: z.ZodLiteral<"pcb_hole">;
|
|
12674
13252
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12675
13253
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12726,6 +13304,69 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12726
13304
|
subcircuit_id?: string | undefined;
|
|
12727
13305
|
pcb_group_id?: string | undefined;
|
|
12728
13306
|
pcb_hole_id?: string | undefined;
|
|
13307
|
+
}>]>, z.ZodObject<{
|
|
13308
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
13309
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13310
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13311
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13312
|
+
hole_shape: z.ZodLiteral<"pill">;
|
|
13313
|
+
hole_width: z.ZodNumber;
|
|
13314
|
+
hole_height: z.ZodNumber;
|
|
13315
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13316
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13317
|
+
}, "strip", z.ZodTypeAny, {
|
|
13318
|
+
x: number;
|
|
13319
|
+
y: number;
|
|
13320
|
+
type: "pcb_hole";
|
|
13321
|
+
pcb_hole_id: string;
|
|
13322
|
+
hole_shape: "pill";
|
|
13323
|
+
hole_width: number;
|
|
13324
|
+
hole_height: number;
|
|
13325
|
+
subcircuit_id?: string | undefined;
|
|
13326
|
+
pcb_group_id?: string | undefined;
|
|
13327
|
+
}, {
|
|
13328
|
+
x: string | number;
|
|
13329
|
+
y: string | number;
|
|
13330
|
+
type: "pcb_hole";
|
|
13331
|
+
hole_shape: "pill";
|
|
13332
|
+
hole_width: number;
|
|
13333
|
+
hole_height: number;
|
|
13334
|
+
subcircuit_id?: string | undefined;
|
|
13335
|
+
pcb_group_id?: string | undefined;
|
|
13336
|
+
pcb_hole_id?: string | undefined;
|
|
13337
|
+
}>]>, z.ZodObject<{
|
|
13338
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
13339
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13340
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13341
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13342
|
+
hole_shape: z.ZodLiteral<"rotated_pill">;
|
|
13343
|
+
hole_width: z.ZodNumber;
|
|
13344
|
+
hole_height: z.ZodNumber;
|
|
13345
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13346
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13347
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13348
|
+
}, "strip", z.ZodTypeAny, {
|
|
13349
|
+
x: number;
|
|
13350
|
+
y: number;
|
|
13351
|
+
type: "pcb_hole";
|
|
13352
|
+
pcb_hole_id: string;
|
|
13353
|
+
hole_shape: "rotated_pill";
|
|
13354
|
+
hole_width: number;
|
|
13355
|
+
hole_height: number;
|
|
13356
|
+
ccw_rotation: number;
|
|
13357
|
+
subcircuit_id?: string | undefined;
|
|
13358
|
+
pcb_group_id?: string | undefined;
|
|
13359
|
+
}, {
|
|
13360
|
+
x: string | number;
|
|
13361
|
+
y: string | number;
|
|
13362
|
+
type: "pcb_hole";
|
|
13363
|
+
hole_shape: "rotated_pill";
|
|
13364
|
+
hole_width: number;
|
|
13365
|
+
hole_height: number;
|
|
13366
|
+
ccw_rotation: string | number;
|
|
13367
|
+
subcircuit_id?: string | undefined;
|
|
13368
|
+
pcb_group_id?: string | undefined;
|
|
13369
|
+
pcb_hole_id?: string | undefined;
|
|
12729
13370
|
}>]>, z.ZodObject<{
|
|
12730
13371
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
12731
13372
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -12920,12 +13561,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12920
13561
|
type: "pcb_plated_hole";
|
|
12921
13562
|
hole_width: number;
|
|
12922
13563
|
hole_height: number;
|
|
13564
|
+
ccw_rotation: number;
|
|
12923
13565
|
shape: "oval" | "pill";
|
|
12924
13566
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
12925
13567
|
pcb_plated_hole_id: string;
|
|
12926
13568
|
outer_width: number;
|
|
12927
13569
|
outer_height: number;
|
|
12928
|
-
ccw_rotation: number;
|
|
12929
13570
|
pcb_component_id?: string | undefined;
|
|
12930
13571
|
subcircuit_id?: string | undefined;
|
|
12931
13572
|
pcb_group_id?: string | undefined;
|
|
@@ -12937,13 +13578,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12937
13578
|
type: "pcb_plated_hole";
|
|
12938
13579
|
hole_width: number;
|
|
12939
13580
|
hole_height: number;
|
|
13581
|
+
ccw_rotation: string | number;
|
|
12940
13582
|
shape: "oval" | "pill";
|
|
12941
13583
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12942
13584
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12943
13585
|
})[];
|
|
12944
13586
|
outer_width: number;
|
|
12945
13587
|
outer_height: number;
|
|
12946
|
-
ccw_rotation: string | number;
|
|
12947
13588
|
pcb_component_id?: string | undefined;
|
|
12948
13589
|
subcircuit_id?: string | undefined;
|
|
12949
13590
|
pcb_group_id?: string | undefined;
|
|
@@ -13726,8 +14367,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13726
14367
|
width: number;
|
|
13727
14368
|
height: number;
|
|
13728
14369
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13729
|
-
shape: "rotated_rect";
|
|
13730
14370
|
ccw_rotation: number;
|
|
14371
|
+
shape: "rotated_rect";
|
|
13731
14372
|
pcb_smtpad_id: string;
|
|
13732
14373
|
pcb_component_id?: string | undefined;
|
|
13733
14374
|
subcircuit_id?: string | undefined;
|
|
@@ -13745,8 +14386,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13745
14386
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13746
14387
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13747
14388
|
};
|
|
13748
|
-
shape: "rotated_rect";
|
|
13749
14389
|
ccw_rotation: string | number;
|
|
14390
|
+
shape: "rotated_rect";
|
|
13750
14391
|
pcb_component_id?: string | undefined;
|
|
13751
14392
|
subcircuit_id?: string | undefined;
|
|
13752
14393
|
pcb_group_id?: string | undefined;
|
|
@@ -13787,8 +14428,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13787
14428
|
width: number;
|
|
13788
14429
|
height: number;
|
|
13789
14430
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13790
|
-
shape: "rotated_pill";
|
|
13791
14431
|
ccw_rotation: number;
|
|
14432
|
+
shape: "rotated_pill";
|
|
13792
14433
|
pcb_smtpad_id: string;
|
|
13793
14434
|
radius: number;
|
|
13794
14435
|
pcb_component_id?: string | undefined;
|
|
@@ -13806,8 +14447,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13806
14447
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13807
14448
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13808
14449
|
};
|
|
13809
|
-
shape: "rotated_pill";
|
|
13810
14450
|
ccw_rotation: string | number;
|
|
14451
|
+
shape: "rotated_pill";
|
|
13811
14452
|
radius: number;
|
|
13812
14453
|
pcb_component_id?: string | undefined;
|
|
13813
14454
|
subcircuit_id?: string | undefined;
|
|
@@ -14111,8 +14752,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14111
14752
|
width: number;
|
|
14112
14753
|
height: number;
|
|
14113
14754
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14114
|
-
shape: "rotated_rect";
|
|
14115
14755
|
ccw_rotation: number;
|
|
14756
|
+
shape: "rotated_rect";
|
|
14116
14757
|
pcb_solder_paste_id: string;
|
|
14117
14758
|
pcb_component_id?: string | undefined;
|
|
14118
14759
|
subcircuit_id?: string | undefined;
|
|
@@ -14127,8 +14768,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14127
14768
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14128
14769
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14129
14770
|
};
|
|
14130
|
-
shape: "rotated_rect";
|
|
14131
14771
|
ccw_rotation: string | number;
|
|
14772
|
+
shape: "rotated_rect";
|
|
14132
14773
|
pcb_component_id?: string | undefined;
|
|
14133
14774
|
subcircuit_id?: string | undefined;
|
|
14134
14775
|
pcb_group_id?: string | undefined;
|
|
@@ -14951,33 +15592,146 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14951
15592
|
y: number;
|
|
14952
15593
|
}[];
|
|
14953
15594
|
stroke_width: number;
|
|
14954
|
-
pcb_fabrication_note_path_id: string;
|
|
15595
|
+
pcb_fabrication_note_path_id: string;
|
|
15596
|
+
subcircuit_id?: string | undefined;
|
|
15597
|
+
color?: string | undefined;
|
|
15598
|
+
}, {
|
|
15599
|
+
type: "pcb_fabrication_note_path";
|
|
15600
|
+
pcb_component_id: string;
|
|
15601
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15602
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15603
|
+
};
|
|
15604
|
+
route: {
|
|
15605
|
+
x: string | number;
|
|
15606
|
+
y: string | number;
|
|
15607
|
+
}[];
|
|
15608
|
+
stroke_width: string | number;
|
|
15609
|
+
subcircuit_id?: string | undefined;
|
|
15610
|
+
color?: string | undefined;
|
|
15611
|
+
pcb_fabrication_note_path_id?: string | undefined;
|
|
15612
|
+
}>, z.ZodObject<{
|
|
15613
|
+
type: z.ZodLiteral<"pcb_fabrication_note_text">;
|
|
15614
|
+
pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15615
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15616
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15617
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15618
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15619
|
+
pcb_component_id: z.ZodString;
|
|
15620
|
+
text: z.ZodString;
|
|
15621
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15622
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
15623
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15624
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15625
|
+
}, "strip", z.ZodTypeAny, {
|
|
15626
|
+
x: number;
|
|
15627
|
+
y: number;
|
|
15628
|
+
}, {
|
|
15629
|
+
x: string | number;
|
|
15630
|
+
y: string | number;
|
|
15631
|
+
}>>;
|
|
15632
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
15633
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15634
|
+
}, "strip", z.ZodTypeAny, {
|
|
15635
|
+
type: "pcb_fabrication_note_text";
|
|
15636
|
+
pcb_component_id: string;
|
|
15637
|
+
layer: "top" | "bottom";
|
|
15638
|
+
text: string;
|
|
15639
|
+
font: "tscircuit2024";
|
|
15640
|
+
font_size: number;
|
|
15641
|
+
anchor_position: {
|
|
15642
|
+
x: number;
|
|
15643
|
+
y: number;
|
|
15644
|
+
};
|
|
15645
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
15646
|
+
pcb_fabrication_note_text_id: string;
|
|
15647
|
+
subcircuit_id?: string | undefined;
|
|
15648
|
+
pcb_group_id?: string | undefined;
|
|
15649
|
+
color?: string | undefined;
|
|
15650
|
+
}, {
|
|
15651
|
+
type: "pcb_fabrication_note_text";
|
|
15652
|
+
pcb_component_id: string;
|
|
15653
|
+
layer: "top" | "bottom";
|
|
15654
|
+
text: string;
|
|
15655
|
+
subcircuit_id?: string | undefined;
|
|
15656
|
+
pcb_group_id?: string | undefined;
|
|
15657
|
+
font?: "tscircuit2024" | undefined;
|
|
15658
|
+
font_size?: string | number | undefined;
|
|
15659
|
+
anchor_position?: {
|
|
15660
|
+
x: string | number;
|
|
15661
|
+
y: string | number;
|
|
15662
|
+
} | undefined;
|
|
15663
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
15664
|
+
pcb_fabrication_note_text_id?: string | undefined;
|
|
15665
|
+
color?: string | undefined;
|
|
15666
|
+
}>, z.ZodObject<{
|
|
15667
|
+
type: z.ZodLiteral<"pcb_fabrication_note_rect">;
|
|
15668
|
+
pcb_fabrication_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15669
|
+
pcb_component_id: z.ZodString;
|
|
15670
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15671
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15672
|
+
center: z.ZodObject<{
|
|
15673
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15674
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15675
|
+
}, "strip", z.ZodTypeAny, {
|
|
15676
|
+
x: number;
|
|
15677
|
+
y: number;
|
|
15678
|
+
}, {
|
|
15679
|
+
x: string | number;
|
|
15680
|
+
y: string | number;
|
|
15681
|
+
}>;
|
|
15682
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15683
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15684
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15685
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15686
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
15687
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
15688
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15689
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15690
|
+
}, "strip", z.ZodTypeAny, {
|
|
15691
|
+
type: "pcb_fabrication_note_rect";
|
|
15692
|
+
width: number;
|
|
15693
|
+
height: number;
|
|
15694
|
+
pcb_component_id: string;
|
|
15695
|
+
center: {
|
|
15696
|
+
x: number;
|
|
15697
|
+
y: number;
|
|
15698
|
+
};
|
|
15699
|
+
layer: "top" | "bottom";
|
|
15700
|
+
stroke_width: number;
|
|
15701
|
+
pcb_fabrication_note_rect_id: string;
|
|
14955
15702
|
subcircuit_id?: string | undefined;
|
|
15703
|
+
pcb_group_id?: string | undefined;
|
|
15704
|
+
is_filled?: boolean | undefined;
|
|
15705
|
+
has_stroke?: boolean | undefined;
|
|
15706
|
+
is_stroke_dashed?: boolean | undefined;
|
|
14956
15707
|
color?: string | undefined;
|
|
14957
15708
|
}, {
|
|
14958
|
-
type: "
|
|
15709
|
+
type: "pcb_fabrication_note_rect";
|
|
15710
|
+
width: string | number;
|
|
15711
|
+
height: string | number;
|
|
14959
15712
|
pcb_component_id: string;
|
|
14960
|
-
|
|
14961
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14962
|
-
};
|
|
14963
|
-
route: {
|
|
15713
|
+
center: {
|
|
14964
15714
|
x: string | number;
|
|
14965
15715
|
y: string | number;
|
|
14966
|
-
}
|
|
14967
|
-
|
|
15716
|
+
};
|
|
15717
|
+
layer: "top" | "bottom";
|
|
14968
15718
|
subcircuit_id?: string | undefined;
|
|
15719
|
+
pcb_group_id?: string | undefined;
|
|
15720
|
+
stroke_width?: string | number | undefined;
|
|
15721
|
+
is_filled?: boolean | undefined;
|
|
15722
|
+
has_stroke?: boolean | undefined;
|
|
15723
|
+
is_stroke_dashed?: boolean | undefined;
|
|
14969
15724
|
color?: string | undefined;
|
|
14970
|
-
|
|
15725
|
+
pcb_fabrication_note_rect_id?: string | undefined;
|
|
14971
15726
|
}>, z.ZodObject<{
|
|
14972
|
-
type: z.ZodLiteral<"
|
|
14973
|
-
|
|
14974
|
-
|
|
15727
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
15728
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15729
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
14975
15730
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15731
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14976
15732
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
14977
15733
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14978
|
-
pcb_component_id: z.ZodString;
|
|
14979
15734
|
text: z.ZodString;
|
|
14980
|
-
layer: z.ZodEnum<["top", "bottom"]>;
|
|
14981
15735
|
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
14982
15736
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14983
15737
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -14991,9 +15745,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14991
15745
|
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
14992
15746
|
color: z.ZodOptional<z.ZodString>;
|
|
14993
15747
|
}, "strip", z.ZodTypeAny, {
|
|
14994
|
-
type: "
|
|
14995
|
-
pcb_component_id: string;
|
|
14996
|
-
layer: "top" | "bottom";
|
|
15748
|
+
type: "pcb_note_text";
|
|
14997
15749
|
text: string;
|
|
14998
15750
|
font: "tscircuit2024";
|
|
14999
15751
|
font_size: number;
|
|
@@ -15002,15 +15754,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15002
15754
|
y: number;
|
|
15003
15755
|
};
|
|
15004
15756
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
15005
|
-
|
|
15757
|
+
pcb_note_text_id: string;
|
|
15758
|
+
pcb_component_id?: string | undefined;
|
|
15006
15759
|
subcircuit_id?: string | undefined;
|
|
15007
15760
|
pcb_group_id?: string | undefined;
|
|
15008
15761
|
color?: string | undefined;
|
|
15009
15762
|
}, {
|
|
15010
|
-
type: "
|
|
15011
|
-
pcb_component_id: string;
|
|
15012
|
-
layer: "top" | "bottom";
|
|
15763
|
+
type: "pcb_note_text";
|
|
15013
15764
|
text: string;
|
|
15765
|
+
pcb_component_id?: string | undefined;
|
|
15014
15766
|
subcircuit_id?: string | undefined;
|
|
15015
15767
|
pcb_group_id?: string | undefined;
|
|
15016
15768
|
font?: "tscircuit2024" | undefined;
|
|
@@ -15020,12 +15772,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15020
15772
|
y: string | number;
|
|
15021
15773
|
} | undefined;
|
|
15022
15774
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
15023
|
-
pcb_fabrication_note_text_id?: string | undefined;
|
|
15024
15775
|
color?: string | undefined;
|
|
15776
|
+
pcb_note_text_id?: string | undefined;
|
|
15025
15777
|
}>, z.ZodObject<{
|
|
15026
|
-
type: z.ZodLiteral<"
|
|
15027
|
-
|
|
15028
|
-
pcb_component_id: z.ZodString
|
|
15778
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
15779
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15780
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15029
15781
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15030
15782
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15031
15783
|
center: z.ZodObject<{
|
|
@@ -15040,24 +15792,22 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15040
15792
|
}>;
|
|
15041
15793
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15042
15794
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15043
|
-
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15044
15795
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15045
15796
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
15046
15797
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
15047
15798
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15048
15799
|
color: z.ZodOptional<z.ZodString>;
|
|
15049
15800
|
}, "strip", z.ZodTypeAny, {
|
|
15050
|
-
type: "
|
|
15801
|
+
type: "pcb_note_rect";
|
|
15051
15802
|
width: number;
|
|
15052
15803
|
height: number;
|
|
15053
|
-
pcb_component_id: string;
|
|
15054
15804
|
center: {
|
|
15055
15805
|
x: number;
|
|
15056
15806
|
y: number;
|
|
15057
15807
|
};
|
|
15058
|
-
layer: "top" | "bottom";
|
|
15059
15808
|
stroke_width: number;
|
|
15060
|
-
|
|
15809
|
+
pcb_note_rect_id: string;
|
|
15810
|
+
pcb_component_id?: string | undefined;
|
|
15061
15811
|
subcircuit_id?: string | undefined;
|
|
15062
15812
|
pcb_group_id?: string | undefined;
|
|
15063
15813
|
is_filled?: boolean | undefined;
|
|
@@ -15065,15 +15815,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15065
15815
|
is_stroke_dashed?: boolean | undefined;
|
|
15066
15816
|
color?: string | undefined;
|
|
15067
15817
|
}, {
|
|
15068
|
-
type: "
|
|
15818
|
+
type: "pcb_note_rect";
|
|
15069
15819
|
width: string | number;
|
|
15070
15820
|
height: string | number;
|
|
15071
|
-
pcb_component_id: string;
|
|
15072
15821
|
center: {
|
|
15073
15822
|
x: string | number;
|
|
15074
15823
|
y: string | number;
|
|
15075
15824
|
};
|
|
15076
|
-
|
|
15825
|
+
pcb_component_id?: string | undefined;
|
|
15077
15826
|
subcircuit_id?: string | undefined;
|
|
15078
15827
|
pcb_group_id?: string | undefined;
|
|
15079
15828
|
stroke_width?: string | number | undefined;
|
|
@@ -15081,7 +15830,157 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15081
15830
|
has_stroke?: boolean | undefined;
|
|
15082
15831
|
is_stroke_dashed?: boolean | undefined;
|
|
15083
15832
|
color?: string | undefined;
|
|
15084
|
-
|
|
15833
|
+
pcb_note_rect_id?: string | undefined;
|
|
15834
|
+
}>, z.ZodObject<{
|
|
15835
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
15836
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15837
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15838
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15839
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15840
|
+
route: z.ZodArray<z.ZodObject<{
|
|
15841
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15842
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15843
|
+
}, "strip", z.ZodTypeAny, {
|
|
15844
|
+
x: number;
|
|
15845
|
+
y: number;
|
|
15846
|
+
}, {
|
|
15847
|
+
x: string | number;
|
|
15848
|
+
y: string | number;
|
|
15849
|
+
}>, "many">;
|
|
15850
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15851
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15852
|
+
}, "strip", z.ZodTypeAny, {
|
|
15853
|
+
type: "pcb_note_path";
|
|
15854
|
+
route: {
|
|
15855
|
+
x: number;
|
|
15856
|
+
y: number;
|
|
15857
|
+
}[];
|
|
15858
|
+
stroke_width: number;
|
|
15859
|
+
pcb_note_path_id: string;
|
|
15860
|
+
pcb_component_id?: string | undefined;
|
|
15861
|
+
subcircuit_id?: string | undefined;
|
|
15862
|
+
pcb_group_id?: string | undefined;
|
|
15863
|
+
color?: string | undefined;
|
|
15864
|
+
}, {
|
|
15865
|
+
type: "pcb_note_path";
|
|
15866
|
+
route: {
|
|
15867
|
+
x: string | number;
|
|
15868
|
+
y: string | number;
|
|
15869
|
+
}[];
|
|
15870
|
+
pcb_component_id?: string | undefined;
|
|
15871
|
+
subcircuit_id?: string | undefined;
|
|
15872
|
+
pcb_group_id?: string | undefined;
|
|
15873
|
+
stroke_width?: string | number | undefined;
|
|
15874
|
+
color?: string | undefined;
|
|
15875
|
+
pcb_note_path_id?: string | undefined;
|
|
15876
|
+
}>, z.ZodObject<{
|
|
15877
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
15878
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15879
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15880
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15881
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15882
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15883
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15884
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15885
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15886
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15887
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15888
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15889
|
+
}, "strip", z.ZodTypeAny, {
|
|
15890
|
+
type: "pcb_note_line";
|
|
15891
|
+
stroke_width: number;
|
|
15892
|
+
x1: number;
|
|
15893
|
+
y1: number;
|
|
15894
|
+
x2: number;
|
|
15895
|
+
y2: number;
|
|
15896
|
+
pcb_note_line_id: string;
|
|
15897
|
+
pcb_component_id?: string | undefined;
|
|
15898
|
+
subcircuit_id?: string | undefined;
|
|
15899
|
+
pcb_group_id?: string | undefined;
|
|
15900
|
+
color?: string | undefined;
|
|
15901
|
+
is_dashed?: boolean | undefined;
|
|
15902
|
+
}, {
|
|
15903
|
+
type: "pcb_note_line";
|
|
15904
|
+
x1: string | number;
|
|
15905
|
+
y1: string | number;
|
|
15906
|
+
x2: string | number;
|
|
15907
|
+
y2: string | number;
|
|
15908
|
+
pcb_component_id?: string | undefined;
|
|
15909
|
+
subcircuit_id?: string | undefined;
|
|
15910
|
+
pcb_group_id?: string | undefined;
|
|
15911
|
+
stroke_width?: string | number | undefined;
|
|
15912
|
+
color?: string | undefined;
|
|
15913
|
+
pcb_note_line_id?: string | undefined;
|
|
15914
|
+
is_dashed?: boolean | undefined;
|
|
15915
|
+
}>, z.ZodObject<{
|
|
15916
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
15917
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15918
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15919
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15920
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15921
|
+
from: z.ZodObject<{
|
|
15922
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15923
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15924
|
+
}, "strip", z.ZodTypeAny, {
|
|
15925
|
+
x: number;
|
|
15926
|
+
y: number;
|
|
15927
|
+
}, {
|
|
15928
|
+
x: string | number;
|
|
15929
|
+
y: string | number;
|
|
15930
|
+
}>;
|
|
15931
|
+
to: z.ZodObject<{
|
|
15932
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15933
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15934
|
+
}, "strip", z.ZodTypeAny, {
|
|
15935
|
+
x: number;
|
|
15936
|
+
y: number;
|
|
15937
|
+
}, {
|
|
15938
|
+
x: string | number;
|
|
15939
|
+
y: string | number;
|
|
15940
|
+
}>;
|
|
15941
|
+
text: z.ZodOptional<z.ZodString>;
|
|
15942
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15943
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15944
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15945
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15946
|
+
}, "strip", z.ZodTypeAny, {
|
|
15947
|
+
type: "pcb_note_dimension";
|
|
15948
|
+
font: "tscircuit2024";
|
|
15949
|
+
font_size: number;
|
|
15950
|
+
pcb_note_dimension_id: string;
|
|
15951
|
+
from: {
|
|
15952
|
+
x: number;
|
|
15953
|
+
y: number;
|
|
15954
|
+
};
|
|
15955
|
+
to: {
|
|
15956
|
+
x: number;
|
|
15957
|
+
y: number;
|
|
15958
|
+
};
|
|
15959
|
+
arrow_size: number;
|
|
15960
|
+
pcb_component_id?: string | undefined;
|
|
15961
|
+
subcircuit_id?: string | undefined;
|
|
15962
|
+
pcb_group_id?: string | undefined;
|
|
15963
|
+
text?: string | undefined;
|
|
15964
|
+
color?: string | undefined;
|
|
15965
|
+
}, {
|
|
15966
|
+
type: "pcb_note_dimension";
|
|
15967
|
+
from: {
|
|
15968
|
+
x: string | number;
|
|
15969
|
+
y: string | number;
|
|
15970
|
+
};
|
|
15971
|
+
to: {
|
|
15972
|
+
x: string | number;
|
|
15973
|
+
y: string | number;
|
|
15974
|
+
};
|
|
15975
|
+
pcb_component_id?: string | undefined;
|
|
15976
|
+
subcircuit_id?: string | undefined;
|
|
15977
|
+
pcb_group_id?: string | undefined;
|
|
15978
|
+
text?: string | undefined;
|
|
15979
|
+
font?: "tscircuit2024" | undefined;
|
|
15980
|
+
font_size?: string | number | undefined;
|
|
15981
|
+
color?: string | undefined;
|
|
15982
|
+
pcb_note_dimension_id?: string | undefined;
|
|
15983
|
+
arrow_size?: string | number | undefined;
|
|
15085
15984
|
}>, z.ZodObject<{
|
|
15086
15985
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
15087
15986
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -15860,8 +16759,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15860
16759
|
width: string | number;
|
|
15861
16760
|
height: string | number;
|
|
15862
16761
|
subcircuit_id?: string | undefined;
|
|
15863
|
-
schematic_component_id?: string | undefined;
|
|
15864
16762
|
is_dashed?: boolean | undefined;
|
|
16763
|
+
schematic_component_id?: string | undefined;
|
|
15865
16764
|
}>, z.ZodObject<{
|
|
15866
16765
|
type: z.ZodLiteral<"schematic_text">;
|
|
15867
16766
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -15929,8 +16828,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15929
16828
|
x2: number;
|
|
15930
16829
|
y2: number;
|
|
15931
16830
|
color: string;
|
|
15932
|
-
schematic_component_id: string;
|
|
15933
16831
|
is_dashed: boolean;
|
|
16832
|
+
schematic_component_id: string;
|
|
15934
16833
|
schematic_line_id: string;
|
|
15935
16834
|
subcircuit_id?: string | undefined;
|
|
15936
16835
|
stroke_width?: number | null | undefined;
|
|
@@ -15980,8 +16879,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15980
16879
|
rotation: number;
|
|
15981
16880
|
is_filled: boolean;
|
|
15982
16881
|
color: string;
|
|
15983
|
-
schematic_component_id: string;
|
|
15984
16882
|
is_dashed: boolean;
|
|
16883
|
+
schematic_component_id: string;
|
|
15985
16884
|
schematic_rect_id: string;
|
|
15986
16885
|
subcircuit_id?: string | undefined;
|
|
15987
16886
|
stroke_width?: number | null | undefined;
|
|
@@ -16033,8 +16932,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16033
16932
|
radius: number;
|
|
16034
16933
|
is_filled: boolean;
|
|
16035
16934
|
color: string;
|
|
16036
|
-
schematic_component_id: string;
|
|
16037
16935
|
is_dashed: boolean;
|
|
16936
|
+
schematic_component_id: string;
|
|
16038
16937
|
schematic_circle_id: string;
|
|
16039
16938
|
subcircuit_id?: string | undefined;
|
|
16040
16939
|
stroke_width?: number | null | undefined;
|
|
@@ -16084,8 +16983,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16084
16983
|
};
|
|
16085
16984
|
radius: number;
|
|
16086
16985
|
color: string;
|
|
16087
|
-
schematic_component_id: string;
|
|
16088
16986
|
is_dashed: boolean;
|
|
16987
|
+
schematic_component_id: string;
|
|
16089
16988
|
direction: "clockwise" | "counterclockwise";
|
|
16090
16989
|
schematic_arc_id: string;
|
|
16091
16990
|
start_angle_degrees: number;
|
|
@@ -19396,7 +20295,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19396
20295
|
subcircuit_id?: string | undefined;
|
|
19397
20296
|
pcb_group_id?: string | undefined;
|
|
19398
20297
|
obstructs_within_bounds?: boolean | undefined;
|
|
19399
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
20298
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
19400
20299
|
type: z.ZodLiteral<"pcb_hole">;
|
|
19401
20300
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19402
20301
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -19438,18 +20337,81 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19438
20337
|
y: number;
|
|
19439
20338
|
type: "pcb_hole";
|
|
19440
20339
|
pcb_hole_id: string;
|
|
19441
|
-
hole_shape: "oval";
|
|
20340
|
+
hole_shape: "oval";
|
|
20341
|
+
hole_width: number;
|
|
20342
|
+
hole_height: number;
|
|
20343
|
+
subcircuit_id?: string | undefined;
|
|
20344
|
+
pcb_group_id?: string | undefined;
|
|
20345
|
+
}, {
|
|
20346
|
+
x: string | number;
|
|
20347
|
+
y: string | number;
|
|
20348
|
+
type: "pcb_hole";
|
|
20349
|
+
hole_shape: "oval";
|
|
20350
|
+
hole_width: number;
|
|
20351
|
+
hole_height: number;
|
|
20352
|
+
subcircuit_id?: string | undefined;
|
|
20353
|
+
pcb_group_id?: string | undefined;
|
|
20354
|
+
pcb_hole_id?: string | undefined;
|
|
20355
|
+
}>]>, z.ZodObject<{
|
|
20356
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
20357
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20358
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
20359
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
20360
|
+
hole_shape: z.ZodLiteral<"pill">;
|
|
20361
|
+
hole_width: z.ZodNumber;
|
|
20362
|
+
hole_height: z.ZodNumber;
|
|
20363
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20364
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20365
|
+
}, "strip", z.ZodTypeAny, {
|
|
20366
|
+
x: number;
|
|
20367
|
+
y: number;
|
|
20368
|
+
type: "pcb_hole";
|
|
20369
|
+
pcb_hole_id: string;
|
|
20370
|
+
hole_shape: "pill";
|
|
20371
|
+
hole_width: number;
|
|
20372
|
+
hole_height: number;
|
|
20373
|
+
subcircuit_id?: string | undefined;
|
|
20374
|
+
pcb_group_id?: string | undefined;
|
|
20375
|
+
}, {
|
|
20376
|
+
x: string | number;
|
|
20377
|
+
y: string | number;
|
|
20378
|
+
type: "pcb_hole";
|
|
20379
|
+
hole_shape: "pill";
|
|
20380
|
+
hole_width: number;
|
|
20381
|
+
hole_height: number;
|
|
20382
|
+
subcircuit_id?: string | undefined;
|
|
20383
|
+
pcb_group_id?: string | undefined;
|
|
20384
|
+
pcb_hole_id?: string | undefined;
|
|
20385
|
+
}>]>, z.ZodObject<{
|
|
20386
|
+
type: z.ZodLiteral<"pcb_hole">;
|
|
20387
|
+
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20388
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
20389
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
20390
|
+
hole_shape: z.ZodLiteral<"rotated_pill">;
|
|
20391
|
+
hole_width: z.ZodNumber;
|
|
20392
|
+
hole_height: z.ZodNumber;
|
|
20393
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20394
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20395
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20396
|
+
}, "strip", z.ZodTypeAny, {
|
|
20397
|
+
x: number;
|
|
20398
|
+
y: number;
|
|
20399
|
+
type: "pcb_hole";
|
|
20400
|
+
pcb_hole_id: string;
|
|
20401
|
+
hole_shape: "rotated_pill";
|
|
19442
20402
|
hole_width: number;
|
|
19443
20403
|
hole_height: number;
|
|
20404
|
+
ccw_rotation: number;
|
|
19444
20405
|
subcircuit_id?: string | undefined;
|
|
19445
20406
|
pcb_group_id?: string | undefined;
|
|
19446
20407
|
}, {
|
|
19447
20408
|
x: string | number;
|
|
19448
20409
|
y: string | number;
|
|
19449
20410
|
type: "pcb_hole";
|
|
19450
|
-
hole_shape: "
|
|
20411
|
+
hole_shape: "rotated_pill";
|
|
19451
20412
|
hole_width: number;
|
|
19452
20413
|
hole_height: number;
|
|
20414
|
+
ccw_rotation: string | number;
|
|
19453
20415
|
subcircuit_id?: string | undefined;
|
|
19454
20416
|
pcb_group_id?: string | undefined;
|
|
19455
20417
|
pcb_hole_id?: string | undefined;
|
|
@@ -19647,12 +20609,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19647
20609
|
type: "pcb_plated_hole";
|
|
19648
20610
|
hole_width: number;
|
|
19649
20611
|
hole_height: number;
|
|
20612
|
+
ccw_rotation: number;
|
|
19650
20613
|
shape: "oval" | "pill";
|
|
19651
20614
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
19652
20615
|
pcb_plated_hole_id: string;
|
|
19653
20616
|
outer_width: number;
|
|
19654
20617
|
outer_height: number;
|
|
19655
|
-
ccw_rotation: number;
|
|
19656
20618
|
pcb_component_id?: string | undefined;
|
|
19657
20619
|
subcircuit_id?: string | undefined;
|
|
19658
20620
|
pcb_group_id?: string | undefined;
|
|
@@ -19664,13 +20626,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19664
20626
|
type: "pcb_plated_hole";
|
|
19665
20627
|
hole_width: number;
|
|
19666
20628
|
hole_height: number;
|
|
20629
|
+
ccw_rotation: string | number;
|
|
19667
20630
|
shape: "oval" | "pill";
|
|
19668
20631
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
19669
20632
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
19670
20633
|
})[];
|
|
19671
20634
|
outer_width: number;
|
|
19672
20635
|
outer_height: number;
|
|
19673
|
-
ccw_rotation: string | number;
|
|
19674
20636
|
pcb_component_id?: string | undefined;
|
|
19675
20637
|
subcircuit_id?: string | undefined;
|
|
19676
20638
|
pcb_group_id?: string | undefined;
|
|
@@ -20453,8 +21415,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20453
21415
|
width: number;
|
|
20454
21416
|
height: number;
|
|
20455
21417
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20456
|
-
shape: "rotated_rect";
|
|
20457
21418
|
ccw_rotation: number;
|
|
21419
|
+
shape: "rotated_rect";
|
|
20458
21420
|
pcb_smtpad_id: string;
|
|
20459
21421
|
pcb_component_id?: string | undefined;
|
|
20460
21422
|
subcircuit_id?: string | undefined;
|
|
@@ -20472,8 +21434,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20472
21434
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
20473
21435
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20474
21436
|
};
|
|
20475
|
-
shape: "rotated_rect";
|
|
20476
21437
|
ccw_rotation: string | number;
|
|
21438
|
+
shape: "rotated_rect";
|
|
20477
21439
|
pcb_component_id?: string | undefined;
|
|
20478
21440
|
subcircuit_id?: string | undefined;
|
|
20479
21441
|
pcb_group_id?: string | undefined;
|
|
@@ -20514,8 +21476,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20514
21476
|
width: number;
|
|
20515
21477
|
height: number;
|
|
20516
21478
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20517
|
-
shape: "rotated_pill";
|
|
20518
21479
|
ccw_rotation: number;
|
|
21480
|
+
shape: "rotated_pill";
|
|
20519
21481
|
pcb_smtpad_id: string;
|
|
20520
21482
|
radius: number;
|
|
20521
21483
|
pcb_component_id?: string | undefined;
|
|
@@ -20533,8 +21495,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20533
21495
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
20534
21496
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20535
21497
|
};
|
|
20536
|
-
shape: "rotated_pill";
|
|
20537
21498
|
ccw_rotation: string | number;
|
|
21499
|
+
shape: "rotated_pill";
|
|
20538
21500
|
radius: number;
|
|
20539
21501
|
pcb_component_id?: string | undefined;
|
|
20540
21502
|
subcircuit_id?: string | undefined;
|
|
@@ -20838,8 +21800,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20838
21800
|
width: number;
|
|
20839
21801
|
height: number;
|
|
20840
21802
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20841
|
-
shape: "rotated_rect";
|
|
20842
21803
|
ccw_rotation: number;
|
|
21804
|
+
shape: "rotated_rect";
|
|
20843
21805
|
pcb_solder_paste_id: string;
|
|
20844
21806
|
pcb_component_id?: string | undefined;
|
|
20845
21807
|
subcircuit_id?: string | undefined;
|
|
@@ -20854,8 +21816,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20854
21816
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
20855
21817
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
20856
21818
|
};
|
|
20857
|
-
shape: "rotated_rect";
|
|
20858
21819
|
ccw_rotation: string | number;
|
|
21820
|
+
shape: "rotated_rect";
|
|
20859
21821
|
pcb_component_id?: string | undefined;
|
|
20860
21822
|
subcircuit_id?: string | undefined;
|
|
20861
21823
|
pcb_group_id?: string | undefined;
|
|
@@ -21809,6 +22771,264 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21809
22771
|
is_stroke_dashed?: boolean | undefined;
|
|
21810
22772
|
color?: string | undefined;
|
|
21811
22773
|
pcb_fabrication_note_rect_id?: string | undefined;
|
|
22774
|
+
}>, z.ZodObject<{
|
|
22775
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
22776
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22777
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22778
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22779
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22780
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22781
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22782
|
+
text: z.ZodString;
|
|
22783
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
22784
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22785
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22786
|
+
}, "strip", z.ZodTypeAny, {
|
|
22787
|
+
x: number;
|
|
22788
|
+
y: number;
|
|
22789
|
+
}, {
|
|
22790
|
+
x: string | number;
|
|
22791
|
+
y: string | number;
|
|
22792
|
+
}>>;
|
|
22793
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
22794
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22795
|
+
}, "strip", z.ZodTypeAny, {
|
|
22796
|
+
type: "pcb_note_text";
|
|
22797
|
+
text: string;
|
|
22798
|
+
font: "tscircuit2024";
|
|
22799
|
+
font_size: number;
|
|
22800
|
+
anchor_position: {
|
|
22801
|
+
x: number;
|
|
22802
|
+
y: number;
|
|
22803
|
+
};
|
|
22804
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
22805
|
+
pcb_note_text_id: string;
|
|
22806
|
+
pcb_component_id?: string | undefined;
|
|
22807
|
+
subcircuit_id?: string | undefined;
|
|
22808
|
+
pcb_group_id?: string | undefined;
|
|
22809
|
+
color?: string | undefined;
|
|
22810
|
+
}, {
|
|
22811
|
+
type: "pcb_note_text";
|
|
22812
|
+
text: string;
|
|
22813
|
+
pcb_component_id?: string | undefined;
|
|
22814
|
+
subcircuit_id?: string | undefined;
|
|
22815
|
+
pcb_group_id?: string | undefined;
|
|
22816
|
+
font?: "tscircuit2024" | undefined;
|
|
22817
|
+
font_size?: string | number | undefined;
|
|
22818
|
+
anchor_position?: {
|
|
22819
|
+
x: string | number;
|
|
22820
|
+
y: string | number;
|
|
22821
|
+
} | undefined;
|
|
22822
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
22823
|
+
color?: string | undefined;
|
|
22824
|
+
pcb_note_text_id?: string | undefined;
|
|
22825
|
+
}>, z.ZodObject<{
|
|
22826
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
22827
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22828
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22829
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22830
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22831
|
+
center: z.ZodObject<{
|
|
22832
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22833
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22834
|
+
}, "strip", z.ZodTypeAny, {
|
|
22835
|
+
x: number;
|
|
22836
|
+
y: number;
|
|
22837
|
+
}, {
|
|
22838
|
+
x: string | number;
|
|
22839
|
+
y: string | number;
|
|
22840
|
+
}>;
|
|
22841
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22842
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22843
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22844
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
22845
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
22846
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
22847
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22848
|
+
}, "strip", z.ZodTypeAny, {
|
|
22849
|
+
type: "pcb_note_rect";
|
|
22850
|
+
width: number;
|
|
22851
|
+
height: number;
|
|
22852
|
+
center: {
|
|
22853
|
+
x: number;
|
|
22854
|
+
y: number;
|
|
22855
|
+
};
|
|
22856
|
+
stroke_width: number;
|
|
22857
|
+
pcb_note_rect_id: string;
|
|
22858
|
+
pcb_component_id?: string | undefined;
|
|
22859
|
+
subcircuit_id?: string | undefined;
|
|
22860
|
+
pcb_group_id?: string | undefined;
|
|
22861
|
+
is_filled?: boolean | undefined;
|
|
22862
|
+
has_stroke?: boolean | undefined;
|
|
22863
|
+
is_stroke_dashed?: boolean | undefined;
|
|
22864
|
+
color?: string | undefined;
|
|
22865
|
+
}, {
|
|
22866
|
+
type: "pcb_note_rect";
|
|
22867
|
+
width: string | number;
|
|
22868
|
+
height: string | number;
|
|
22869
|
+
center: {
|
|
22870
|
+
x: string | number;
|
|
22871
|
+
y: string | number;
|
|
22872
|
+
};
|
|
22873
|
+
pcb_component_id?: string | undefined;
|
|
22874
|
+
subcircuit_id?: string | undefined;
|
|
22875
|
+
pcb_group_id?: string | undefined;
|
|
22876
|
+
stroke_width?: string | number | undefined;
|
|
22877
|
+
is_filled?: boolean | undefined;
|
|
22878
|
+
has_stroke?: boolean | undefined;
|
|
22879
|
+
is_stroke_dashed?: boolean | undefined;
|
|
22880
|
+
color?: string | undefined;
|
|
22881
|
+
pcb_note_rect_id?: string | undefined;
|
|
22882
|
+
}>, z.ZodObject<{
|
|
22883
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
22884
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22885
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22886
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22887
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22888
|
+
route: z.ZodArray<z.ZodObject<{
|
|
22889
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22890
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22891
|
+
}, "strip", z.ZodTypeAny, {
|
|
22892
|
+
x: number;
|
|
22893
|
+
y: number;
|
|
22894
|
+
}, {
|
|
22895
|
+
x: string | number;
|
|
22896
|
+
y: string | number;
|
|
22897
|
+
}>, "many">;
|
|
22898
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22899
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22900
|
+
}, "strip", z.ZodTypeAny, {
|
|
22901
|
+
type: "pcb_note_path";
|
|
22902
|
+
route: {
|
|
22903
|
+
x: number;
|
|
22904
|
+
y: number;
|
|
22905
|
+
}[];
|
|
22906
|
+
stroke_width: number;
|
|
22907
|
+
pcb_note_path_id: string;
|
|
22908
|
+
pcb_component_id?: string | undefined;
|
|
22909
|
+
subcircuit_id?: string | undefined;
|
|
22910
|
+
pcb_group_id?: string | undefined;
|
|
22911
|
+
color?: string | undefined;
|
|
22912
|
+
}, {
|
|
22913
|
+
type: "pcb_note_path";
|
|
22914
|
+
route: {
|
|
22915
|
+
x: string | number;
|
|
22916
|
+
y: string | number;
|
|
22917
|
+
}[];
|
|
22918
|
+
pcb_component_id?: string | undefined;
|
|
22919
|
+
subcircuit_id?: string | undefined;
|
|
22920
|
+
pcb_group_id?: string | undefined;
|
|
22921
|
+
stroke_width?: string | number | undefined;
|
|
22922
|
+
color?: string | undefined;
|
|
22923
|
+
pcb_note_path_id?: string | undefined;
|
|
22924
|
+
}>, z.ZodObject<{
|
|
22925
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
22926
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22927
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22928
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22929
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22930
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22931
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22932
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22933
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22934
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22935
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22936
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
22937
|
+
}, "strip", z.ZodTypeAny, {
|
|
22938
|
+
type: "pcb_note_line";
|
|
22939
|
+
stroke_width: number;
|
|
22940
|
+
x1: number;
|
|
22941
|
+
y1: number;
|
|
22942
|
+
x2: number;
|
|
22943
|
+
y2: number;
|
|
22944
|
+
pcb_note_line_id: string;
|
|
22945
|
+
pcb_component_id?: string | undefined;
|
|
22946
|
+
subcircuit_id?: string | undefined;
|
|
22947
|
+
pcb_group_id?: string | undefined;
|
|
22948
|
+
color?: string | undefined;
|
|
22949
|
+
is_dashed?: boolean | undefined;
|
|
22950
|
+
}, {
|
|
22951
|
+
type: "pcb_note_line";
|
|
22952
|
+
x1: string | number;
|
|
22953
|
+
y1: string | number;
|
|
22954
|
+
x2: string | number;
|
|
22955
|
+
y2: string | number;
|
|
22956
|
+
pcb_component_id?: string | undefined;
|
|
22957
|
+
subcircuit_id?: string | undefined;
|
|
22958
|
+
pcb_group_id?: string | undefined;
|
|
22959
|
+
stroke_width?: string | number | undefined;
|
|
22960
|
+
color?: string | undefined;
|
|
22961
|
+
pcb_note_line_id?: string | undefined;
|
|
22962
|
+
is_dashed?: boolean | undefined;
|
|
22963
|
+
}>, z.ZodObject<{
|
|
22964
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
22965
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22966
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22967
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22968
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22969
|
+
from: z.ZodObject<{
|
|
22970
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22971
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22972
|
+
}, "strip", z.ZodTypeAny, {
|
|
22973
|
+
x: number;
|
|
22974
|
+
y: number;
|
|
22975
|
+
}, {
|
|
22976
|
+
x: string | number;
|
|
22977
|
+
y: string | number;
|
|
22978
|
+
}>;
|
|
22979
|
+
to: z.ZodObject<{
|
|
22980
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22981
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22982
|
+
}, "strip", z.ZodTypeAny, {
|
|
22983
|
+
x: number;
|
|
22984
|
+
y: number;
|
|
22985
|
+
}, {
|
|
22986
|
+
x: string | number;
|
|
22987
|
+
y: string | number;
|
|
22988
|
+
}>;
|
|
22989
|
+
text: z.ZodOptional<z.ZodString>;
|
|
22990
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22991
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22992
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22993
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22994
|
+
}, "strip", z.ZodTypeAny, {
|
|
22995
|
+
type: "pcb_note_dimension";
|
|
22996
|
+
font: "tscircuit2024";
|
|
22997
|
+
font_size: number;
|
|
22998
|
+
pcb_note_dimension_id: string;
|
|
22999
|
+
from: {
|
|
23000
|
+
x: number;
|
|
23001
|
+
y: number;
|
|
23002
|
+
};
|
|
23003
|
+
to: {
|
|
23004
|
+
x: number;
|
|
23005
|
+
y: number;
|
|
23006
|
+
};
|
|
23007
|
+
arrow_size: number;
|
|
23008
|
+
pcb_component_id?: string | undefined;
|
|
23009
|
+
subcircuit_id?: string | undefined;
|
|
23010
|
+
pcb_group_id?: string | undefined;
|
|
23011
|
+
text?: string | undefined;
|
|
23012
|
+
color?: string | undefined;
|
|
23013
|
+
}, {
|
|
23014
|
+
type: "pcb_note_dimension";
|
|
23015
|
+
from: {
|
|
23016
|
+
x: string | number;
|
|
23017
|
+
y: string | number;
|
|
23018
|
+
};
|
|
23019
|
+
to: {
|
|
23020
|
+
x: string | number;
|
|
23021
|
+
y: string | number;
|
|
23022
|
+
};
|
|
23023
|
+
pcb_component_id?: string | undefined;
|
|
23024
|
+
subcircuit_id?: string | undefined;
|
|
23025
|
+
pcb_group_id?: string | undefined;
|
|
23026
|
+
text?: string | undefined;
|
|
23027
|
+
font?: "tscircuit2024" | undefined;
|
|
23028
|
+
font_size?: string | number | undefined;
|
|
23029
|
+
color?: string | undefined;
|
|
23030
|
+
pcb_note_dimension_id?: string | undefined;
|
|
23031
|
+
arrow_size?: string | number | undefined;
|
|
21812
23032
|
}>, z.ZodObject<{
|
|
21813
23033
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
21814
23034
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -22587,8 +23807,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22587
23807
|
width: string | number;
|
|
22588
23808
|
height: string | number;
|
|
22589
23809
|
subcircuit_id?: string | undefined;
|
|
22590
|
-
schematic_component_id?: string | undefined;
|
|
22591
23810
|
is_dashed?: boolean | undefined;
|
|
23811
|
+
schematic_component_id?: string | undefined;
|
|
22592
23812
|
}>, z.ZodObject<{
|
|
22593
23813
|
type: z.ZodLiteral<"schematic_text">;
|
|
22594
23814
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -22656,8 +23876,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22656
23876
|
x2: number;
|
|
22657
23877
|
y2: number;
|
|
22658
23878
|
color: string;
|
|
22659
|
-
schematic_component_id: string;
|
|
22660
23879
|
is_dashed: boolean;
|
|
23880
|
+
schematic_component_id: string;
|
|
22661
23881
|
schematic_line_id: string;
|
|
22662
23882
|
subcircuit_id?: string | undefined;
|
|
22663
23883
|
stroke_width?: number | null | undefined;
|
|
@@ -22707,8 +23927,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22707
23927
|
rotation: number;
|
|
22708
23928
|
is_filled: boolean;
|
|
22709
23929
|
color: string;
|
|
22710
|
-
schematic_component_id: string;
|
|
22711
23930
|
is_dashed: boolean;
|
|
23931
|
+
schematic_component_id: string;
|
|
22712
23932
|
schematic_rect_id: string;
|
|
22713
23933
|
subcircuit_id?: string | undefined;
|
|
22714
23934
|
stroke_width?: number | null | undefined;
|
|
@@ -22760,8 +23980,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22760
23980
|
radius: number;
|
|
22761
23981
|
is_filled: boolean;
|
|
22762
23982
|
color: string;
|
|
22763
|
-
schematic_component_id: string;
|
|
22764
23983
|
is_dashed: boolean;
|
|
23984
|
+
schematic_component_id: string;
|
|
22765
23985
|
schematic_circle_id: string;
|
|
22766
23986
|
subcircuit_id?: string | undefined;
|
|
22767
23987
|
stroke_width?: number | null | undefined;
|
|
@@ -22811,8 +24031,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22811
24031
|
};
|
|
22812
24032
|
radius: number;
|
|
22813
24033
|
color: string;
|
|
22814
|
-
schematic_component_id: string;
|
|
22815
24034
|
is_dashed: boolean;
|
|
24035
|
+
schematic_component_id: string;
|
|
22816
24036
|
direction: "clockwise" | "counterclockwise";
|
|
22817
24037
|
schematic_arc_id: string;
|
|
22818
24038
|
start_angle_degrees: number;
|
|
@@ -24097,4 +25317,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
24097
25317
|
*/
|
|
24098
25318
|
type CircuitJson = AnyCircuitElement[];
|
|
24099
25319
|
|
|
24100
|
-
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 ExperimentType, 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 PCBCourtyardOutline, type PCBCourtyardRect, type PCBFabricationNotePath, type PCBFabricationNoteRect, 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 PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, 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 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 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 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 SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, 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, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, 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_courtyard_outline, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, 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_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, 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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, 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, timestamp, visible_layer, voltage, wave_shape };
|
|
25320
|
+
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 ExperimentType, 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 PCBCourtyardOutline, type PCBCourtyardRect, type PCBFabricationNotePath, type PCBFabricationNoteRect, 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 PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, 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 PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, 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 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 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 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 SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, 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, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, 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_courtyard_outline, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, 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_oval_shape, pcb_hole_pill_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_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, 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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, 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, timestamp, visible_layer, voltage, wave_shape };
|