@tscircuit/props 0.0.593 → 0.0.595
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 +10 -0
- package/dist/index.d.ts +50 -16
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/lib/common/ninePointAnchor.ts +2 -0
- package/lib/components/autoroutingphase.ts +22 -0
- package/lib/components/breakout.ts +12 -1
- package/lib/components/bus.ts +2 -0
- package/lib/components/group.ts +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -342,6 +342,11 @@ export interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
|
342
342
|
connection?: string;
|
|
343
343
|
connections?: string[];
|
|
344
344
|
reroute?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* Fanout direction for each named bus in this phase. `center` leaves the
|
|
347
|
+
* direction unconstrained.
|
|
348
|
+
*/
|
|
349
|
+
busFanoutDirections?: Record<BusName, BusFanoutDirection>;
|
|
345
350
|
}
|
|
346
351
|
```
|
|
347
352
|
|
|
@@ -407,6 +412,11 @@ export interface BreakoutProps extends Omit<
|
|
|
407
412
|
SubcircuitGroupProps,
|
|
408
413
|
"subcircuit"
|
|
409
414
|
> {
|
|
415
|
+
/**
|
|
416
|
+
* Autorouter used to escape the components inside the breakout boundary.
|
|
417
|
+
* Defaults to the multilayer fanout autorouter.
|
|
418
|
+
*/
|
|
419
|
+
autorouter?: AutorouterProp;
|
|
410
420
|
padding?: Distance;
|
|
411
421
|
paddingLeft?: Distance;
|
|
412
422
|
paddingRight?: Distance;
|
package/dist/index.d.ts
CHANGED
|
@@ -16883,6 +16883,7 @@ type CustomDrcCheckFn = (ctx: CustomDrcCheckContext) => MaybePromise<CustomDrcCh
|
|
|
16883
16883
|
declare const customDrcCheckFn: z.ZodType<CustomDrcCheckFn, z.ZodTypeDef, CustomDrcCheckFn>;
|
|
16884
16884
|
|
|
16885
16885
|
declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
16886
|
+
type NinePointAnchor = z.infer<typeof ninePointAnchor>;
|
|
16886
16887
|
|
|
16887
16888
|
type Point = {
|
|
16888
16889
|
x: number | string;
|
|
@@ -18145,9 +18146,9 @@ interface AutorouterConfig {
|
|
|
18145
18146
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
18146
18147
|
local?: boolean;
|
|
18147
18148
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
18148
|
-
preset?: "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
18149
|
+
preset?: "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
18149
18150
|
}
|
|
18150
|
-
type AutorouterPreset = "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
18151
|
+
type AutorouterPreset = "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
18151
18152
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
18152
18153
|
declare const routingTolerances: z.ZodObject<{
|
|
18153
18154
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -18190,7 +18191,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
18190
18191
|
availableJumperTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["1206x4", "0603"]>, "many">>;
|
|
18191
18192
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
18192
18193
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
18193
|
-
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
18194
|
+
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "single_layer_fanout", "fanout", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
18194
18195
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
18195
18196
|
}, "strip", z.ZodTypeAny, {
|
|
18196
18197
|
serverUrl?: string | undefined;
|
|
@@ -18202,7 +18203,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
18202
18203
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
18203
18204
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
18204
18205
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
18205
|
-
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18206
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18206
18207
|
local?: boolean | undefined;
|
|
18207
18208
|
}, {
|
|
18208
18209
|
serverUrl?: string | undefined;
|
|
@@ -18214,10 +18215,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
18214
18215
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
18215
18216
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
18216
18217
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
18217
|
-
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18218
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18218
18219
|
local?: boolean | undefined;
|
|
18219
18220
|
}>;
|
|
18220
|
-
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
18221
|
+
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"single_layer_fanout">, z.ZodLiteral<"fanout">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
18221
18222
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
18222
18223
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
18223
18224
|
interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
|
|
@@ -28470,6 +28471,11 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
28470
28471
|
}>;
|
|
28471
28472
|
|
|
28472
28473
|
interface BreakoutProps extends Omit<SubcircuitGroupProps, "subcircuit"> {
|
|
28474
|
+
/**
|
|
28475
|
+
* Autorouter used to escape the components inside the breakout boundary.
|
|
28476
|
+
* Defaults to the multilayer fanout autorouter.
|
|
28477
|
+
*/
|
|
28478
|
+
autorouter?: AutorouterProp;
|
|
28473
28479
|
padding?: Distance;
|
|
28474
28480
|
paddingLeft?: Distance;
|
|
28475
28481
|
paddingRight?: Distance;
|
|
@@ -29031,7 +29037,6 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29031
29037
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
29032
29038
|
_subcircuitCachingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
29033
29039
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
29034
|
-
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
29035
29040
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
29036
29041
|
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
29037
29042
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29236,12 +29241,14 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29236
29241
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
29237
29242
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29238
29243
|
} & {
|
|
29244
|
+
autorouter: z.ZodDefault<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
29239
29245
|
padding: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29240
29246
|
paddingLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29241
29247
|
paddingRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29242
29248
|
paddingTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29243
29249
|
paddingBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29244
29250
|
}, "strip", z.ZodTypeAny, {
|
|
29251
|
+
autorouter: AutorouterProp;
|
|
29245
29252
|
symbol?: SymbolProp | undefined;
|
|
29246
29253
|
width?: number | undefined;
|
|
29247
29254
|
height?: number | undefined;
|
|
@@ -29501,7 +29508,6 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29501
29508
|
bomDisabled?: boolean | undefined;
|
|
29502
29509
|
defaultTraceWidth?: number | undefined;
|
|
29503
29510
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
29504
|
-
autorouter?: AutorouterProp | undefined;
|
|
29505
29511
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
29506
29512
|
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
29507
29513
|
circuitJson?: any[] | undefined;
|
|
@@ -93992,8 +93998,8 @@ declare const capacitorProps: z.ZodObject<{
|
|
|
93992
93998
|
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
93993
93999
|
}, "strip", z.ZodTypeAny, {
|
|
93994
94000
|
name: string;
|
|
93995
|
-
schShowRatings: boolean;
|
|
93996
94001
|
capacitance: number;
|
|
94002
|
+
schShowRatings: boolean;
|
|
93997
94003
|
polarized: boolean;
|
|
93998
94004
|
symbol?: SymbolProp | undefined;
|
|
93999
94005
|
showAsTranslucentModel?: boolean | undefined;
|
|
@@ -104666,6 +104672,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
104666
104672
|
}>]>;
|
|
104667
104673
|
type TraceProps = z.input<typeof traceProps>;
|
|
104668
104674
|
|
|
104675
|
+
type BusName = string;
|
|
104669
104676
|
/**
|
|
104670
104677
|
* Declares a group of connections that an autorouter should keep together.
|
|
104671
104678
|
* Each connection may be a trace name or a port selector.
|
|
@@ -108763,10 +108770,10 @@ declare const batteryProps: z.ZodObject<{
|
|
|
108763
108770
|
schSectionName?: string | undefined;
|
|
108764
108771
|
schSheetName?: string | undefined;
|
|
108765
108772
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
108773
|
+
voltage?: number | undefined;
|
|
108766
108774
|
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
|
|
108767
108775
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
108768
108776
|
capacity?: number | undefined;
|
|
108769
|
-
voltage?: number | undefined;
|
|
108770
108777
|
}, {
|
|
108771
108778
|
name: string;
|
|
108772
108779
|
symbol?: SymbolProp | undefined;
|
|
@@ -109348,10 +109355,10 @@ declare const batteryProps: z.ZodObject<{
|
|
|
109348
109355
|
schSectionName?: string | undefined;
|
|
109349
109356
|
schSheetName?: string | undefined;
|
|
109350
109357
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
109358
|
+
voltage?: string | number | undefined;
|
|
109351
109359
|
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
|
|
109352
109360
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
109353
109361
|
capacity?: string | number | undefined;
|
|
109354
|
-
voltage?: string | number | undefined;
|
|
109355
109362
|
}>;
|
|
109356
109363
|
|
|
109357
109364
|
type MountedBoardChipProps = Pick<ChipPropsSU, "manufacturerPartNumber" | "pinLabels" | "showPinAliases" | "pcbPinLabels" | "schPortArrangement" | "pinCompatibleVariants" | "noSchematicRepresentation" | "internallyConnectedPins" | "externallyConnectedPins">;
|
|
@@ -123127,6 +123134,9 @@ declare const analogSweepParameterProps: z.ZodEffects<z.ZodDiscriminatedUnion<"p
|
|
|
123127
123134
|
step?: string | number | undefined;
|
|
123128
123135
|
}>;
|
|
123129
123136
|
|
|
123137
|
+
type BusFanoutDirection = NinePointAnchor | {
|
|
123138
|
+
direction: NinePointAnchor;
|
|
123139
|
+
};
|
|
123130
123140
|
interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
123131
123141
|
key?: any;
|
|
123132
123142
|
name?: string;
|
|
@@ -123142,6 +123152,11 @@ interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
|
123142
123152
|
connection?: string;
|
|
123143
123153
|
connections?: string[];
|
|
123144
123154
|
reroute?: boolean;
|
|
123155
|
+
/**
|
|
123156
|
+
* Fanout direction for each named bus in this phase. `center` leaves the
|
|
123157
|
+
* direction unconstrained.
|
|
123158
|
+
*/
|
|
123159
|
+
busFanoutDirections?: Record<BusName, BusFanoutDirection>;
|
|
123145
123160
|
}
|
|
123146
123161
|
declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
123147
123162
|
region: z.ZodOptional<z.ZodObject<{
|
|
@@ -123166,6 +123181,13 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123166
123181
|
connection: z.ZodOptional<z.ZodString>;
|
|
123167
123182
|
connections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
123168
123183
|
reroute: z.ZodOptional<z.ZodBoolean>;
|
|
123184
|
+
busFanoutDirections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>, z.ZodObject<{
|
|
123185
|
+
direction: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
123186
|
+
}, "strip", z.ZodTypeAny, {
|
|
123187
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123188
|
+
}, {
|
|
123189
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123190
|
+
}>]>>>;
|
|
123169
123191
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
123170
123192
|
minViaHoleEdgeToViaHoleEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
123171
123193
|
minViaEdgeToPadEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -123203,6 +123225,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123203
123225
|
shape?: "rect" | undefined;
|
|
123204
123226
|
} | undefined;
|
|
123205
123227
|
reroute?: boolean | undefined;
|
|
123228
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123229
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123230
|
+
}> | undefined;
|
|
123206
123231
|
}, {
|
|
123207
123232
|
name?: string | undefined;
|
|
123208
123233
|
key?: any;
|
|
@@ -123227,6 +123252,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123227
123252
|
shape?: "rect" | undefined;
|
|
123228
123253
|
} | undefined;
|
|
123229
123254
|
reroute?: boolean | undefined;
|
|
123255
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123256
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123257
|
+
}> | undefined;
|
|
123230
123258
|
}>, {
|
|
123231
123259
|
name?: string | undefined;
|
|
123232
123260
|
key?: any;
|
|
@@ -123251,6 +123279,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123251
123279
|
shape?: "rect" | undefined;
|
|
123252
123280
|
} | undefined;
|
|
123253
123281
|
reroute?: boolean | undefined;
|
|
123282
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123283
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123284
|
+
}> | undefined;
|
|
123254
123285
|
}, {
|
|
123255
123286
|
name?: string | undefined;
|
|
123256
123287
|
key?: any;
|
|
@@ -123275,6 +123306,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123275
123306
|
shape?: "rect" | undefined;
|
|
123276
123307
|
} | undefined;
|
|
123277
123308
|
reroute?: boolean | undefined;
|
|
123309
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123310
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123311
|
+
}> | undefined;
|
|
123278
123312
|
}>;
|
|
123279
123313
|
|
|
123280
123314
|
declare const transistorPinsLabels: readonly ["pin1", "pin2", "pin3", "emitter", "collector", "base", "gate", "source", "drain"];
|
|
@@ -174650,8 +174684,8 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
174650
174684
|
schSectionName?: string | undefined;
|
|
174651
174685
|
schSheetName?: string | undefined;
|
|
174652
174686
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
174653
|
-
frequency?: number | undefined;
|
|
174654
174687
|
voltage?: number | undefined;
|
|
174688
|
+
frequency?: number | undefined;
|
|
174655
174689
|
peakToPeakVoltage?: number | undefined;
|
|
174656
174690
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
174657
174691
|
phase?: number | undefined;
|
|
@@ -175244,8 +175278,8 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
175244
175278
|
schSectionName?: string | undefined;
|
|
175245
175279
|
schSheetName?: string | undefined;
|
|
175246
175280
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
175247
|
-
frequency?: string | number | undefined;
|
|
175248
175281
|
voltage?: string | number | undefined;
|
|
175282
|
+
frequency?: string | number | undefined;
|
|
175249
175283
|
peakToPeakVoltage?: string | number | undefined;
|
|
175250
175284
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
175251
175285
|
phase?: string | number | undefined;
|
|
@@ -179223,8 +179257,8 @@ declare const currentSourceProps: z.ZodObject<{
|
|
|
179223
179257
|
schSectionName?: string | undefined;
|
|
179224
179258
|
schSheetName?: string | undefined;
|
|
179225
179259
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
179226
|
-
frequency?: number | undefined;
|
|
179227
179260
|
current?: number | undefined;
|
|
179261
|
+
frequency?: number | undefined;
|
|
179228
179262
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
179229
179263
|
phase?: number | undefined;
|
|
179230
179264
|
dutyCycle?: number | undefined;
|
|
@@ -179812,8 +179846,8 @@ declare const currentSourceProps: z.ZodObject<{
|
|
|
179812
179846
|
schSectionName?: string | undefined;
|
|
179813
179847
|
schSheetName?: string | undefined;
|
|
179814
179848
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
179815
|
-
frequency?: string | number | undefined;
|
|
179816
179849
|
current?: string | number | undefined;
|
|
179850
|
+
frequency?: string | number | undefined;
|
|
179817
179851
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
179818
179852
|
phase?: string | number | undefined;
|
|
179819
179853
|
dutyCycle?: string | number | undefined;
|
|
@@ -192366,4 +192400,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
192366
192400
|
}
|
|
192367
192401
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
192368
192402
|
|
|
192369
|
-
export { type AmmeterPinLabels, type AmmeterProps, type AnalogAcSweepSimulationProps, type AnalogAnalysisSimulationBaseProps, type AnalogCapacitanceSweepParameterProps, type AnalogCurrentSweepParameterProps, type AnalogDcOperatingPointSimulationProps, type AnalogDcSweepSimulationProps, type AnalogInductanceSweepParameterProps, type AnalogResistanceSweepParameterProps, type AnalogSimulationProps, type AnalogSweepParameterProps, type AnalogTransientSimulationProps, type AnalogVoltageSweepParameterProps, type AssemblyDeviceProps, type AssemblyDevicePropsInput, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type BusProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleEnclosureCutoutApertureProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleShapeProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type CommonShapeProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DifferentialPairProps, type DiodePinLabels, type DiodePinLabelsProp, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type EnclosureCutoutApertureProps, type EnclosureCutoutApertureShape, type EnclosureFdmBoxProps, type EnclosureFdmBoxPropsInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicSheetProps, type InferredSchematicSymbolProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type InternalCircuitElement, type InternalCircuitProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type ParsedEnclosureCutoutApertureProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillEnclosureCutoutApertureProps, type PillHoleProps, type PillPlatedHoleProps, type PillShapeProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectEnclosureCutoutApertureProps, type RectHoleProps, type RectShapeProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSheetProps, type SchematicSymbolProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, ammeterPinLabels, ammeterPins, ammeterProps, analogAcSweepSimulationProps, analogAnalysisSimulationBaseProps, analogCapacitanceSweepParameterProps, analogCurrentSweepParameterProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogInductanceSweepParameterProps, analogResistanceSweepParameterProps, analogSimulationProps, analogSweepParameterProps, analogTransientSimulationProps, analogVoltageSweepParameterProps, assemblyDeviceProps, assemblyProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, busProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleShapeProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, commonShapeProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, differentialPairProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, enclosureCutoutApertureProps, enclosureCutoutApertureShapes, enclosureFdmBoxProps, enclosureProps, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, internalCircuitProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillShapeProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectShapeProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSheetProps, schematicSymbolProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
|
192403
|
+
export { type AmmeterPinLabels, type AmmeterProps, type AnalogAcSweepSimulationProps, type AnalogAnalysisSimulationBaseProps, type AnalogCapacitanceSweepParameterProps, type AnalogCurrentSweepParameterProps, type AnalogDcOperatingPointSimulationProps, type AnalogDcSweepSimulationProps, type AnalogInductanceSweepParameterProps, type AnalogResistanceSweepParameterProps, type AnalogSimulationProps, type AnalogSweepParameterProps, type AnalogTransientSimulationProps, type AnalogVoltageSweepParameterProps, type AssemblyDeviceProps, type AssemblyDevicePropsInput, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type BusFanoutDirection, type BusName, type BusProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleEnclosureCutoutApertureProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleShapeProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type CommonShapeProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DifferentialPairProps, type DiodePinLabels, type DiodePinLabelsProp, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type EnclosureCutoutApertureProps, type EnclosureCutoutApertureShape, type EnclosureFdmBoxProps, type EnclosureFdmBoxPropsInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicSheetProps, type InferredSchematicSymbolProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type InternalCircuitElement, type InternalCircuitProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NinePointAnchor, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type ParsedEnclosureCutoutApertureProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillEnclosureCutoutApertureProps, type PillHoleProps, type PillPlatedHoleProps, type PillShapeProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectEnclosureCutoutApertureProps, type RectHoleProps, type RectShapeProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSheetProps, type SchematicSymbolProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, ammeterPinLabels, ammeterPins, ammeterProps, analogAcSweepSimulationProps, analogAnalysisSimulationBaseProps, analogCapacitanceSweepParameterProps, analogCurrentSweepParameterProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogInductanceSweepParameterProps, analogResistanceSweepParameterProps, analogSimulationProps, analogSweepParameterProps, analogTransientSimulationProps, analogVoltageSweepParameterProps, assemblyDeviceProps, assemblyProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, busProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleShapeProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, commonShapeProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, differentialPairProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, enclosureCutoutApertureProps, enclosureCutoutApertureShapes, enclosureFdmBoxProps, enclosureProps, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, internalCircuitProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillShapeProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectShapeProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSheetProps, schematicSymbolProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
package/dist/index.js
CHANGED
|
@@ -16369,6 +16369,8 @@ var autorouterConfig = z41.object({
|
|
|
16369
16369
|
"krt",
|
|
16370
16370
|
"freerouting",
|
|
16371
16371
|
"laser_prefab",
|
|
16372
|
+
"single_layer_fanout",
|
|
16373
|
+
"fanout",
|
|
16372
16374
|
"auto-jumper",
|
|
16373
16375
|
"sequential-trace",
|
|
16374
16376
|
"auto-local",
|
|
@@ -16389,6 +16391,8 @@ var autorouterPreset = z41.union([
|
|
|
16389
16391
|
z41.literal("freerouting"),
|
|
16390
16392
|
z41.literal("laser_prefab"),
|
|
16391
16393
|
// Prefabricated PCB with laser copper ablation
|
|
16394
|
+
z41.literal("single_layer_fanout"),
|
|
16395
|
+
z41.literal("fanout"),
|
|
16392
16396
|
z41.literal("auto-jumper"),
|
|
16393
16397
|
z41.literal("sequential-trace"),
|
|
16394
16398
|
z41.literal("auto-local"),
|
|
@@ -16603,6 +16607,7 @@ expectTypesMatch(true);
|
|
|
16603
16607
|
import { distance as distance12 } from "circuit-json";
|
|
16604
16608
|
import "zod";
|
|
16605
16609
|
var breakoutProps = subcircuitGroupProps.extend({
|
|
16610
|
+
autorouter: autorouterProp.default("fanout"),
|
|
16606
16611
|
padding: distance12.optional(),
|
|
16607
16612
|
paddingLeft: distance12.optional(),
|
|
16608
16613
|
paddingRight: distance12.optional(),
|
|
@@ -17741,6 +17746,10 @@ expectTypesMatch(true);
|
|
|
17741
17746
|
|
|
17742
17747
|
// lib/components/autoroutingphase.ts
|
|
17743
17748
|
import { z as z86 } from "zod";
|
|
17749
|
+
var busFanoutDirection = z86.union([
|
|
17750
|
+
ninePointAnchor,
|
|
17751
|
+
z86.object({ direction: ninePointAnchor })
|
|
17752
|
+
]);
|
|
17744
17753
|
var autoroutingPhaseProps = z86.object({
|
|
17745
17754
|
key: z86.any().optional(),
|
|
17746
17755
|
name: z86.string().optional(),
|
|
@@ -17756,7 +17765,8 @@ var autoroutingPhaseProps = z86.object({
|
|
|
17756
17765
|
}).optional(),
|
|
17757
17766
|
connection: z86.string().optional(),
|
|
17758
17767
|
connections: z86.array(z86.string()).optional(),
|
|
17759
|
-
reroute: z86.boolean().optional()
|
|
17768
|
+
reroute: z86.boolean().optional(),
|
|
17769
|
+
busFanoutDirections: z86.record(busFanoutDirection).optional()
|
|
17760
17770
|
}).superRefine((value, ctx) => {
|
|
17761
17771
|
if (value.reroute !== void 0 && value.region === void 0 && value.connection === void 0 && value.connections === void 0) {
|
|
17762
17772
|
ctx.addIssue({
|