circuit-json 0.0.276 → 0.0.278
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 +153 -0
- package/dist/index.d.mts +1534 -413
- package/dist/index.mjs +363 -243
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3938,53 +3938,14 @@ interface PcbFabricationNoteRect {
|
|
|
3938
3938
|
*/
|
|
3939
3939
|
type PCBFabricationNoteRect = PcbFabricationNoteRect;
|
|
3940
3940
|
|
|
3941
|
-
declare const
|
|
3942
|
-
type: z.ZodLiteral<"
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
message: z.ZodString;
|
|
3946
|
-
pcb_smtpad_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3947
|
-
pcb_plated_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3948
|
-
pcb_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3949
|
-
pcb_keepout_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3950
|
-
}, "strip", z.ZodTypeAny, {
|
|
3951
|
-
message: string;
|
|
3952
|
-
type: "pcb_footprint_overlap_error";
|
|
3953
|
-
error_type: "pcb_footprint_overlap_error";
|
|
3954
|
-
pcb_error_id: string;
|
|
3955
|
-
pcb_smtpad_ids?: string[] | undefined;
|
|
3956
|
-
pcb_plated_hole_ids?: string[] | undefined;
|
|
3957
|
-
pcb_hole_ids?: string[] | undefined;
|
|
3958
|
-
pcb_keepout_ids?: string[] | undefined;
|
|
3959
|
-
}, {
|
|
3960
|
-
message: string;
|
|
3961
|
-
type: "pcb_footprint_overlap_error";
|
|
3962
|
-
error_type?: "pcb_footprint_overlap_error" | undefined;
|
|
3963
|
-
pcb_error_id?: string | undefined;
|
|
3964
|
-
pcb_smtpad_ids?: string[] | undefined;
|
|
3965
|
-
pcb_plated_hole_ids?: string[] | undefined;
|
|
3966
|
-
pcb_hole_ids?: string[] | undefined;
|
|
3967
|
-
pcb_keepout_ids?: string[] | undefined;
|
|
3968
|
-
}>;
|
|
3969
|
-
type PcbFootprintOverlapErrorInput = z.input<typeof pcb_footprint_overlap_error>;
|
|
3970
|
-
/** Error emitted when a pcb footprint overlaps with another element */
|
|
3971
|
-
interface PcbFootprintOverlapError {
|
|
3972
|
-
type: "pcb_footprint_overlap_error";
|
|
3973
|
-
pcb_error_id: string;
|
|
3974
|
-
error_type: "pcb_footprint_overlap_error";
|
|
3975
|
-
message: string;
|
|
3976
|
-
pcb_smtpad_ids?: string[];
|
|
3977
|
-
pcb_plated_hole_ids?: string[];
|
|
3978
|
-
pcb_hole_ids?: string[];
|
|
3979
|
-
pcb_keepout_ids?: string[];
|
|
3980
|
-
}
|
|
3981
|
-
|
|
3982
|
-
declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
3983
|
-
type: z.ZodLiteral<"pcb_keepout">;
|
|
3984
|
-
shape: z.ZodLiteral<"rect">;
|
|
3941
|
+
declare const pcb_fabrication_note_dimension: z.ZodObject<{
|
|
3942
|
+
type: z.ZodLiteral<"pcb_fabrication_note_dimension">;
|
|
3943
|
+
pcb_fabrication_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3944
|
+
pcb_component_id: z.ZodString;
|
|
3985
3945
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3986
3946
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3987
|
-
|
|
3947
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
3948
|
+
from: z.ZodUnion<[z.ZodObject<{
|
|
3988
3949
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3989
3950
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3990
3951
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3993,46 +3954,101 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
3993
3954
|
}, {
|
|
3994
3955
|
x: string | number;
|
|
3995
3956
|
y: string | number;
|
|
3996
|
-
}>;
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
3957
|
+
}>, z.ZodString]>;
|
|
3958
|
+
to: z.ZodUnion<[z.ZodObject<{
|
|
3959
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3960
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3961
|
+
}, "strip", z.ZodTypeAny, {
|
|
3962
|
+
x: number;
|
|
3963
|
+
y: number;
|
|
3964
|
+
}, {
|
|
3965
|
+
x: string | number;
|
|
3966
|
+
y: string | number;
|
|
3967
|
+
}>, z.ZodString]>;
|
|
3968
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3969
|
+
offset: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3970
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
3971
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3972
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3973
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4002
3974
|
}, "strip", z.ZodTypeAny, {
|
|
4003
|
-
type: "
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
3975
|
+
type: "pcb_fabrication_note_dimension";
|
|
3976
|
+
pcb_component_id: string;
|
|
3977
|
+
layer: "top" | "bottom";
|
|
3978
|
+
font: "tscircuit2024";
|
|
3979
|
+
font_size: number;
|
|
3980
|
+
pcb_fabrication_note_dimension_id: string;
|
|
3981
|
+
from: string | {
|
|
4007
3982
|
x: number;
|
|
4008
3983
|
y: number;
|
|
4009
3984
|
};
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
3985
|
+
to: string | {
|
|
3986
|
+
x: number;
|
|
3987
|
+
y: number;
|
|
3988
|
+
};
|
|
3989
|
+
arrow_size: number;
|
|
4014
3990
|
subcircuit_id?: string | undefined;
|
|
4015
3991
|
pcb_group_id?: string | undefined;
|
|
3992
|
+
text?: string | undefined;
|
|
3993
|
+
color?: string | undefined;
|
|
3994
|
+
offset?: number | undefined;
|
|
4016
3995
|
}, {
|
|
4017
|
-
type: "
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
3996
|
+
type: "pcb_fabrication_note_dimension";
|
|
3997
|
+
pcb_component_id: string;
|
|
3998
|
+
layer: "top" | "bottom";
|
|
3999
|
+
from: string | {
|
|
4000
|
+
x: string | number;
|
|
4001
|
+
y: string | number;
|
|
4002
|
+
};
|
|
4003
|
+
to: string | {
|
|
4021
4004
|
x: string | number;
|
|
4022
4005
|
y: string | number;
|
|
4023
4006
|
};
|
|
4024
|
-
shape: "rect";
|
|
4025
|
-
layers: string[];
|
|
4026
|
-
pcb_keepout_id: string;
|
|
4027
|
-
description?: string | undefined;
|
|
4028
4007
|
subcircuit_id?: string | undefined;
|
|
4029
4008
|
pcb_group_id?: string | undefined;
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4009
|
+
text?: string | undefined;
|
|
4010
|
+
font?: "tscircuit2024" | undefined;
|
|
4011
|
+
font_size?: string | number | undefined;
|
|
4012
|
+
color?: string | undefined;
|
|
4013
|
+
pcb_fabrication_note_dimension_id?: string | undefined;
|
|
4014
|
+
offset?: string | number | undefined;
|
|
4015
|
+
arrow_size?: string | number | undefined;
|
|
4016
|
+
}>;
|
|
4017
|
+
type PcbFabricationNoteDimensionInput = z.input<typeof pcb_fabrication_note_dimension>;
|
|
4018
|
+
/**
|
|
4019
|
+
* Defines a measurement annotation within PCB fabrication notes
|
|
4020
|
+
*/
|
|
4021
|
+
interface PcbFabricationNoteDimension {
|
|
4022
|
+
type: "pcb_fabrication_note_dimension";
|
|
4023
|
+
pcb_fabrication_note_dimension_id: string;
|
|
4024
|
+
pcb_component_id: string;
|
|
4025
|
+
pcb_group_id?: string;
|
|
4026
|
+
subcircuit_id?: string;
|
|
4027
|
+
layer: VisibleLayer;
|
|
4028
|
+
from: Point | string;
|
|
4029
|
+
to: Point | string;
|
|
4030
|
+
text?: string;
|
|
4031
|
+
offset?: Length;
|
|
4032
|
+
font: "tscircuit2024";
|
|
4033
|
+
font_size: Length;
|
|
4034
|
+
color?: string;
|
|
4035
|
+
arrow_size: Length;
|
|
4036
|
+
}
|
|
4037
|
+
/**
|
|
4038
|
+
* @deprecated use PcbFabricationNoteDimension
|
|
4039
|
+
*/
|
|
4040
|
+
type PCBFabricationNoteDimension = PcbFabricationNoteDimension;
|
|
4041
|
+
|
|
4042
|
+
declare const pcb_note_text: z.ZodObject<{
|
|
4043
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
4044
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4045
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4033
4046
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4034
4047
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4035
|
-
|
|
4048
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
4049
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4050
|
+
text: z.ZodString;
|
|
4051
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
4036
4052
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4037
4053
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4038
4054
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4041,71 +4057,64 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
4041
4057
|
}, {
|
|
4042
4058
|
x: string | number;
|
|
4043
4059
|
y: string | number;
|
|
4044
|
-
}
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
layers: z.ZodArray<z.ZodString, "many">;
|
|
4048
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4060
|
+
}>>;
|
|
4061
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
4062
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4049
4063
|
}, "strip", z.ZodTypeAny, {
|
|
4050
|
-
type: "
|
|
4051
|
-
|
|
4064
|
+
type: "pcb_note_text";
|
|
4065
|
+
text: string;
|
|
4066
|
+
font: "tscircuit2024";
|
|
4067
|
+
font_size: number;
|
|
4068
|
+
anchor_position: {
|
|
4052
4069
|
x: number;
|
|
4053
4070
|
y: number;
|
|
4054
4071
|
};
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
pcb_keepout_id: string;
|
|
4059
|
-
description?: string | undefined;
|
|
4072
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
4073
|
+
pcb_note_text_id: string;
|
|
4074
|
+
pcb_component_id?: string | undefined;
|
|
4060
4075
|
subcircuit_id?: string | undefined;
|
|
4061
4076
|
pcb_group_id?: string | undefined;
|
|
4077
|
+
color?: string | undefined;
|
|
4062
4078
|
}, {
|
|
4063
|
-
type: "
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
y: string | number;
|
|
4067
|
-
};
|
|
4068
|
-
shape: "circle";
|
|
4069
|
-
layers: string[];
|
|
4070
|
-
radius: string | number;
|
|
4071
|
-
pcb_keepout_id: string;
|
|
4072
|
-
description?: string | undefined;
|
|
4079
|
+
type: "pcb_note_text";
|
|
4080
|
+
text: string;
|
|
4081
|
+
pcb_component_id?: string | undefined;
|
|
4073
4082
|
subcircuit_id?: string | undefined;
|
|
4074
4083
|
pcb_group_id?: string | undefined;
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
interface
|
|
4090
|
-
type: "
|
|
4091
|
-
|
|
4084
|
+
font?: "tscircuit2024" | undefined;
|
|
4085
|
+
font_size?: string | number | undefined;
|
|
4086
|
+
anchor_position?: {
|
|
4087
|
+
x: string | number;
|
|
4088
|
+
y: string | number;
|
|
4089
|
+
} | undefined;
|
|
4090
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
4091
|
+
color?: string | undefined;
|
|
4092
|
+
pcb_note_text_id?: string | undefined;
|
|
4093
|
+
}>;
|
|
4094
|
+
type PcbNoteTextInput = z.input<typeof pcb_note_text>;
|
|
4095
|
+
/**
|
|
4096
|
+
* Defines a documentation note in text on the PCB
|
|
4097
|
+
*/
|
|
4098
|
+
interface PcbNoteText {
|
|
4099
|
+
type: "pcb_note_text";
|
|
4100
|
+
pcb_note_text_id: string;
|
|
4101
|
+
pcb_component_id?: string;
|
|
4092
4102
|
pcb_group_id?: string;
|
|
4093
4103
|
subcircuit_id?: string;
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4104
|
+
font: "tscircuit2024";
|
|
4105
|
+
font_size: Length;
|
|
4106
|
+
text: string;
|
|
4107
|
+
anchor_position: Point;
|
|
4108
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
4109
|
+
color?: string;
|
|
4099
4110
|
}
|
|
4100
|
-
type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle;
|
|
4101
4111
|
|
|
4102
|
-
declare const
|
|
4103
|
-
type: z.ZodLiteral<"
|
|
4104
|
-
|
|
4112
|
+
declare const pcb_note_rect: z.ZodObject<{
|
|
4113
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
4114
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4115
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4105
4116
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4106
4117
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4107
|
-
} & {
|
|
4108
|
-
shape: z.ZodLiteral<"rect">;
|
|
4109
4118
|
center: z.ZodObject<{
|
|
4110
4119
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4111
4120
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4118,57 +4127,73 @@ declare const pcb_cutout_rect: z.ZodObject<{
|
|
|
4118
4127
|
}>;
|
|
4119
4128
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4120
4129
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4121
|
-
|
|
4130
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4131
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
4132
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
4133
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4134
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4122
4135
|
}, "strip", z.ZodTypeAny, {
|
|
4123
|
-
type: "
|
|
4136
|
+
type: "pcb_note_rect";
|
|
4124
4137
|
width: number;
|
|
4125
4138
|
height: number;
|
|
4126
4139
|
center: {
|
|
4127
4140
|
x: number;
|
|
4128
4141
|
y: number;
|
|
4129
4142
|
};
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4143
|
+
stroke_width: number;
|
|
4144
|
+
pcb_note_rect_id: string;
|
|
4145
|
+
pcb_component_id?: string | undefined;
|
|
4133
4146
|
subcircuit_id?: string | undefined;
|
|
4134
4147
|
pcb_group_id?: string | undefined;
|
|
4148
|
+
is_filled?: boolean | undefined;
|
|
4149
|
+
has_stroke?: boolean | undefined;
|
|
4150
|
+
is_stroke_dashed?: boolean | undefined;
|
|
4151
|
+
color?: string | undefined;
|
|
4135
4152
|
}, {
|
|
4136
|
-
type: "
|
|
4153
|
+
type: "pcb_note_rect";
|
|
4137
4154
|
width: string | number;
|
|
4138
4155
|
height: string | number;
|
|
4139
4156
|
center: {
|
|
4140
4157
|
x: string | number;
|
|
4141
4158
|
y: string | number;
|
|
4142
4159
|
};
|
|
4143
|
-
|
|
4144
|
-
rotation?: string | number | undefined;
|
|
4160
|
+
pcb_component_id?: string | undefined;
|
|
4145
4161
|
subcircuit_id?: string | undefined;
|
|
4146
4162
|
pcb_group_id?: string | undefined;
|
|
4147
|
-
|
|
4163
|
+
stroke_width?: string | number | undefined;
|
|
4164
|
+
is_filled?: boolean | undefined;
|
|
4165
|
+
has_stroke?: boolean | undefined;
|
|
4166
|
+
is_stroke_dashed?: boolean | undefined;
|
|
4167
|
+
color?: string | undefined;
|
|
4168
|
+
pcb_note_rect_id?: string | undefined;
|
|
4148
4169
|
}>;
|
|
4149
|
-
type
|
|
4170
|
+
type PcbNoteRectInput = z.input<typeof pcb_note_rect>;
|
|
4150
4171
|
/**
|
|
4151
|
-
* Defines a rectangular
|
|
4172
|
+
* Defines a rectangular documentation note on the PCB
|
|
4152
4173
|
*/
|
|
4153
|
-
interface
|
|
4154
|
-
type: "
|
|
4155
|
-
|
|
4174
|
+
interface PcbNoteRect {
|
|
4175
|
+
type: "pcb_note_rect";
|
|
4176
|
+
pcb_note_rect_id: string;
|
|
4177
|
+
pcb_component_id?: string;
|
|
4156
4178
|
pcb_group_id?: string;
|
|
4157
4179
|
subcircuit_id?: string;
|
|
4158
|
-
shape: "rect";
|
|
4159
4180
|
center: Point;
|
|
4160
4181
|
width: Length;
|
|
4161
4182
|
height: Length;
|
|
4162
|
-
|
|
4183
|
+
stroke_width: Length;
|
|
4184
|
+
is_filled?: boolean;
|
|
4185
|
+
has_stroke?: boolean;
|
|
4186
|
+
is_stroke_dashed?: boolean;
|
|
4187
|
+
color?: string;
|
|
4163
4188
|
}
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4189
|
+
|
|
4190
|
+
declare const pcb_note_path: z.ZodObject<{
|
|
4191
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
4192
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4193
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4167
4194
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4168
4195
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4169
|
-
|
|
4170
|
-
shape: z.ZodLiteral<"circle">;
|
|
4171
|
-
center: z.ZodObject<{
|
|
4196
|
+
route: z.ZodArray<z.ZodObject<{
|
|
4172
4197
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4173
4198
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4174
4199
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4177,52 +4202,115 @@ declare const pcb_cutout_circle: z.ZodObject<{
|
|
|
4177
4202
|
}, {
|
|
4178
4203
|
x: string | number;
|
|
4179
4204
|
y: string | number;
|
|
4180
|
-
}>;
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4205
|
+
}>, "many">;
|
|
4206
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4207
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4208
|
+
}, "strip", z.ZodTypeAny, {
|
|
4209
|
+
type: "pcb_note_path";
|
|
4210
|
+
route: {
|
|
4185
4211
|
x: number;
|
|
4186
4212
|
y: number;
|
|
4187
|
-
};
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4213
|
+
}[];
|
|
4214
|
+
stroke_width: number;
|
|
4215
|
+
pcb_note_path_id: string;
|
|
4216
|
+
pcb_component_id?: string | undefined;
|
|
4191
4217
|
subcircuit_id?: string | undefined;
|
|
4192
4218
|
pcb_group_id?: string | undefined;
|
|
4219
|
+
color?: string | undefined;
|
|
4193
4220
|
}, {
|
|
4194
|
-
type: "
|
|
4195
|
-
|
|
4221
|
+
type: "pcb_note_path";
|
|
4222
|
+
route: {
|
|
4196
4223
|
x: string | number;
|
|
4197
4224
|
y: string | number;
|
|
4198
|
-
};
|
|
4199
|
-
|
|
4200
|
-
radius: string | number;
|
|
4225
|
+
}[];
|
|
4226
|
+
pcb_component_id?: string | undefined;
|
|
4201
4227
|
subcircuit_id?: string | undefined;
|
|
4202
4228
|
pcb_group_id?: string | undefined;
|
|
4203
|
-
|
|
4229
|
+
stroke_width?: string | number | undefined;
|
|
4230
|
+
color?: string | undefined;
|
|
4231
|
+
pcb_note_path_id?: string | undefined;
|
|
4204
4232
|
}>;
|
|
4205
|
-
type
|
|
4233
|
+
type PcbNotePathInput = z.input<typeof pcb_note_path>;
|
|
4206
4234
|
/**
|
|
4207
|
-
* Defines a
|
|
4235
|
+
* Defines a polyline documentation note on the PCB
|
|
4208
4236
|
*/
|
|
4209
|
-
interface
|
|
4210
|
-
type: "
|
|
4211
|
-
|
|
4237
|
+
interface PcbNotePath {
|
|
4238
|
+
type: "pcb_note_path";
|
|
4239
|
+
pcb_note_path_id: string;
|
|
4240
|
+
pcb_component_id?: string;
|
|
4212
4241
|
pcb_group_id?: string;
|
|
4213
4242
|
subcircuit_id?: string;
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4243
|
+
route: Point[];
|
|
4244
|
+
stroke_width: Length;
|
|
4245
|
+
color?: string;
|
|
4217
4246
|
}
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4247
|
+
|
|
4248
|
+
declare const pcb_note_line: z.ZodObject<{
|
|
4249
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
4250
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4251
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4221
4252
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4222
4253
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4254
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4255
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4256
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4257
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4258
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4259
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4260
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4261
|
+
}, "strip", z.ZodTypeAny, {
|
|
4262
|
+
type: "pcb_note_line";
|
|
4263
|
+
stroke_width: number;
|
|
4264
|
+
x1: number;
|
|
4265
|
+
y1: number;
|
|
4266
|
+
x2: number;
|
|
4267
|
+
y2: number;
|
|
4268
|
+
pcb_note_line_id: string;
|
|
4269
|
+
pcb_component_id?: string | undefined;
|
|
4270
|
+
subcircuit_id?: string | undefined;
|
|
4271
|
+
pcb_group_id?: string | undefined;
|
|
4272
|
+
color?: string | undefined;
|
|
4273
|
+
is_dashed?: boolean | undefined;
|
|
4274
|
+
}, {
|
|
4275
|
+
type: "pcb_note_line";
|
|
4276
|
+
x1: string | number;
|
|
4277
|
+
y1: string | number;
|
|
4278
|
+
x2: string | number;
|
|
4279
|
+
y2: string | number;
|
|
4280
|
+
pcb_component_id?: string | undefined;
|
|
4281
|
+
subcircuit_id?: string | undefined;
|
|
4282
|
+
pcb_group_id?: string | undefined;
|
|
4283
|
+
stroke_width?: string | number | undefined;
|
|
4284
|
+
color?: string | undefined;
|
|
4285
|
+
pcb_note_line_id?: string | undefined;
|
|
4286
|
+
is_dashed?: boolean | undefined;
|
|
4287
|
+
}>;
|
|
4288
|
+
type PcbNoteLineInput = z.input<typeof pcb_note_line>;
|
|
4289
|
+
/**
|
|
4290
|
+
* Defines a straight documentation note line on the PCB
|
|
4291
|
+
*/
|
|
4292
|
+
interface PcbNoteLine {
|
|
4293
|
+
type: "pcb_note_line";
|
|
4294
|
+
pcb_note_line_id: string;
|
|
4295
|
+
pcb_component_id?: string;
|
|
4296
|
+
pcb_group_id?: string;
|
|
4297
|
+
subcircuit_id?: string;
|
|
4298
|
+
x1: Distance;
|
|
4299
|
+
y1: Distance;
|
|
4300
|
+
x2: Distance;
|
|
4301
|
+
y2: Distance;
|
|
4302
|
+
stroke_width: Distance;
|
|
4303
|
+
color?: string;
|
|
4304
|
+
is_dashed?: boolean;
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4307
|
+
declare const pcb_note_dimension: z.ZodObject<{
|
|
4308
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
4309
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4310
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4311
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4312
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4313
|
+
from: z.ZodObject<{
|
|
4226
4314
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4227
4315
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4228
4316
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4231,48 +4319,126 @@ declare const pcb_cutout_polygon: z.ZodObject<{
|
|
|
4231
4319
|
}, {
|
|
4232
4320
|
x: string | number;
|
|
4233
4321
|
y: string | number;
|
|
4234
|
-
}
|
|
4322
|
+
}>;
|
|
4323
|
+
to: z.ZodObject<{
|
|
4324
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4325
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4326
|
+
}, "strip", z.ZodTypeAny, {
|
|
4327
|
+
x: number;
|
|
4328
|
+
y: number;
|
|
4329
|
+
}, {
|
|
4330
|
+
x: string | number;
|
|
4331
|
+
y: string | number;
|
|
4332
|
+
}>;
|
|
4333
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4334
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
4335
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4336
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4337
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4235
4338
|
}, "strip", z.ZodTypeAny, {
|
|
4236
|
-
type: "
|
|
4237
|
-
|
|
4238
|
-
|
|
4339
|
+
type: "pcb_note_dimension";
|
|
4340
|
+
font: "tscircuit2024";
|
|
4341
|
+
font_size: number;
|
|
4342
|
+
from: {
|
|
4239
4343
|
x: number;
|
|
4240
4344
|
y: number;
|
|
4241
|
-
}
|
|
4242
|
-
|
|
4345
|
+
};
|
|
4346
|
+
to: {
|
|
4347
|
+
x: number;
|
|
4348
|
+
y: number;
|
|
4349
|
+
};
|
|
4350
|
+
arrow_size: number;
|
|
4351
|
+
pcb_note_dimension_id: string;
|
|
4352
|
+
pcb_component_id?: string | undefined;
|
|
4243
4353
|
subcircuit_id?: string | undefined;
|
|
4244
4354
|
pcb_group_id?: string | undefined;
|
|
4355
|
+
text?: string | undefined;
|
|
4356
|
+
color?: string | undefined;
|
|
4245
4357
|
}, {
|
|
4246
|
-
type: "
|
|
4247
|
-
|
|
4248
|
-
points: {
|
|
4358
|
+
type: "pcb_note_dimension";
|
|
4359
|
+
from: {
|
|
4249
4360
|
x: string | number;
|
|
4250
4361
|
y: string | number;
|
|
4251
|
-
}
|
|
4362
|
+
};
|
|
4363
|
+
to: {
|
|
4364
|
+
x: string | number;
|
|
4365
|
+
y: string | number;
|
|
4366
|
+
};
|
|
4367
|
+
pcb_component_id?: string | undefined;
|
|
4252
4368
|
subcircuit_id?: string | undefined;
|
|
4253
4369
|
pcb_group_id?: string | undefined;
|
|
4254
|
-
|
|
4370
|
+
text?: string | undefined;
|
|
4371
|
+
font?: "tscircuit2024" | undefined;
|
|
4372
|
+
font_size?: string | number | undefined;
|
|
4373
|
+
color?: string | undefined;
|
|
4374
|
+
arrow_size?: string | number | undefined;
|
|
4375
|
+
pcb_note_dimension_id?: string | undefined;
|
|
4255
4376
|
}>;
|
|
4256
|
-
type
|
|
4377
|
+
type PcbNoteDimensionInput = z.input<typeof pcb_note_dimension>;
|
|
4257
4378
|
/**
|
|
4258
|
-
* Defines a
|
|
4259
|
-
* The polygon should be closed (the last point implicitly connects to the first).
|
|
4379
|
+
* Defines a measurement annotation within PCB documentation notes
|
|
4260
4380
|
*/
|
|
4261
|
-
interface
|
|
4262
|
-
type: "
|
|
4263
|
-
|
|
4381
|
+
interface PcbNoteDimension {
|
|
4382
|
+
type: "pcb_note_dimension";
|
|
4383
|
+
pcb_note_dimension_id: string;
|
|
4384
|
+
pcb_component_id?: string;
|
|
4264
4385
|
pcb_group_id?: string;
|
|
4265
4386
|
subcircuit_id?: string;
|
|
4266
|
-
|
|
4267
|
-
|
|
4387
|
+
from: Point;
|
|
4388
|
+
to: Point;
|
|
4389
|
+
text?: string;
|
|
4390
|
+
font: "tscircuit2024";
|
|
4391
|
+
font_size: Length;
|
|
4392
|
+
color?: string;
|
|
4393
|
+
arrow_size: Length;
|
|
4268
4394
|
}
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4395
|
+
|
|
4396
|
+
declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
4397
|
+
type: z.ZodLiteral<"pcb_footprint_overlap_error">;
|
|
4398
|
+
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4399
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_footprint_overlap_error">>;
|
|
4400
|
+
message: z.ZodString;
|
|
4401
|
+
pcb_smtpad_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4402
|
+
pcb_plated_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4403
|
+
pcb_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4404
|
+
pcb_keepout_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4405
|
+
}, "strip", z.ZodTypeAny, {
|
|
4406
|
+
message: string;
|
|
4407
|
+
type: "pcb_footprint_overlap_error";
|
|
4408
|
+
error_type: "pcb_footprint_overlap_error";
|
|
4409
|
+
pcb_error_id: string;
|
|
4410
|
+
pcb_smtpad_ids?: string[] | undefined;
|
|
4411
|
+
pcb_plated_hole_ids?: string[] | undefined;
|
|
4412
|
+
pcb_hole_ids?: string[] | undefined;
|
|
4413
|
+
pcb_keepout_ids?: string[] | undefined;
|
|
4414
|
+
}, {
|
|
4415
|
+
message: string;
|
|
4416
|
+
type: "pcb_footprint_overlap_error";
|
|
4417
|
+
error_type?: "pcb_footprint_overlap_error" | undefined;
|
|
4418
|
+
pcb_error_id?: string | undefined;
|
|
4419
|
+
pcb_smtpad_ids?: string[] | undefined;
|
|
4420
|
+
pcb_plated_hole_ids?: string[] | undefined;
|
|
4421
|
+
pcb_hole_ids?: string[] | undefined;
|
|
4422
|
+
pcb_keepout_ids?: string[] | undefined;
|
|
4423
|
+
}>;
|
|
4424
|
+
type PcbFootprintOverlapErrorInput = z.input<typeof pcb_footprint_overlap_error>;
|
|
4425
|
+
/** Error emitted when a pcb footprint overlaps with another element */
|
|
4426
|
+
interface PcbFootprintOverlapError {
|
|
4427
|
+
type: "pcb_footprint_overlap_error";
|
|
4428
|
+
pcb_error_id: string;
|
|
4429
|
+
error_type: "pcb_footprint_overlap_error";
|
|
4430
|
+
message: string;
|
|
4431
|
+
pcb_smtpad_ids?: string[];
|
|
4432
|
+
pcb_plated_hole_ids?: string[];
|
|
4433
|
+
pcb_hole_ids?: string[];
|
|
4434
|
+
pcb_keepout_ids?: string[];
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
4438
|
+
type: z.ZodLiteral<"pcb_keepout">;
|
|
4439
|
+
shape: z.ZodLiteral<"rect">;
|
|
4272
4440
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4273
4441
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4274
|
-
} & {
|
|
4275
|
-
shape: z.ZodLiteral<"rect">;
|
|
4276
4442
|
center: z.ZodObject<{
|
|
4277
4443
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4278
4444
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4285,9 +4451,11 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
4285
4451
|
}>;
|
|
4286
4452
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4287
4453
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4288
|
-
|
|
4454
|
+
pcb_keepout_id: z.ZodString;
|
|
4455
|
+
layers: z.ZodArray<z.ZodString, "many">;
|
|
4456
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4289
4457
|
}, "strip", z.ZodTypeAny, {
|
|
4290
|
-
type: "
|
|
4458
|
+
type: "pcb_keepout";
|
|
4291
4459
|
width: number;
|
|
4292
4460
|
height: number;
|
|
4293
4461
|
center: {
|
|
@@ -4295,12 +4463,13 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
4295
4463
|
y: number;
|
|
4296
4464
|
};
|
|
4297
4465
|
shape: "rect";
|
|
4298
|
-
|
|
4299
|
-
|
|
4466
|
+
layers: string[];
|
|
4467
|
+
pcb_keepout_id: string;
|
|
4468
|
+
description?: string | undefined;
|
|
4300
4469
|
subcircuit_id?: string | undefined;
|
|
4301
4470
|
pcb_group_id?: string | undefined;
|
|
4302
4471
|
}, {
|
|
4303
|
-
type: "
|
|
4472
|
+
type: "pcb_keepout";
|
|
4304
4473
|
width: string | number;
|
|
4305
4474
|
height: string | number;
|
|
4306
4475
|
center: {
|
|
@@ -4308,17 +4477,16 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
4308
4477
|
y: string | number;
|
|
4309
4478
|
};
|
|
4310
4479
|
shape: "rect";
|
|
4311
|
-
|
|
4480
|
+
layers: string[];
|
|
4481
|
+
pcb_keepout_id: string;
|
|
4482
|
+
description?: string | undefined;
|
|
4312
4483
|
subcircuit_id?: string | undefined;
|
|
4313
4484
|
pcb_group_id?: string | undefined;
|
|
4314
|
-
pcb_cutout_id?: string | undefined;
|
|
4315
4485
|
}>, z.ZodObject<{
|
|
4316
|
-
type: z.ZodLiteral<"
|
|
4317
|
-
|
|
4486
|
+
type: z.ZodLiteral<"pcb_keepout">;
|
|
4487
|
+
shape: z.ZodLiteral<"circle">;
|
|
4318
4488
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4319
4489
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4320
|
-
} & {
|
|
4321
|
-
shape: z.ZodLiteral<"circle">;
|
|
4322
4490
|
center: z.ZodObject<{
|
|
4323
4491
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4324
4492
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4330,45 +4498,332 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
4330
4498
|
y: string | number;
|
|
4331
4499
|
}>;
|
|
4332
4500
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4501
|
+
pcb_keepout_id: z.ZodString;
|
|
4502
|
+
layers: z.ZodArray<z.ZodString, "many">;
|
|
4503
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4333
4504
|
}, "strip", z.ZodTypeAny, {
|
|
4334
|
-
type: "
|
|
4505
|
+
type: "pcb_keepout";
|
|
4335
4506
|
center: {
|
|
4336
4507
|
x: number;
|
|
4337
4508
|
y: number;
|
|
4338
4509
|
};
|
|
4339
4510
|
shape: "circle";
|
|
4511
|
+
layers: string[];
|
|
4340
4512
|
radius: number;
|
|
4341
|
-
|
|
4513
|
+
pcb_keepout_id: string;
|
|
4514
|
+
description?: string | undefined;
|
|
4342
4515
|
subcircuit_id?: string | undefined;
|
|
4343
4516
|
pcb_group_id?: string | undefined;
|
|
4344
4517
|
}, {
|
|
4345
|
-
type: "
|
|
4518
|
+
type: "pcb_keepout";
|
|
4346
4519
|
center: {
|
|
4347
4520
|
x: string | number;
|
|
4348
4521
|
y: string | number;
|
|
4349
4522
|
};
|
|
4350
4523
|
shape: "circle";
|
|
4524
|
+
layers: string[];
|
|
4351
4525
|
radius: string | number;
|
|
4526
|
+
pcb_keepout_id: string;
|
|
4527
|
+
description?: string | undefined;
|
|
4352
4528
|
subcircuit_id?: string | undefined;
|
|
4353
4529
|
pcb_group_id?: string | undefined;
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4530
|
+
}>]>;
|
|
4531
|
+
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
4532
|
+
interface PCBKeepoutRect {
|
|
4533
|
+
type: "pcb_keepout";
|
|
4534
|
+
shape: "rect";
|
|
4535
|
+
pcb_group_id?: string;
|
|
4536
|
+
subcircuit_id?: string;
|
|
4537
|
+
center: Point;
|
|
4538
|
+
width: number;
|
|
4539
|
+
height: number;
|
|
4540
|
+
pcb_keepout_id: string;
|
|
4541
|
+
layers: string[];
|
|
4542
|
+
description?: string;
|
|
4543
|
+
}
|
|
4544
|
+
interface PCBKeepoutCircle {
|
|
4545
|
+
type: "pcb_keepout";
|
|
4546
|
+
shape: "circle";
|
|
4547
|
+
pcb_group_id?: string;
|
|
4548
|
+
subcircuit_id?: string;
|
|
4549
|
+
center: Point;
|
|
4550
|
+
radius: number;
|
|
4551
|
+
pcb_keepout_id: string;
|
|
4552
|
+
layers: string[];
|
|
4553
|
+
description?: string;
|
|
4554
|
+
}
|
|
4555
|
+
type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle;
|
|
4556
|
+
|
|
4557
|
+
declare const pcb_cutout_rect: z.ZodObject<{
|
|
4558
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
4559
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4560
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4561
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4562
|
+
} & {
|
|
4563
|
+
shape: z.ZodLiteral<"rect">;
|
|
4564
|
+
center: z.ZodObject<{
|
|
4565
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4566
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4567
|
+
}, "strip", z.ZodTypeAny, {
|
|
4568
|
+
x: number;
|
|
4569
|
+
y: number;
|
|
4570
|
+
}, {
|
|
4571
|
+
x: string | number;
|
|
4572
|
+
y: string | number;
|
|
4573
|
+
}>;
|
|
4574
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4575
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4576
|
+
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4577
|
+
}, "strip", z.ZodTypeAny, {
|
|
4578
|
+
type: "pcb_cutout";
|
|
4579
|
+
width: number;
|
|
4580
|
+
height: number;
|
|
4581
|
+
center: {
|
|
4582
|
+
x: number;
|
|
4583
|
+
y: number;
|
|
4584
|
+
};
|
|
4585
|
+
shape: "rect";
|
|
4586
|
+
pcb_cutout_id: string;
|
|
4587
|
+
rotation?: number | undefined;
|
|
4588
|
+
subcircuit_id?: string | undefined;
|
|
4589
|
+
pcb_group_id?: string | undefined;
|
|
4590
|
+
}, {
|
|
4591
|
+
type: "pcb_cutout";
|
|
4592
|
+
width: string | number;
|
|
4593
|
+
height: string | number;
|
|
4594
|
+
center: {
|
|
4595
|
+
x: string | number;
|
|
4596
|
+
y: string | number;
|
|
4597
|
+
};
|
|
4598
|
+
shape: "rect";
|
|
4599
|
+
rotation?: string | number | undefined;
|
|
4600
|
+
subcircuit_id?: string | undefined;
|
|
4601
|
+
pcb_group_id?: string | undefined;
|
|
4602
|
+
pcb_cutout_id?: string | undefined;
|
|
4603
|
+
}>;
|
|
4604
|
+
type PcbCutoutRectInput = z.input<typeof pcb_cutout_rect>;
|
|
4605
|
+
/**
|
|
4606
|
+
* Defines a rectangular cutout on the PCB.
|
|
4607
|
+
*/
|
|
4608
|
+
interface PcbCutoutRect {
|
|
4609
|
+
type: "pcb_cutout";
|
|
4610
|
+
pcb_cutout_id: string;
|
|
4611
|
+
pcb_group_id?: string;
|
|
4612
|
+
subcircuit_id?: string;
|
|
4613
|
+
shape: "rect";
|
|
4614
|
+
center: Point;
|
|
4615
|
+
width: Length;
|
|
4616
|
+
height: Length;
|
|
4617
|
+
rotation?: Rotation;
|
|
4618
|
+
}
|
|
4619
|
+
declare const pcb_cutout_circle: z.ZodObject<{
|
|
4620
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
4621
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4622
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4623
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4624
|
+
} & {
|
|
4625
|
+
shape: z.ZodLiteral<"circle">;
|
|
4626
|
+
center: z.ZodObject<{
|
|
4627
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4628
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4629
|
+
}, "strip", z.ZodTypeAny, {
|
|
4630
|
+
x: number;
|
|
4631
|
+
y: number;
|
|
4632
|
+
}, {
|
|
4633
|
+
x: string | number;
|
|
4634
|
+
y: string | number;
|
|
4635
|
+
}>;
|
|
4636
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4637
|
+
}, "strip", z.ZodTypeAny, {
|
|
4638
|
+
type: "pcb_cutout";
|
|
4639
|
+
center: {
|
|
4640
|
+
x: number;
|
|
4641
|
+
y: number;
|
|
4642
|
+
};
|
|
4643
|
+
shape: "circle";
|
|
4644
|
+
radius: number;
|
|
4645
|
+
pcb_cutout_id: string;
|
|
4646
|
+
subcircuit_id?: string | undefined;
|
|
4647
|
+
pcb_group_id?: string | undefined;
|
|
4648
|
+
}, {
|
|
4649
|
+
type: "pcb_cutout";
|
|
4650
|
+
center: {
|
|
4651
|
+
x: string | number;
|
|
4652
|
+
y: string | number;
|
|
4653
|
+
};
|
|
4654
|
+
shape: "circle";
|
|
4655
|
+
radius: string | number;
|
|
4656
|
+
subcircuit_id?: string | undefined;
|
|
4657
|
+
pcb_group_id?: string | undefined;
|
|
4658
|
+
pcb_cutout_id?: string | undefined;
|
|
4659
|
+
}>;
|
|
4660
|
+
type PcbCutoutCircleInput = z.input<typeof pcb_cutout_circle>;
|
|
4661
|
+
/**
|
|
4662
|
+
* Defines a circular cutout on the PCB.
|
|
4663
|
+
*/
|
|
4664
|
+
interface PcbCutoutCircle {
|
|
4665
|
+
type: "pcb_cutout";
|
|
4666
|
+
pcb_cutout_id: string;
|
|
4667
|
+
pcb_group_id?: string;
|
|
4668
|
+
subcircuit_id?: string;
|
|
4669
|
+
shape: "circle";
|
|
4670
|
+
center: Point;
|
|
4671
|
+
radius: Length;
|
|
4672
|
+
}
|
|
4673
|
+
declare const pcb_cutout_polygon: z.ZodObject<{
|
|
4674
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
4675
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4676
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4677
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4678
|
+
} & {
|
|
4679
|
+
shape: z.ZodLiteral<"polygon">;
|
|
4680
|
+
points: z.ZodArray<z.ZodObject<{
|
|
4681
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4682
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4683
|
+
}, "strip", z.ZodTypeAny, {
|
|
4684
|
+
x: number;
|
|
4685
|
+
y: number;
|
|
4686
|
+
}, {
|
|
4687
|
+
x: string | number;
|
|
4688
|
+
y: string | number;
|
|
4689
|
+
}>, "many">;
|
|
4690
|
+
}, "strip", z.ZodTypeAny, {
|
|
4691
|
+
type: "pcb_cutout";
|
|
4692
|
+
shape: "polygon";
|
|
4693
|
+
points: {
|
|
4694
|
+
x: number;
|
|
4695
|
+
y: number;
|
|
4696
|
+
}[];
|
|
4697
|
+
pcb_cutout_id: string;
|
|
4698
|
+
subcircuit_id?: string | undefined;
|
|
4699
|
+
pcb_group_id?: string | undefined;
|
|
4700
|
+
}, {
|
|
4701
|
+
type: "pcb_cutout";
|
|
4702
|
+
shape: "polygon";
|
|
4703
|
+
points: {
|
|
4704
|
+
x: string | number;
|
|
4705
|
+
y: string | number;
|
|
4706
|
+
}[];
|
|
4707
|
+
subcircuit_id?: string | undefined;
|
|
4708
|
+
pcb_group_id?: string | undefined;
|
|
4709
|
+
pcb_cutout_id?: string | undefined;
|
|
4710
|
+
}>;
|
|
4711
|
+
type PcbCutoutPolygonInput = z.input<typeof pcb_cutout_polygon>;
|
|
4712
|
+
/**
|
|
4713
|
+
* Defines a polygonal cutout on the PCB, specified by a list of points.
|
|
4714
|
+
* The polygon should be closed (the last point implicitly connects to the first).
|
|
4715
|
+
*/
|
|
4716
|
+
interface PcbCutoutPolygon {
|
|
4717
|
+
type: "pcb_cutout";
|
|
4718
|
+
pcb_cutout_id: string;
|
|
4719
|
+
pcb_group_id?: string;
|
|
4720
|
+
subcircuit_id?: string;
|
|
4721
|
+
shape: "polygon";
|
|
4722
|
+
points: Point[];
|
|
4723
|
+
}
|
|
4724
|
+
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
4725
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
4726
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4727
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4728
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4729
|
+
} & {
|
|
4730
|
+
shape: z.ZodLiteral<"rect">;
|
|
4731
|
+
center: z.ZodObject<{
|
|
4732
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4733
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4734
|
+
}, "strip", z.ZodTypeAny, {
|
|
4735
|
+
x: number;
|
|
4736
|
+
y: number;
|
|
4737
|
+
}, {
|
|
4738
|
+
x: string | number;
|
|
4739
|
+
y: string | number;
|
|
4740
|
+
}>;
|
|
4741
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4742
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4743
|
+
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4744
|
+
}, "strip", z.ZodTypeAny, {
|
|
4745
|
+
type: "pcb_cutout";
|
|
4746
|
+
width: number;
|
|
4747
|
+
height: number;
|
|
4748
|
+
center: {
|
|
4749
|
+
x: number;
|
|
4750
|
+
y: number;
|
|
4751
|
+
};
|
|
4752
|
+
shape: "rect";
|
|
4753
|
+
pcb_cutout_id: string;
|
|
4754
|
+
rotation?: number | undefined;
|
|
4755
|
+
subcircuit_id?: string | undefined;
|
|
4756
|
+
pcb_group_id?: string | undefined;
|
|
4757
|
+
}, {
|
|
4758
|
+
type: "pcb_cutout";
|
|
4759
|
+
width: string | number;
|
|
4760
|
+
height: string | number;
|
|
4761
|
+
center: {
|
|
4762
|
+
x: string | number;
|
|
4763
|
+
y: string | number;
|
|
4764
|
+
};
|
|
4765
|
+
shape: "rect";
|
|
4766
|
+
rotation?: string | number | undefined;
|
|
4767
|
+
subcircuit_id?: string | undefined;
|
|
4768
|
+
pcb_group_id?: string | undefined;
|
|
4769
|
+
pcb_cutout_id?: string | undefined;
|
|
4770
|
+
}>, z.ZodObject<{
|
|
4771
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
4772
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4773
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4774
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4775
|
+
} & {
|
|
4776
|
+
shape: z.ZodLiteral<"circle">;
|
|
4777
|
+
center: z.ZodObject<{
|
|
4778
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4779
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4780
|
+
}, "strip", z.ZodTypeAny, {
|
|
4781
|
+
x: number;
|
|
4782
|
+
y: number;
|
|
4783
|
+
}, {
|
|
4784
|
+
x: string | number;
|
|
4785
|
+
y: string | number;
|
|
4786
|
+
}>;
|
|
4787
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4788
|
+
}, "strip", z.ZodTypeAny, {
|
|
4789
|
+
type: "pcb_cutout";
|
|
4790
|
+
center: {
|
|
4791
|
+
x: number;
|
|
4792
|
+
y: number;
|
|
4793
|
+
};
|
|
4794
|
+
shape: "circle";
|
|
4795
|
+
radius: number;
|
|
4796
|
+
pcb_cutout_id: string;
|
|
4797
|
+
subcircuit_id?: string | undefined;
|
|
4798
|
+
pcb_group_id?: string | undefined;
|
|
4799
|
+
}, {
|
|
4800
|
+
type: "pcb_cutout";
|
|
4801
|
+
center: {
|
|
4802
|
+
x: string | number;
|
|
4803
|
+
y: string | number;
|
|
4804
|
+
};
|
|
4805
|
+
shape: "circle";
|
|
4806
|
+
radius: string | number;
|
|
4807
|
+
subcircuit_id?: string | undefined;
|
|
4808
|
+
pcb_group_id?: string | undefined;
|
|
4809
|
+
pcb_cutout_id?: string | undefined;
|
|
4810
|
+
}>, z.ZodObject<{
|
|
4811
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
4812
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4813
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4814
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4815
|
+
} & {
|
|
4816
|
+
shape: z.ZodLiteral<"polygon">;
|
|
4817
|
+
points: z.ZodArray<z.ZodObject<{
|
|
4818
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4819
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4820
|
+
}, "strip", z.ZodTypeAny, {
|
|
4821
|
+
x: number;
|
|
4822
|
+
y: number;
|
|
4823
|
+
}, {
|
|
4824
|
+
x: string | number;
|
|
4825
|
+
y: string | number;
|
|
4826
|
+
}>, "many">;
|
|
4372
4827
|
}, "strip", z.ZodTypeAny, {
|
|
4373
4828
|
type: "pcb_cutout";
|
|
4374
4829
|
shape: "polygon";
|
|
@@ -5793,7 +6248,7 @@ interface PcbCourtyardOutline {
|
|
|
5793
6248
|
*/
|
|
5794
6249
|
type PCBCourtyardOutline = PcbCourtyardOutline;
|
|
5795
6250
|
|
|
5796
|
-
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;
|
|
6251
|
+
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 | PcbFabricationNoteDimension | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError | PcbCourtyardRect | PcbCourtyardOutline;
|
|
5797
6252
|
|
|
5798
6253
|
interface SchematicBox {
|
|
5799
6254
|
type: "schematic_box";
|
|
@@ -5830,8 +6285,8 @@ declare const schematic_box: z.ZodObject<{
|
|
|
5830
6285
|
width: string | number;
|
|
5831
6286
|
height: string | number;
|
|
5832
6287
|
subcircuit_id?: string | undefined;
|
|
5833
|
-
schematic_component_id?: string | undefined;
|
|
5834
6288
|
is_dashed?: boolean | undefined;
|
|
6289
|
+
schematic_component_id?: string | undefined;
|
|
5835
6290
|
}>;
|
|
5836
6291
|
type SchematicBoxInput = z.input<typeof schematic_box>;
|
|
5837
6292
|
|
|
@@ -6409,8 +6864,8 @@ declare const schematic_line: z.ZodObject<{
|
|
|
6409
6864
|
x2: number;
|
|
6410
6865
|
y2: number;
|
|
6411
6866
|
color: string;
|
|
6412
|
-
schematic_component_id: string;
|
|
6413
6867
|
is_dashed: boolean;
|
|
6868
|
+
schematic_component_id: string;
|
|
6414
6869
|
schematic_line_id: string;
|
|
6415
6870
|
subcircuit_id?: string | undefined;
|
|
6416
6871
|
stroke_width?: number | null | undefined;
|
|
@@ -6479,8 +6934,8 @@ declare const schematic_rect: z.ZodObject<{
|
|
|
6479
6934
|
rotation: number;
|
|
6480
6935
|
is_filled: boolean;
|
|
6481
6936
|
color: string;
|
|
6482
|
-
schematic_component_id: string;
|
|
6483
6937
|
is_dashed: boolean;
|
|
6938
|
+
schematic_component_id: string;
|
|
6484
6939
|
schematic_rect_id: string;
|
|
6485
6940
|
subcircuit_id?: string | undefined;
|
|
6486
6941
|
stroke_width?: number | null | undefined;
|
|
@@ -6549,8 +7004,8 @@ declare const schematic_circle: z.ZodObject<{
|
|
|
6549
7004
|
radius: number;
|
|
6550
7005
|
is_filled: boolean;
|
|
6551
7006
|
color: string;
|
|
6552
|
-
schematic_component_id: string;
|
|
6553
7007
|
is_dashed: boolean;
|
|
7008
|
+
schematic_component_id: string;
|
|
6554
7009
|
schematic_circle_id: string;
|
|
6555
7010
|
subcircuit_id?: string | undefined;
|
|
6556
7011
|
stroke_width?: number | null | undefined;
|
|
@@ -6618,8 +7073,8 @@ declare const schematic_arc: z.ZodObject<{
|
|
|
6618
7073
|
};
|
|
6619
7074
|
radius: number;
|
|
6620
7075
|
color: string;
|
|
6621
|
-
schematic_component_id: string;
|
|
6622
7076
|
is_dashed: boolean;
|
|
7077
|
+
schematic_component_id: string;
|
|
6623
7078
|
direction: "clockwise" | "counterclockwise";
|
|
6624
7079
|
schematic_arc_id: string;
|
|
6625
7080
|
start_angle_degrees: number;
|
|
@@ -15170,54 +15625,223 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15170
15625
|
x: z.ZodOptional<z.ZodNumber>;
|
|
15171
15626
|
y: z.ZodOptional<z.ZodNumber>;
|
|
15172
15627
|
}, "strip", z.ZodTypeAny, {
|
|
15173
|
-
x?: number | undefined;
|
|
15174
|
-
y?: number | undefined;
|
|
15628
|
+
x?: number | undefined;
|
|
15629
|
+
y?: number | undefined;
|
|
15630
|
+
}, {
|
|
15631
|
+
x?: number | undefined;
|
|
15632
|
+
y?: number | undefined;
|
|
15633
|
+
}>>;
|
|
15634
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15635
|
+
}, "strip", z.ZodTypeAny, {
|
|
15636
|
+
message: string;
|
|
15637
|
+
type: "pcb_via_clearance_error";
|
|
15638
|
+
error_type: "pcb_via_clearance_error";
|
|
15639
|
+
pcb_error_id: string;
|
|
15640
|
+
pcb_via_ids: string[];
|
|
15641
|
+
subcircuit_id?: string | undefined;
|
|
15642
|
+
minimum_clearance?: number | undefined;
|
|
15643
|
+
actual_clearance?: number | undefined;
|
|
15644
|
+
pcb_center?: {
|
|
15645
|
+
x?: number | undefined;
|
|
15646
|
+
y?: number | undefined;
|
|
15647
|
+
} | undefined;
|
|
15648
|
+
}, {
|
|
15649
|
+
message: string;
|
|
15650
|
+
type: "pcb_via_clearance_error";
|
|
15651
|
+
pcb_via_ids: string[];
|
|
15652
|
+
subcircuit_id?: string | undefined;
|
|
15653
|
+
error_type?: "pcb_via_clearance_error" | undefined;
|
|
15654
|
+
pcb_error_id?: string | undefined;
|
|
15655
|
+
minimum_clearance?: string | number | undefined;
|
|
15656
|
+
actual_clearance?: string | number | undefined;
|
|
15657
|
+
pcb_center?: {
|
|
15658
|
+
x?: number | undefined;
|
|
15659
|
+
y?: number | undefined;
|
|
15660
|
+
} | undefined;
|
|
15661
|
+
}>, z.ZodObject<{
|
|
15662
|
+
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
15663
|
+
pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15664
|
+
pcb_component_id: z.ZodString;
|
|
15665
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15666
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
15667
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
15668
|
+
}, "strip", z.ZodTypeAny, {
|
|
15669
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15670
|
+
}, {
|
|
15671
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15672
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15673
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15674
|
+
}>;
|
|
15675
|
+
route: z.ZodArray<z.ZodObject<{
|
|
15676
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15677
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15678
|
+
}, "strip", z.ZodTypeAny, {
|
|
15679
|
+
x: number;
|
|
15680
|
+
y: number;
|
|
15681
|
+
}, {
|
|
15682
|
+
x: string | number;
|
|
15683
|
+
y: string | number;
|
|
15684
|
+
}>, "many">;
|
|
15685
|
+
stroke_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15686
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15687
|
+
}, "strip", z.ZodTypeAny, {
|
|
15688
|
+
type: "pcb_fabrication_note_path";
|
|
15689
|
+
pcb_component_id: string;
|
|
15690
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15691
|
+
route: {
|
|
15692
|
+
x: number;
|
|
15693
|
+
y: number;
|
|
15694
|
+
}[];
|
|
15695
|
+
stroke_width: number;
|
|
15696
|
+
pcb_fabrication_note_path_id: string;
|
|
15697
|
+
subcircuit_id?: string | undefined;
|
|
15698
|
+
color?: string | undefined;
|
|
15699
|
+
}, {
|
|
15700
|
+
type: "pcb_fabrication_note_path";
|
|
15701
|
+
pcb_component_id: string;
|
|
15702
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15703
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15704
|
+
};
|
|
15705
|
+
route: {
|
|
15706
|
+
x: string | number;
|
|
15707
|
+
y: string | number;
|
|
15708
|
+
}[];
|
|
15709
|
+
stroke_width: string | number;
|
|
15710
|
+
subcircuit_id?: string | undefined;
|
|
15711
|
+
color?: string | undefined;
|
|
15712
|
+
pcb_fabrication_note_path_id?: string | undefined;
|
|
15713
|
+
}>, z.ZodObject<{
|
|
15714
|
+
type: z.ZodLiteral<"pcb_fabrication_note_text">;
|
|
15715
|
+
pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15716
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15717
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15718
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15719
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15720
|
+
pcb_component_id: z.ZodString;
|
|
15721
|
+
text: z.ZodString;
|
|
15722
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15723
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
15724
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15725
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15726
|
+
}, "strip", z.ZodTypeAny, {
|
|
15727
|
+
x: number;
|
|
15728
|
+
y: number;
|
|
15729
|
+
}, {
|
|
15730
|
+
x: string | number;
|
|
15731
|
+
y: string | number;
|
|
15732
|
+
}>>;
|
|
15733
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
15734
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15735
|
+
}, "strip", z.ZodTypeAny, {
|
|
15736
|
+
type: "pcb_fabrication_note_text";
|
|
15737
|
+
pcb_component_id: string;
|
|
15738
|
+
layer: "top" | "bottom";
|
|
15739
|
+
text: string;
|
|
15740
|
+
font: "tscircuit2024";
|
|
15741
|
+
font_size: number;
|
|
15742
|
+
anchor_position: {
|
|
15743
|
+
x: number;
|
|
15744
|
+
y: number;
|
|
15745
|
+
};
|
|
15746
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
15747
|
+
pcb_fabrication_note_text_id: string;
|
|
15748
|
+
subcircuit_id?: string | undefined;
|
|
15749
|
+
pcb_group_id?: string | undefined;
|
|
15750
|
+
color?: string | undefined;
|
|
15751
|
+
}, {
|
|
15752
|
+
type: "pcb_fabrication_note_text";
|
|
15753
|
+
pcb_component_id: string;
|
|
15754
|
+
layer: "top" | "bottom";
|
|
15755
|
+
text: string;
|
|
15756
|
+
subcircuit_id?: string | undefined;
|
|
15757
|
+
pcb_group_id?: string | undefined;
|
|
15758
|
+
font?: "tscircuit2024" | undefined;
|
|
15759
|
+
font_size?: string | number | undefined;
|
|
15760
|
+
anchor_position?: {
|
|
15761
|
+
x: string | number;
|
|
15762
|
+
y: string | number;
|
|
15763
|
+
} | undefined;
|
|
15764
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
15765
|
+
pcb_fabrication_note_text_id?: string | undefined;
|
|
15766
|
+
color?: string | undefined;
|
|
15767
|
+
}>, z.ZodObject<{
|
|
15768
|
+
type: z.ZodLiteral<"pcb_fabrication_note_rect">;
|
|
15769
|
+
pcb_fabrication_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15770
|
+
pcb_component_id: z.ZodString;
|
|
15771
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15772
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15773
|
+
center: z.ZodObject<{
|
|
15774
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15775
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15776
|
+
}, "strip", z.ZodTypeAny, {
|
|
15777
|
+
x: number;
|
|
15778
|
+
y: number;
|
|
15175
15779
|
}, {
|
|
15176
|
-
x
|
|
15177
|
-
y
|
|
15178
|
-
}
|
|
15179
|
-
|
|
15780
|
+
x: string | number;
|
|
15781
|
+
y: string | number;
|
|
15782
|
+
}>;
|
|
15783
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15784
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15785
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15786
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15787
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
15788
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
15789
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15790
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15180
15791
|
}, "strip", z.ZodTypeAny, {
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15792
|
+
type: "pcb_fabrication_note_rect";
|
|
15793
|
+
width: number;
|
|
15794
|
+
height: number;
|
|
15795
|
+
pcb_component_id: string;
|
|
15796
|
+
center: {
|
|
15797
|
+
x: number;
|
|
15798
|
+
y: number;
|
|
15799
|
+
};
|
|
15800
|
+
layer: "top" | "bottom";
|
|
15801
|
+
stroke_width: number;
|
|
15802
|
+
pcb_fabrication_note_rect_id: string;
|
|
15186
15803
|
subcircuit_id?: string | undefined;
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
} | undefined;
|
|
15804
|
+
pcb_group_id?: string | undefined;
|
|
15805
|
+
is_filled?: boolean | undefined;
|
|
15806
|
+
has_stroke?: boolean | undefined;
|
|
15807
|
+
is_stroke_dashed?: boolean | undefined;
|
|
15808
|
+
color?: string | undefined;
|
|
15193
15809
|
}, {
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
|
|
15810
|
+
type: "pcb_fabrication_note_rect";
|
|
15811
|
+
width: string | number;
|
|
15812
|
+
height: string | number;
|
|
15813
|
+
pcb_component_id: string;
|
|
15814
|
+
center: {
|
|
15815
|
+
x: string | number;
|
|
15816
|
+
y: string | number;
|
|
15817
|
+
};
|
|
15818
|
+
layer: "top" | "bottom";
|
|
15197
15819
|
subcircuit_id?: string | undefined;
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
} | undefined;
|
|
15820
|
+
pcb_group_id?: string | undefined;
|
|
15821
|
+
stroke_width?: string | number | undefined;
|
|
15822
|
+
is_filled?: boolean | undefined;
|
|
15823
|
+
has_stroke?: boolean | undefined;
|
|
15824
|
+
is_stroke_dashed?: boolean | undefined;
|
|
15825
|
+
color?: string | undefined;
|
|
15826
|
+
pcb_fabrication_note_rect_id?: string | undefined;
|
|
15206
15827
|
}>, z.ZodObject<{
|
|
15207
|
-
type: z.ZodLiteral<"
|
|
15208
|
-
|
|
15828
|
+
type: z.ZodLiteral<"pcb_fabrication_note_dimension">;
|
|
15829
|
+
pcb_fabrication_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15209
15830
|
pcb_component_id: z.ZodString;
|
|
15831
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15210
15832
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15211
|
-
layer: z.
|
|
15212
|
-
|
|
15833
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15834
|
+
from: z.ZodUnion<[z.ZodObject<{
|
|
15835
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15836
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15213
15837
|
}, "strip", z.ZodTypeAny, {
|
|
15214
|
-
|
|
15838
|
+
x: number;
|
|
15839
|
+
y: number;
|
|
15215
15840
|
}, {
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
route: z.ZodArray<z.ZodObject<{
|
|
15841
|
+
x: string | number;
|
|
15842
|
+
y: string | number;
|
|
15843
|
+
}>, z.ZodString]>;
|
|
15844
|
+
to: z.ZodUnion<[z.ZodObject<{
|
|
15221
15845
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15222
15846
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15223
15847
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15226,45 +15850,64 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15226
15850
|
}, {
|
|
15227
15851
|
x: string | number;
|
|
15228
15852
|
y: string | number;
|
|
15229
|
-
}>,
|
|
15230
|
-
|
|
15853
|
+
}>, z.ZodString]>;
|
|
15854
|
+
text: z.ZodOptional<z.ZodString>;
|
|
15855
|
+
offset: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15856
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15857
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15231
15858
|
color: z.ZodOptional<z.ZodString>;
|
|
15859
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15232
15860
|
}, "strip", z.ZodTypeAny, {
|
|
15233
|
-
type: "
|
|
15861
|
+
type: "pcb_fabrication_note_dimension";
|
|
15234
15862
|
pcb_component_id: string;
|
|
15235
|
-
layer: "top" | "bottom"
|
|
15236
|
-
|
|
15863
|
+
layer: "top" | "bottom";
|
|
15864
|
+
font: "tscircuit2024";
|
|
15865
|
+
font_size: number;
|
|
15866
|
+
pcb_fabrication_note_dimension_id: string;
|
|
15867
|
+
from: string | {
|
|
15237
15868
|
x: number;
|
|
15238
15869
|
y: number;
|
|
15239
|
-
}
|
|
15240
|
-
|
|
15241
|
-
|
|
15870
|
+
};
|
|
15871
|
+
to: string | {
|
|
15872
|
+
x: number;
|
|
15873
|
+
y: number;
|
|
15874
|
+
};
|
|
15875
|
+
arrow_size: number;
|
|
15242
15876
|
subcircuit_id?: string | undefined;
|
|
15877
|
+
pcb_group_id?: string | undefined;
|
|
15878
|
+
text?: string | undefined;
|
|
15243
15879
|
color?: string | undefined;
|
|
15880
|
+
offset?: number | undefined;
|
|
15244
15881
|
}, {
|
|
15245
|
-
type: "
|
|
15882
|
+
type: "pcb_fabrication_note_dimension";
|
|
15246
15883
|
pcb_component_id: string;
|
|
15247
|
-
layer: "top" | "bottom"
|
|
15248
|
-
|
|
15884
|
+
layer: "top" | "bottom";
|
|
15885
|
+
from: string | {
|
|
15886
|
+
x: string | number;
|
|
15887
|
+
y: string | number;
|
|
15249
15888
|
};
|
|
15250
|
-
|
|
15889
|
+
to: string | {
|
|
15251
15890
|
x: string | number;
|
|
15252
15891
|
y: string | number;
|
|
15253
|
-
}
|
|
15254
|
-
stroke_width: string | number;
|
|
15892
|
+
};
|
|
15255
15893
|
subcircuit_id?: string | undefined;
|
|
15894
|
+
pcb_group_id?: string | undefined;
|
|
15895
|
+
text?: string | undefined;
|
|
15896
|
+
font?: "tscircuit2024" | undefined;
|
|
15897
|
+
font_size?: string | number | undefined;
|
|
15256
15898
|
color?: string | undefined;
|
|
15257
|
-
|
|
15899
|
+
pcb_fabrication_note_dimension_id?: string | undefined;
|
|
15900
|
+
offset?: string | number | undefined;
|
|
15901
|
+
arrow_size?: string | number | undefined;
|
|
15258
15902
|
}>, z.ZodObject<{
|
|
15259
|
-
type: z.ZodLiteral<"
|
|
15260
|
-
|
|
15261
|
-
|
|
15903
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
15904
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15905
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15262
15906
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15907
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15263
15908
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15264
15909
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15265
|
-
pcb_component_id: z.ZodString;
|
|
15266
15910
|
text: z.ZodString;
|
|
15267
|
-
layer: z.ZodEnum<["top", "bottom"]>;
|
|
15268
15911
|
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
15269
15912
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15270
15913
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15278,9 +15921,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15278
15921
|
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
15279
15922
|
color: z.ZodOptional<z.ZodString>;
|
|
15280
15923
|
}, "strip", z.ZodTypeAny, {
|
|
15281
|
-
type: "
|
|
15282
|
-
pcb_component_id: string;
|
|
15283
|
-
layer: "top" | "bottom";
|
|
15924
|
+
type: "pcb_note_text";
|
|
15284
15925
|
text: string;
|
|
15285
15926
|
font: "tscircuit2024";
|
|
15286
15927
|
font_size: number;
|
|
@@ -15289,33 +15930,171 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15289
15930
|
y: number;
|
|
15290
15931
|
};
|
|
15291
15932
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
15292
|
-
|
|
15933
|
+
pcb_note_text_id: string;
|
|
15934
|
+
pcb_component_id?: string | undefined;
|
|
15935
|
+
subcircuit_id?: string | undefined;
|
|
15936
|
+
pcb_group_id?: string | undefined;
|
|
15937
|
+
color?: string | undefined;
|
|
15938
|
+
}, {
|
|
15939
|
+
type: "pcb_note_text";
|
|
15940
|
+
text: string;
|
|
15941
|
+
pcb_component_id?: string | undefined;
|
|
15942
|
+
subcircuit_id?: string | undefined;
|
|
15943
|
+
pcb_group_id?: string | undefined;
|
|
15944
|
+
font?: "tscircuit2024" | undefined;
|
|
15945
|
+
font_size?: string | number | undefined;
|
|
15946
|
+
anchor_position?: {
|
|
15947
|
+
x: string | number;
|
|
15948
|
+
y: string | number;
|
|
15949
|
+
} | undefined;
|
|
15950
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
15951
|
+
color?: string | undefined;
|
|
15952
|
+
pcb_note_text_id?: string | undefined;
|
|
15953
|
+
}>, z.ZodObject<{
|
|
15954
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
15955
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15956
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15957
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15958
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15959
|
+
center: z.ZodObject<{
|
|
15960
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15961
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15962
|
+
}, "strip", z.ZodTypeAny, {
|
|
15963
|
+
x: number;
|
|
15964
|
+
y: number;
|
|
15965
|
+
}, {
|
|
15966
|
+
x: string | number;
|
|
15967
|
+
y: string | number;
|
|
15968
|
+
}>;
|
|
15969
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15970
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15971
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15972
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
15973
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
15974
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15975
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15976
|
+
}, "strip", z.ZodTypeAny, {
|
|
15977
|
+
type: "pcb_note_rect";
|
|
15978
|
+
width: number;
|
|
15979
|
+
height: number;
|
|
15980
|
+
center: {
|
|
15981
|
+
x: number;
|
|
15982
|
+
y: number;
|
|
15983
|
+
};
|
|
15984
|
+
stroke_width: number;
|
|
15985
|
+
pcb_note_rect_id: string;
|
|
15986
|
+
pcb_component_id?: string | undefined;
|
|
15987
|
+
subcircuit_id?: string | undefined;
|
|
15988
|
+
pcb_group_id?: string | undefined;
|
|
15989
|
+
is_filled?: boolean | undefined;
|
|
15990
|
+
has_stroke?: boolean | undefined;
|
|
15991
|
+
is_stroke_dashed?: boolean | undefined;
|
|
15992
|
+
color?: string | undefined;
|
|
15993
|
+
}, {
|
|
15994
|
+
type: "pcb_note_rect";
|
|
15995
|
+
width: string | number;
|
|
15996
|
+
height: string | number;
|
|
15997
|
+
center: {
|
|
15998
|
+
x: string | number;
|
|
15999
|
+
y: string | number;
|
|
16000
|
+
};
|
|
16001
|
+
pcb_component_id?: string | undefined;
|
|
16002
|
+
subcircuit_id?: string | undefined;
|
|
16003
|
+
pcb_group_id?: string | undefined;
|
|
16004
|
+
stroke_width?: string | number | undefined;
|
|
16005
|
+
is_filled?: boolean | undefined;
|
|
16006
|
+
has_stroke?: boolean | undefined;
|
|
16007
|
+
is_stroke_dashed?: boolean | undefined;
|
|
16008
|
+
color?: string | undefined;
|
|
16009
|
+
pcb_note_rect_id?: string | undefined;
|
|
16010
|
+
}>, z.ZodObject<{
|
|
16011
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
16012
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16013
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
16014
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16015
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16016
|
+
route: z.ZodArray<z.ZodObject<{
|
|
16017
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16018
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16019
|
+
}, "strip", z.ZodTypeAny, {
|
|
16020
|
+
x: number;
|
|
16021
|
+
y: number;
|
|
16022
|
+
}, {
|
|
16023
|
+
x: string | number;
|
|
16024
|
+
y: string | number;
|
|
16025
|
+
}>, "many">;
|
|
16026
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16027
|
+
color: z.ZodOptional<z.ZodString>;
|
|
16028
|
+
}, "strip", z.ZodTypeAny, {
|
|
16029
|
+
type: "pcb_note_path";
|
|
16030
|
+
route: {
|
|
16031
|
+
x: number;
|
|
16032
|
+
y: number;
|
|
16033
|
+
}[];
|
|
16034
|
+
stroke_width: number;
|
|
16035
|
+
pcb_note_path_id: string;
|
|
16036
|
+
pcb_component_id?: string | undefined;
|
|
16037
|
+
subcircuit_id?: string | undefined;
|
|
16038
|
+
pcb_group_id?: string | undefined;
|
|
16039
|
+
color?: string | undefined;
|
|
16040
|
+
}, {
|
|
16041
|
+
type: "pcb_note_path";
|
|
16042
|
+
route: {
|
|
16043
|
+
x: string | number;
|
|
16044
|
+
y: string | number;
|
|
16045
|
+
}[];
|
|
16046
|
+
pcb_component_id?: string | undefined;
|
|
16047
|
+
subcircuit_id?: string | undefined;
|
|
16048
|
+
pcb_group_id?: string | undefined;
|
|
16049
|
+
stroke_width?: string | number | undefined;
|
|
16050
|
+
color?: string | undefined;
|
|
16051
|
+
pcb_note_path_id?: string | undefined;
|
|
16052
|
+
}>, z.ZodObject<{
|
|
16053
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
16054
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16055
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
16056
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16057
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16058
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16059
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16060
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16061
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16062
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16063
|
+
color: z.ZodOptional<z.ZodString>;
|
|
16064
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
16065
|
+
}, "strip", z.ZodTypeAny, {
|
|
16066
|
+
type: "pcb_note_line";
|
|
16067
|
+
stroke_width: number;
|
|
16068
|
+
x1: number;
|
|
16069
|
+
y1: number;
|
|
16070
|
+
x2: number;
|
|
16071
|
+
y2: number;
|
|
16072
|
+
pcb_note_line_id: string;
|
|
16073
|
+
pcb_component_id?: string | undefined;
|
|
15293
16074
|
subcircuit_id?: string | undefined;
|
|
15294
16075
|
pcb_group_id?: string | undefined;
|
|
15295
16076
|
color?: string | undefined;
|
|
16077
|
+
is_dashed?: boolean | undefined;
|
|
15296
16078
|
}, {
|
|
15297
|
-
type: "
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
|
|
16079
|
+
type: "pcb_note_line";
|
|
16080
|
+
x1: string | number;
|
|
16081
|
+
y1: string | number;
|
|
16082
|
+
x2: string | number;
|
|
16083
|
+
y2: string | number;
|
|
16084
|
+
pcb_component_id?: string | undefined;
|
|
15301
16085
|
subcircuit_id?: string | undefined;
|
|
15302
16086
|
pcb_group_id?: string | undefined;
|
|
15303
|
-
|
|
15304
|
-
font_size?: string | number | undefined;
|
|
15305
|
-
anchor_position?: {
|
|
15306
|
-
x: string | number;
|
|
15307
|
-
y: string | number;
|
|
15308
|
-
} | undefined;
|
|
15309
|
-
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
15310
|
-
pcb_fabrication_note_text_id?: string | undefined;
|
|
16087
|
+
stroke_width?: string | number | undefined;
|
|
15311
16088
|
color?: string | undefined;
|
|
16089
|
+
pcb_note_line_id?: string | undefined;
|
|
16090
|
+
is_dashed?: boolean | undefined;
|
|
15312
16091
|
}>, z.ZodObject<{
|
|
15313
|
-
type: z.ZodLiteral<"
|
|
15314
|
-
|
|
15315
|
-
pcb_component_id: z.ZodString
|
|
16092
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
16093
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16094
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15316
16095
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15317
16096
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15318
|
-
|
|
16097
|
+
from: z.ZodObject<{
|
|
15319
16098
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15320
16099
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15321
16100
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15325,50 +16104,59 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15325
16104
|
x: string | number;
|
|
15326
16105
|
y: string | number;
|
|
15327
16106
|
}>;
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
16107
|
+
to: z.ZodObject<{
|
|
16108
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16109
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16110
|
+
}, "strip", z.ZodTypeAny, {
|
|
16111
|
+
x: number;
|
|
16112
|
+
y: number;
|
|
16113
|
+
}, {
|
|
16114
|
+
x: string | number;
|
|
16115
|
+
y: string | number;
|
|
16116
|
+
}>;
|
|
16117
|
+
text: z.ZodOptional<z.ZodString>;
|
|
16118
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
16119
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15335
16120
|
color: z.ZodOptional<z.ZodString>;
|
|
16121
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15336
16122
|
}, "strip", z.ZodTypeAny, {
|
|
15337
|
-
type: "
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
center: {
|
|
16123
|
+
type: "pcb_note_dimension";
|
|
16124
|
+
font: "tscircuit2024";
|
|
16125
|
+
font_size: number;
|
|
16126
|
+
from: {
|
|
15342
16127
|
x: number;
|
|
15343
16128
|
y: number;
|
|
15344
16129
|
};
|
|
15345
|
-
|
|
15346
|
-
|
|
15347
|
-
|
|
16130
|
+
to: {
|
|
16131
|
+
x: number;
|
|
16132
|
+
y: number;
|
|
16133
|
+
};
|
|
16134
|
+
arrow_size: number;
|
|
16135
|
+
pcb_note_dimension_id: string;
|
|
16136
|
+
pcb_component_id?: string | undefined;
|
|
15348
16137
|
subcircuit_id?: string | undefined;
|
|
15349
16138
|
pcb_group_id?: string | undefined;
|
|
15350
|
-
|
|
15351
|
-
has_stroke?: boolean | undefined;
|
|
15352
|
-
is_stroke_dashed?: boolean | undefined;
|
|
16139
|
+
text?: string | undefined;
|
|
15353
16140
|
color?: string | undefined;
|
|
15354
16141
|
}, {
|
|
15355
|
-
type: "
|
|
15356
|
-
|
|
15357
|
-
height: string | number;
|
|
15358
|
-
pcb_component_id: string;
|
|
15359
|
-
center: {
|
|
16142
|
+
type: "pcb_note_dimension";
|
|
16143
|
+
from: {
|
|
15360
16144
|
x: string | number;
|
|
15361
16145
|
y: string | number;
|
|
15362
16146
|
};
|
|
15363
|
-
|
|
16147
|
+
to: {
|
|
16148
|
+
x: string | number;
|
|
16149
|
+
y: string | number;
|
|
16150
|
+
};
|
|
16151
|
+
pcb_component_id?: string | undefined;
|
|
15364
16152
|
subcircuit_id?: string | undefined;
|
|
15365
16153
|
pcb_group_id?: string | undefined;
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
is_stroke_dashed?: boolean | undefined;
|
|
16154
|
+
text?: string | undefined;
|
|
16155
|
+
font?: "tscircuit2024" | undefined;
|
|
16156
|
+
font_size?: string | number | undefined;
|
|
15370
16157
|
color?: string | undefined;
|
|
15371
|
-
|
|
16158
|
+
arrow_size?: string | number | undefined;
|
|
16159
|
+
pcb_note_dimension_id?: string | undefined;
|
|
15372
16160
|
}>, z.ZodObject<{
|
|
15373
16161
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
15374
16162
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -16147,8 +16935,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16147
16935
|
width: string | number;
|
|
16148
16936
|
height: string | number;
|
|
16149
16937
|
subcircuit_id?: string | undefined;
|
|
16150
|
-
schematic_component_id?: string | undefined;
|
|
16151
16938
|
is_dashed?: boolean | undefined;
|
|
16939
|
+
schematic_component_id?: string | undefined;
|
|
16152
16940
|
}>, z.ZodObject<{
|
|
16153
16941
|
type: z.ZodLiteral<"schematic_text">;
|
|
16154
16942
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16216,8 +17004,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16216
17004
|
x2: number;
|
|
16217
17005
|
y2: number;
|
|
16218
17006
|
color: string;
|
|
16219
|
-
schematic_component_id: string;
|
|
16220
17007
|
is_dashed: boolean;
|
|
17008
|
+
schematic_component_id: string;
|
|
16221
17009
|
schematic_line_id: string;
|
|
16222
17010
|
subcircuit_id?: string | undefined;
|
|
16223
17011
|
stroke_width?: number | null | undefined;
|
|
@@ -16267,8 +17055,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16267
17055
|
rotation: number;
|
|
16268
17056
|
is_filled: boolean;
|
|
16269
17057
|
color: string;
|
|
16270
|
-
schematic_component_id: string;
|
|
16271
17058
|
is_dashed: boolean;
|
|
17059
|
+
schematic_component_id: string;
|
|
16272
17060
|
schematic_rect_id: string;
|
|
16273
17061
|
subcircuit_id?: string | undefined;
|
|
16274
17062
|
stroke_width?: number | null | undefined;
|
|
@@ -16320,8 +17108,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16320
17108
|
radius: number;
|
|
16321
17109
|
is_filled: boolean;
|
|
16322
17110
|
color: string;
|
|
16323
|
-
schematic_component_id: string;
|
|
16324
17111
|
is_dashed: boolean;
|
|
17112
|
+
schematic_component_id: string;
|
|
16325
17113
|
schematic_circle_id: string;
|
|
16326
17114
|
subcircuit_id?: string | undefined;
|
|
16327
17115
|
stroke_width?: number | null | undefined;
|
|
@@ -16371,8 +17159,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16371
17159
|
};
|
|
16372
17160
|
radius: number;
|
|
16373
17161
|
color: string;
|
|
16374
|
-
schematic_component_id: string;
|
|
16375
17162
|
is_dashed: boolean;
|
|
17163
|
+
schematic_component_id: string;
|
|
16376
17164
|
direction: "clockwise" | "counterclockwise";
|
|
16377
17165
|
schematic_arc_id: string;
|
|
16378
17166
|
start_angle_degrees: number;
|
|
@@ -21981,33 +22769,202 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21981
22769
|
y?: number | undefined;
|
|
21982
22770
|
} | undefined;
|
|
21983
22771
|
}, {
|
|
21984
|
-
message: string;
|
|
21985
|
-
type: "pcb_via_clearance_error";
|
|
21986
|
-
pcb_via_ids: string[];
|
|
22772
|
+
message: string;
|
|
22773
|
+
type: "pcb_via_clearance_error";
|
|
22774
|
+
pcb_via_ids: string[];
|
|
22775
|
+
subcircuit_id?: string | undefined;
|
|
22776
|
+
error_type?: "pcb_via_clearance_error" | undefined;
|
|
22777
|
+
pcb_error_id?: string | undefined;
|
|
22778
|
+
minimum_clearance?: string | number | undefined;
|
|
22779
|
+
actual_clearance?: string | number | undefined;
|
|
22780
|
+
pcb_center?: {
|
|
22781
|
+
x?: number | undefined;
|
|
22782
|
+
y?: number | undefined;
|
|
22783
|
+
} | undefined;
|
|
22784
|
+
}>, z.ZodObject<{
|
|
22785
|
+
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
22786
|
+
pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22787
|
+
pcb_component_id: z.ZodString;
|
|
22788
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22789
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
22790
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
22791
|
+
}, "strip", z.ZodTypeAny, {
|
|
22792
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22793
|
+
}, {
|
|
22794
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22795
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
22796
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22797
|
+
}>;
|
|
22798
|
+
route: z.ZodArray<z.ZodObject<{
|
|
22799
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22800
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22801
|
+
}, "strip", z.ZodTypeAny, {
|
|
22802
|
+
x: number;
|
|
22803
|
+
y: number;
|
|
22804
|
+
}, {
|
|
22805
|
+
x: string | number;
|
|
22806
|
+
y: string | number;
|
|
22807
|
+
}>, "many">;
|
|
22808
|
+
stroke_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22809
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22810
|
+
}, "strip", z.ZodTypeAny, {
|
|
22811
|
+
type: "pcb_fabrication_note_path";
|
|
22812
|
+
pcb_component_id: string;
|
|
22813
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22814
|
+
route: {
|
|
22815
|
+
x: number;
|
|
22816
|
+
y: number;
|
|
22817
|
+
}[];
|
|
22818
|
+
stroke_width: number;
|
|
22819
|
+
pcb_fabrication_note_path_id: string;
|
|
22820
|
+
subcircuit_id?: string | undefined;
|
|
22821
|
+
color?: string | undefined;
|
|
22822
|
+
}, {
|
|
22823
|
+
type: "pcb_fabrication_note_path";
|
|
22824
|
+
pcb_component_id: string;
|
|
22825
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
22826
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22827
|
+
};
|
|
22828
|
+
route: {
|
|
22829
|
+
x: string | number;
|
|
22830
|
+
y: string | number;
|
|
22831
|
+
}[];
|
|
22832
|
+
stroke_width: string | number;
|
|
22833
|
+
subcircuit_id?: string | undefined;
|
|
22834
|
+
color?: string | undefined;
|
|
22835
|
+
pcb_fabrication_note_path_id?: string | undefined;
|
|
22836
|
+
}>, z.ZodObject<{
|
|
22837
|
+
type: z.ZodLiteral<"pcb_fabrication_note_text">;
|
|
22838
|
+
pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22839
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22840
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22841
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22842
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22843
|
+
pcb_component_id: z.ZodString;
|
|
22844
|
+
text: z.ZodString;
|
|
22845
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
22846
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
22847
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22848
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22849
|
+
}, "strip", z.ZodTypeAny, {
|
|
22850
|
+
x: number;
|
|
22851
|
+
y: number;
|
|
22852
|
+
}, {
|
|
22853
|
+
x: string | number;
|
|
22854
|
+
y: string | number;
|
|
22855
|
+
}>>;
|
|
22856
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
22857
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22858
|
+
}, "strip", z.ZodTypeAny, {
|
|
22859
|
+
type: "pcb_fabrication_note_text";
|
|
22860
|
+
pcb_component_id: string;
|
|
22861
|
+
layer: "top" | "bottom";
|
|
22862
|
+
text: string;
|
|
22863
|
+
font: "tscircuit2024";
|
|
22864
|
+
font_size: number;
|
|
22865
|
+
anchor_position: {
|
|
22866
|
+
x: number;
|
|
22867
|
+
y: number;
|
|
22868
|
+
};
|
|
22869
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
22870
|
+
pcb_fabrication_note_text_id: string;
|
|
22871
|
+
subcircuit_id?: string | undefined;
|
|
22872
|
+
pcb_group_id?: string | undefined;
|
|
22873
|
+
color?: string | undefined;
|
|
22874
|
+
}, {
|
|
22875
|
+
type: "pcb_fabrication_note_text";
|
|
22876
|
+
pcb_component_id: string;
|
|
22877
|
+
layer: "top" | "bottom";
|
|
22878
|
+
text: string;
|
|
22879
|
+
subcircuit_id?: string | undefined;
|
|
22880
|
+
pcb_group_id?: string | undefined;
|
|
22881
|
+
font?: "tscircuit2024" | undefined;
|
|
22882
|
+
font_size?: string | number | undefined;
|
|
22883
|
+
anchor_position?: {
|
|
22884
|
+
x: string | number;
|
|
22885
|
+
y: string | number;
|
|
22886
|
+
} | undefined;
|
|
22887
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
22888
|
+
pcb_fabrication_note_text_id?: string | undefined;
|
|
22889
|
+
color?: string | undefined;
|
|
22890
|
+
}>, z.ZodObject<{
|
|
22891
|
+
type: z.ZodLiteral<"pcb_fabrication_note_rect">;
|
|
22892
|
+
pcb_fabrication_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22893
|
+
pcb_component_id: z.ZodString;
|
|
22894
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22895
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22896
|
+
center: z.ZodObject<{
|
|
22897
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22898
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22899
|
+
}, "strip", z.ZodTypeAny, {
|
|
22900
|
+
x: number;
|
|
22901
|
+
y: number;
|
|
22902
|
+
}, {
|
|
22903
|
+
x: string | number;
|
|
22904
|
+
y: string | number;
|
|
22905
|
+
}>;
|
|
22906
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22907
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22908
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
22909
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22910
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
22911
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
22912
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
22913
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22914
|
+
}, "strip", z.ZodTypeAny, {
|
|
22915
|
+
type: "pcb_fabrication_note_rect";
|
|
22916
|
+
width: number;
|
|
22917
|
+
height: number;
|
|
22918
|
+
pcb_component_id: string;
|
|
22919
|
+
center: {
|
|
22920
|
+
x: number;
|
|
22921
|
+
y: number;
|
|
22922
|
+
};
|
|
22923
|
+
layer: "top" | "bottom";
|
|
22924
|
+
stroke_width: number;
|
|
22925
|
+
pcb_fabrication_note_rect_id: string;
|
|
22926
|
+
subcircuit_id?: string | undefined;
|
|
22927
|
+
pcb_group_id?: string | undefined;
|
|
22928
|
+
is_filled?: boolean | undefined;
|
|
22929
|
+
has_stroke?: boolean | undefined;
|
|
22930
|
+
is_stroke_dashed?: boolean | undefined;
|
|
22931
|
+
color?: string | undefined;
|
|
22932
|
+
}, {
|
|
22933
|
+
type: "pcb_fabrication_note_rect";
|
|
22934
|
+
width: string | number;
|
|
22935
|
+
height: string | number;
|
|
22936
|
+
pcb_component_id: string;
|
|
22937
|
+
center: {
|
|
22938
|
+
x: string | number;
|
|
22939
|
+
y: string | number;
|
|
22940
|
+
};
|
|
22941
|
+
layer: "top" | "bottom";
|
|
21987
22942
|
subcircuit_id?: string | undefined;
|
|
21988
|
-
|
|
21989
|
-
|
|
21990
|
-
|
|
21991
|
-
|
|
21992
|
-
|
|
21993
|
-
|
|
21994
|
-
|
|
21995
|
-
} | undefined;
|
|
22943
|
+
pcb_group_id?: string | undefined;
|
|
22944
|
+
stroke_width?: string | number | undefined;
|
|
22945
|
+
is_filled?: boolean | undefined;
|
|
22946
|
+
has_stroke?: boolean | undefined;
|
|
22947
|
+
is_stroke_dashed?: boolean | undefined;
|
|
22948
|
+
color?: string | undefined;
|
|
22949
|
+
pcb_fabrication_note_rect_id?: string | undefined;
|
|
21996
22950
|
}>, z.ZodObject<{
|
|
21997
|
-
type: z.ZodLiteral<"
|
|
21998
|
-
|
|
22951
|
+
type: z.ZodLiteral<"pcb_fabrication_note_dimension">;
|
|
22952
|
+
pcb_fabrication_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21999
22953
|
pcb_component_id: z.ZodString;
|
|
22954
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22000
22955
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22001
|
-
layer: z.
|
|
22002
|
-
|
|
22956
|
+
layer: z.ZodEnum<["top", "bottom"]>;
|
|
22957
|
+
from: z.ZodUnion<[z.ZodObject<{
|
|
22958
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22959
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22003
22960
|
}, "strip", z.ZodTypeAny, {
|
|
22004
|
-
|
|
22961
|
+
x: number;
|
|
22962
|
+
y: number;
|
|
22005
22963
|
}, {
|
|
22006
|
-
|
|
22007
|
-
|
|
22008
|
-
|
|
22009
|
-
|
|
22010
|
-
route: z.ZodArray<z.ZodObject<{
|
|
22964
|
+
x: string | number;
|
|
22965
|
+
y: string | number;
|
|
22966
|
+
}>, z.ZodString]>;
|
|
22967
|
+
to: z.ZodUnion<[z.ZodObject<{
|
|
22011
22968
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22012
22969
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22013
22970
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22016,45 +22973,64 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22016
22973
|
}, {
|
|
22017
22974
|
x: string | number;
|
|
22018
22975
|
y: string | number;
|
|
22019
|
-
}>,
|
|
22020
|
-
|
|
22976
|
+
}>, z.ZodString]>;
|
|
22977
|
+
text: z.ZodOptional<z.ZodString>;
|
|
22978
|
+
offset: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22979
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22980
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22021
22981
|
color: z.ZodOptional<z.ZodString>;
|
|
22982
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22022
22983
|
}, "strip", z.ZodTypeAny, {
|
|
22023
|
-
type: "
|
|
22984
|
+
type: "pcb_fabrication_note_dimension";
|
|
22024
22985
|
pcb_component_id: string;
|
|
22025
|
-
layer: "top" | "bottom"
|
|
22026
|
-
|
|
22986
|
+
layer: "top" | "bottom";
|
|
22987
|
+
font: "tscircuit2024";
|
|
22988
|
+
font_size: number;
|
|
22989
|
+
pcb_fabrication_note_dimension_id: string;
|
|
22990
|
+
from: string | {
|
|
22027
22991
|
x: number;
|
|
22028
22992
|
y: number;
|
|
22029
|
-
}
|
|
22030
|
-
|
|
22031
|
-
|
|
22993
|
+
};
|
|
22994
|
+
to: string | {
|
|
22995
|
+
x: number;
|
|
22996
|
+
y: number;
|
|
22997
|
+
};
|
|
22998
|
+
arrow_size: number;
|
|
22032
22999
|
subcircuit_id?: string | undefined;
|
|
23000
|
+
pcb_group_id?: string | undefined;
|
|
23001
|
+
text?: string | undefined;
|
|
22033
23002
|
color?: string | undefined;
|
|
23003
|
+
offset?: number | undefined;
|
|
22034
23004
|
}, {
|
|
22035
|
-
type: "
|
|
23005
|
+
type: "pcb_fabrication_note_dimension";
|
|
22036
23006
|
pcb_component_id: string;
|
|
22037
|
-
layer: "top" | "bottom"
|
|
22038
|
-
|
|
23007
|
+
layer: "top" | "bottom";
|
|
23008
|
+
from: string | {
|
|
23009
|
+
x: string | number;
|
|
23010
|
+
y: string | number;
|
|
22039
23011
|
};
|
|
22040
|
-
|
|
23012
|
+
to: string | {
|
|
22041
23013
|
x: string | number;
|
|
22042
23014
|
y: string | number;
|
|
22043
|
-
}
|
|
22044
|
-
stroke_width: string | number;
|
|
23015
|
+
};
|
|
22045
23016
|
subcircuit_id?: string | undefined;
|
|
23017
|
+
pcb_group_id?: string | undefined;
|
|
23018
|
+
text?: string | undefined;
|
|
23019
|
+
font?: "tscircuit2024" | undefined;
|
|
23020
|
+
font_size?: string | number | undefined;
|
|
22046
23021
|
color?: string | undefined;
|
|
22047
|
-
|
|
23022
|
+
pcb_fabrication_note_dimension_id?: string | undefined;
|
|
23023
|
+
offset?: string | number | undefined;
|
|
23024
|
+
arrow_size?: string | number | undefined;
|
|
22048
23025
|
}>, z.ZodObject<{
|
|
22049
|
-
type: z.ZodLiteral<"
|
|
22050
|
-
|
|
22051
|
-
|
|
23026
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
23027
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23028
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22052
23029
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
23030
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22053
23031
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22054
23032
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22055
|
-
pcb_component_id: z.ZodString;
|
|
22056
23033
|
text: z.ZodString;
|
|
22057
|
-
layer: z.ZodEnum<["top", "bottom"]>;
|
|
22058
23034
|
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
22059
23035
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22060
23036
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -22068,9 +23044,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22068
23044
|
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
22069
23045
|
color: z.ZodOptional<z.ZodString>;
|
|
22070
23046
|
}, "strip", z.ZodTypeAny, {
|
|
22071
|
-
type: "
|
|
22072
|
-
pcb_component_id: string;
|
|
22073
|
-
layer: "top" | "bottom";
|
|
23047
|
+
type: "pcb_note_text";
|
|
22074
23048
|
text: string;
|
|
22075
23049
|
font: "tscircuit2024";
|
|
22076
23050
|
font_size: number;
|
|
@@ -22079,15 +23053,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22079
23053
|
y: number;
|
|
22080
23054
|
};
|
|
22081
23055
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
22082
|
-
|
|
23056
|
+
pcb_note_text_id: string;
|
|
23057
|
+
pcb_component_id?: string | undefined;
|
|
22083
23058
|
subcircuit_id?: string | undefined;
|
|
22084
23059
|
pcb_group_id?: string | undefined;
|
|
22085
23060
|
color?: string | undefined;
|
|
22086
23061
|
}, {
|
|
22087
|
-
type: "
|
|
22088
|
-
pcb_component_id: string;
|
|
22089
|
-
layer: "top" | "bottom";
|
|
23062
|
+
type: "pcb_note_text";
|
|
22090
23063
|
text: string;
|
|
23064
|
+
pcb_component_id?: string | undefined;
|
|
22091
23065
|
subcircuit_id?: string | undefined;
|
|
22092
23066
|
pcb_group_id?: string | undefined;
|
|
22093
23067
|
font?: "tscircuit2024" | undefined;
|
|
@@ -22097,12 +23071,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22097
23071
|
y: string | number;
|
|
22098
23072
|
} | undefined;
|
|
22099
23073
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
22100
|
-
pcb_fabrication_note_text_id?: string | undefined;
|
|
22101
23074
|
color?: string | undefined;
|
|
23075
|
+
pcb_note_text_id?: string | undefined;
|
|
22102
23076
|
}>, z.ZodObject<{
|
|
22103
|
-
type: z.ZodLiteral<"
|
|
22104
|
-
|
|
22105
|
-
pcb_component_id: z.ZodString
|
|
23077
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
23078
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23079
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22106
23080
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22107
23081
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22108
23082
|
center: z.ZodObject<{
|
|
@@ -22117,24 +23091,22 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22117
23091
|
}>;
|
|
22118
23092
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22119
23093
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22120
|
-
layer: z.ZodEnum<["top", "bottom"]>;
|
|
22121
23094
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22122
23095
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
22123
23096
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
22124
23097
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
22125
23098
|
color: z.ZodOptional<z.ZodString>;
|
|
22126
23099
|
}, "strip", z.ZodTypeAny, {
|
|
22127
|
-
type: "
|
|
23100
|
+
type: "pcb_note_rect";
|
|
22128
23101
|
width: number;
|
|
22129
23102
|
height: number;
|
|
22130
|
-
pcb_component_id: string;
|
|
22131
23103
|
center: {
|
|
22132
23104
|
x: number;
|
|
22133
23105
|
y: number;
|
|
22134
23106
|
};
|
|
22135
|
-
layer: "top" | "bottom";
|
|
22136
23107
|
stroke_width: number;
|
|
22137
|
-
|
|
23108
|
+
pcb_note_rect_id: string;
|
|
23109
|
+
pcb_component_id?: string | undefined;
|
|
22138
23110
|
subcircuit_id?: string | undefined;
|
|
22139
23111
|
pcb_group_id?: string | undefined;
|
|
22140
23112
|
is_filled?: boolean | undefined;
|
|
@@ -22142,15 +23114,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22142
23114
|
is_stroke_dashed?: boolean | undefined;
|
|
22143
23115
|
color?: string | undefined;
|
|
22144
23116
|
}, {
|
|
22145
|
-
type: "
|
|
23117
|
+
type: "pcb_note_rect";
|
|
22146
23118
|
width: string | number;
|
|
22147
23119
|
height: string | number;
|
|
22148
|
-
pcb_component_id: string;
|
|
22149
23120
|
center: {
|
|
22150
23121
|
x: string | number;
|
|
22151
23122
|
y: string | number;
|
|
22152
23123
|
};
|
|
22153
|
-
|
|
23124
|
+
pcb_component_id?: string | undefined;
|
|
22154
23125
|
subcircuit_id?: string | undefined;
|
|
22155
23126
|
pcb_group_id?: string | undefined;
|
|
22156
23127
|
stroke_width?: string | number | undefined;
|
|
@@ -22158,7 +23129,157 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22158
23129
|
has_stroke?: boolean | undefined;
|
|
22159
23130
|
is_stroke_dashed?: boolean | undefined;
|
|
22160
23131
|
color?: string | undefined;
|
|
22161
|
-
|
|
23132
|
+
pcb_note_rect_id?: string | undefined;
|
|
23133
|
+
}>, z.ZodObject<{
|
|
23134
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
23135
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23136
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
23137
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
23138
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
23139
|
+
route: z.ZodArray<z.ZodObject<{
|
|
23140
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23141
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23142
|
+
}, "strip", z.ZodTypeAny, {
|
|
23143
|
+
x: number;
|
|
23144
|
+
y: number;
|
|
23145
|
+
}, {
|
|
23146
|
+
x: string | number;
|
|
23147
|
+
y: string | number;
|
|
23148
|
+
}>, "many">;
|
|
23149
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23150
|
+
color: z.ZodOptional<z.ZodString>;
|
|
23151
|
+
}, "strip", z.ZodTypeAny, {
|
|
23152
|
+
type: "pcb_note_path";
|
|
23153
|
+
route: {
|
|
23154
|
+
x: number;
|
|
23155
|
+
y: number;
|
|
23156
|
+
}[];
|
|
23157
|
+
stroke_width: number;
|
|
23158
|
+
pcb_note_path_id: string;
|
|
23159
|
+
pcb_component_id?: string | undefined;
|
|
23160
|
+
subcircuit_id?: string | undefined;
|
|
23161
|
+
pcb_group_id?: string | undefined;
|
|
23162
|
+
color?: string | undefined;
|
|
23163
|
+
}, {
|
|
23164
|
+
type: "pcb_note_path";
|
|
23165
|
+
route: {
|
|
23166
|
+
x: string | number;
|
|
23167
|
+
y: string | number;
|
|
23168
|
+
}[];
|
|
23169
|
+
pcb_component_id?: string | undefined;
|
|
23170
|
+
subcircuit_id?: string | undefined;
|
|
23171
|
+
pcb_group_id?: string | undefined;
|
|
23172
|
+
stroke_width?: string | number | undefined;
|
|
23173
|
+
color?: string | undefined;
|
|
23174
|
+
pcb_note_path_id?: string | undefined;
|
|
23175
|
+
}>, z.ZodObject<{
|
|
23176
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
23177
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23178
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
23179
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
23180
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
23181
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23182
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23183
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23184
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23185
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23186
|
+
color: z.ZodOptional<z.ZodString>;
|
|
23187
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
23188
|
+
}, "strip", z.ZodTypeAny, {
|
|
23189
|
+
type: "pcb_note_line";
|
|
23190
|
+
stroke_width: number;
|
|
23191
|
+
x1: number;
|
|
23192
|
+
y1: number;
|
|
23193
|
+
x2: number;
|
|
23194
|
+
y2: number;
|
|
23195
|
+
pcb_note_line_id: string;
|
|
23196
|
+
pcb_component_id?: string | undefined;
|
|
23197
|
+
subcircuit_id?: string | undefined;
|
|
23198
|
+
pcb_group_id?: string | undefined;
|
|
23199
|
+
color?: string | undefined;
|
|
23200
|
+
is_dashed?: boolean | undefined;
|
|
23201
|
+
}, {
|
|
23202
|
+
type: "pcb_note_line";
|
|
23203
|
+
x1: string | number;
|
|
23204
|
+
y1: string | number;
|
|
23205
|
+
x2: string | number;
|
|
23206
|
+
y2: string | number;
|
|
23207
|
+
pcb_component_id?: string | undefined;
|
|
23208
|
+
subcircuit_id?: string | undefined;
|
|
23209
|
+
pcb_group_id?: string | undefined;
|
|
23210
|
+
stroke_width?: string | number | undefined;
|
|
23211
|
+
color?: string | undefined;
|
|
23212
|
+
pcb_note_line_id?: string | undefined;
|
|
23213
|
+
is_dashed?: boolean | undefined;
|
|
23214
|
+
}>, z.ZodObject<{
|
|
23215
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
23216
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23217
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
23218
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
23219
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
23220
|
+
from: z.ZodObject<{
|
|
23221
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23222
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23223
|
+
}, "strip", z.ZodTypeAny, {
|
|
23224
|
+
x: number;
|
|
23225
|
+
y: number;
|
|
23226
|
+
}, {
|
|
23227
|
+
x: string | number;
|
|
23228
|
+
y: string | number;
|
|
23229
|
+
}>;
|
|
23230
|
+
to: z.ZodObject<{
|
|
23231
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23232
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23233
|
+
}, "strip", z.ZodTypeAny, {
|
|
23234
|
+
x: number;
|
|
23235
|
+
y: number;
|
|
23236
|
+
}, {
|
|
23237
|
+
x: string | number;
|
|
23238
|
+
y: string | number;
|
|
23239
|
+
}>;
|
|
23240
|
+
text: z.ZodOptional<z.ZodString>;
|
|
23241
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
23242
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23243
|
+
color: z.ZodOptional<z.ZodString>;
|
|
23244
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23245
|
+
}, "strip", z.ZodTypeAny, {
|
|
23246
|
+
type: "pcb_note_dimension";
|
|
23247
|
+
font: "tscircuit2024";
|
|
23248
|
+
font_size: number;
|
|
23249
|
+
from: {
|
|
23250
|
+
x: number;
|
|
23251
|
+
y: number;
|
|
23252
|
+
};
|
|
23253
|
+
to: {
|
|
23254
|
+
x: number;
|
|
23255
|
+
y: number;
|
|
23256
|
+
};
|
|
23257
|
+
arrow_size: number;
|
|
23258
|
+
pcb_note_dimension_id: string;
|
|
23259
|
+
pcb_component_id?: string | undefined;
|
|
23260
|
+
subcircuit_id?: string | undefined;
|
|
23261
|
+
pcb_group_id?: string | undefined;
|
|
23262
|
+
text?: string | undefined;
|
|
23263
|
+
color?: string | undefined;
|
|
23264
|
+
}, {
|
|
23265
|
+
type: "pcb_note_dimension";
|
|
23266
|
+
from: {
|
|
23267
|
+
x: string | number;
|
|
23268
|
+
y: string | number;
|
|
23269
|
+
};
|
|
23270
|
+
to: {
|
|
23271
|
+
x: string | number;
|
|
23272
|
+
y: string | number;
|
|
23273
|
+
};
|
|
23274
|
+
pcb_component_id?: string | undefined;
|
|
23275
|
+
subcircuit_id?: string | undefined;
|
|
23276
|
+
pcb_group_id?: string | undefined;
|
|
23277
|
+
text?: string | undefined;
|
|
23278
|
+
font?: "tscircuit2024" | undefined;
|
|
23279
|
+
font_size?: string | number | undefined;
|
|
23280
|
+
color?: string | undefined;
|
|
23281
|
+
arrow_size?: string | number | undefined;
|
|
23282
|
+
pcb_note_dimension_id?: string | undefined;
|
|
22162
23283
|
}>, z.ZodObject<{
|
|
22163
23284
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
22164
23285
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -22937,8 +24058,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22937
24058
|
width: string | number;
|
|
22938
24059
|
height: string | number;
|
|
22939
24060
|
subcircuit_id?: string | undefined;
|
|
22940
|
-
schematic_component_id?: string | undefined;
|
|
22941
24061
|
is_dashed?: boolean | undefined;
|
|
24062
|
+
schematic_component_id?: string | undefined;
|
|
22942
24063
|
}>, z.ZodObject<{
|
|
22943
24064
|
type: z.ZodLiteral<"schematic_text">;
|
|
22944
24065
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23006,8 +24127,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23006
24127
|
x2: number;
|
|
23007
24128
|
y2: number;
|
|
23008
24129
|
color: string;
|
|
23009
|
-
schematic_component_id: string;
|
|
23010
24130
|
is_dashed: boolean;
|
|
24131
|
+
schematic_component_id: string;
|
|
23011
24132
|
schematic_line_id: string;
|
|
23012
24133
|
subcircuit_id?: string | undefined;
|
|
23013
24134
|
stroke_width?: number | null | undefined;
|
|
@@ -23057,8 +24178,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23057
24178
|
rotation: number;
|
|
23058
24179
|
is_filled: boolean;
|
|
23059
24180
|
color: string;
|
|
23060
|
-
schematic_component_id: string;
|
|
23061
24181
|
is_dashed: boolean;
|
|
24182
|
+
schematic_component_id: string;
|
|
23062
24183
|
schematic_rect_id: string;
|
|
23063
24184
|
subcircuit_id?: string | undefined;
|
|
23064
24185
|
stroke_width?: number | null | undefined;
|
|
@@ -23110,8 +24231,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23110
24231
|
radius: number;
|
|
23111
24232
|
is_filled: boolean;
|
|
23112
24233
|
color: string;
|
|
23113
|
-
schematic_component_id: string;
|
|
23114
24234
|
is_dashed: boolean;
|
|
24235
|
+
schematic_component_id: string;
|
|
23115
24236
|
schematic_circle_id: string;
|
|
23116
24237
|
subcircuit_id?: string | undefined;
|
|
23117
24238
|
stroke_width?: number | null | undefined;
|
|
@@ -23161,8 +24282,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23161
24282
|
};
|
|
23162
24283
|
radius: number;
|
|
23163
24284
|
color: string;
|
|
23164
|
-
schematic_component_id: string;
|
|
23165
24285
|
is_dashed: boolean;
|
|
24286
|
+
schematic_component_id: string;
|
|
23166
24287
|
direction: "clockwise" | "counterclockwise";
|
|
23167
24288
|
schematic_arc_id: string;
|
|
23168
24289
|
start_angle_degrees: number;
|
|
@@ -24447,4 +25568,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
24447
25568
|
*/
|
|
24448
25569
|
type CircuitJson = AnyCircuitElement[];
|
|
24449
25570
|
|
|
24450
|
-
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 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_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 };
|
|
25571
|
+
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 PCBFabricationNoteDimension, 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 PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type 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_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_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 };
|