@tscircuit/core 0.0.1311 → 0.0.1313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +20 -19
- package/dist/index.js +12 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { symbols, SchSymbol, BaseSymbolName } from 'schematic-symbols';
|
|
|
12
12
|
import { CircuitJsonUtilObjects } from '@tscircuit/circuit-json-util';
|
|
13
13
|
import { Matrix } from 'transformation-matrix';
|
|
14
14
|
import { PackSolver2 } from 'calculate-packing';
|
|
15
|
-
import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver5, AutoroutingPipelineSolver8, SimplifiedPcbTrace as SimplifiedPcbTrace$1, SimpleRouteJson as SimpleRouteJson$1 } from '@tscircuit/capacity-autorouter';
|
|
15
|
+
import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver5, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, SimplifiedPcbTrace as SimplifiedPcbTrace$1, SimpleRouteJson as SimpleRouteJson$1 } from '@tscircuit/capacity-autorouter';
|
|
16
16
|
import { CopperPourPipelineSolver } from '@tscircuit/copper-pour-solver';
|
|
17
17
|
import { Bounds } from '@tscircuit/math-utils';
|
|
18
18
|
import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
|
|
@@ -27,6 +27,7 @@ declare const SOLVERS: {
|
|
|
27
27
|
AutoroutingPipelineSolver3_HgPortPointPathing: typeof AutoroutingPipelineSolver3_HgPortPointPathing;
|
|
28
28
|
AutoroutingPipelineSolver4: typeof AutoroutingPipelineSolver;
|
|
29
29
|
AutoroutingPipelineSolver5: typeof AutoroutingPipelineSolver5;
|
|
30
|
+
AutoroutingPipelineSolver7_MultiGraph: typeof AutoroutingPipelineSolver7_MultiGraph;
|
|
30
31
|
AutoroutingPipelineSolver8: typeof AutoroutingPipelineSolver8;
|
|
31
32
|
CopperPourPipelineSolver: typeof CopperPourPipelineSolver;
|
|
32
33
|
};
|
|
@@ -3035,7 +3036,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
3035
3036
|
pcbRouteCache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
3036
3037
|
autorouter: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutorouterProp, zod.ZodTypeDef, _tscircuit_props.AutorouterProp>>;
|
|
3037
3038
|
autorouterEffortLevel: zod.ZodOptional<zod.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
3038
|
-
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
3039
|
+
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
3039
3040
|
square: zod.ZodOptional<zod.ZodBoolean>;
|
|
3040
3041
|
emptyArea: zod.ZodOptional<zod.ZodString>;
|
|
3041
3042
|
filledArea: zod.ZodOptional<zod.ZodString>;
|
|
@@ -3525,7 +3526,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
3525
3526
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
3526
3527
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
3527
3528
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
3528
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
3529
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
3529
3530
|
circuitJson?: any[] | undefined;
|
|
3530
3531
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3531
3532
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3860,7 +3861,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
3860
3861
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
3861
3862
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
3862
3863
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
3863
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
3864
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
3864
3865
|
circuitJson?: any[] | undefined;
|
|
3865
3866
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3866
3867
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -4569,7 +4570,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4569
4570
|
pcbRouteCache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
4570
4571
|
autorouter: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutorouterProp, zod.ZodTypeDef, _tscircuit_props.AutorouterProp>>;
|
|
4571
4572
|
autorouterEffortLevel: zod.ZodOptional<zod.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
4572
|
-
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
4573
|
+
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
4573
4574
|
square: zod.ZodOptional<zod.ZodBoolean>;
|
|
4574
4575
|
emptyArea: zod.ZodOptional<zod.ZodString>;
|
|
4575
4576
|
filledArea: zod.ZodOptional<zod.ZodString>;
|
|
@@ -5175,7 +5176,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
5175
5176
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
5176
5177
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
5177
5178
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
5178
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
5179
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
5179
5180
|
circuitJson?: any[] | undefined;
|
|
5180
5181
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
5181
5182
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -5533,7 +5534,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
5533
5534
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
5534
5535
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
5535
5536
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
5536
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
5537
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
5537
5538
|
circuitJson?: any[] | undefined;
|
|
5538
5539
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
5539
5540
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -6212,7 +6213,7 @@ declare class Subpanel extends Group<typeof subpanelProps> {
|
|
|
6212
6213
|
topMargin?: string | number | undefined;
|
|
6213
6214
|
bottomMargin?: string | number | undefined;
|
|
6214
6215
|
}>>>;
|
|
6215
|
-
}, "width" | "
|
|
6216
|
+
}, "width" | "height" | "children" | "layoutMode"> & {
|
|
6216
6217
|
width: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
6217
6218
|
height: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
6218
6219
|
children: zod.ZodOptional<zod.ZodAny>;
|
|
@@ -7413,7 +7414,7 @@ declare class Panel extends Subpanel {
|
|
|
7413
7414
|
topMargin?: string | number | undefined;
|
|
7414
7415
|
bottomMargin?: string | number | undefined;
|
|
7415
7416
|
}>>>;
|
|
7416
|
-
}, "width" | "
|
|
7417
|
+
}, "width" | "height" | "children" | "layoutMode"> & {
|
|
7417
7418
|
width: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
7418
7419
|
height: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
7419
7420
|
children: zod.ZodOptional<zod.ZodAny>;
|
|
@@ -83846,6 +83847,7 @@ declare class PcbTrace extends PrimitiveComponent<typeof pcbTraceProps> {
|
|
|
83846
83847
|
|
|
83847
83848
|
declare const pcbViaProps: z.ZodObject<{
|
|
83848
83849
|
symbol: z.ZodOptional<z.ZodType<_tscircuit_props.SymbolProp, z.ZodTypeDef, _tscircuit_props.SymbolProp>>;
|
|
83850
|
+
name: z.ZodOptional<z.ZodString>;
|
|
83849
83851
|
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
83850
83852
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
83851
83853
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -83864,7 +83866,6 @@ declare const pcbViaProps: z.ZodObject<{
|
|
|
83864
83866
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
83865
83867
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
83866
83868
|
}>, "many">>;
|
|
83867
|
-
name: z.ZodOptional<z.ZodString>;
|
|
83868
83869
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
83869
83870
|
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
83870
83871
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -83966,9 +83967,9 @@ declare const pcbViaProps: z.ZodObject<{
|
|
|
83966
83967
|
netIsAssignable: z.ZodOptional<z.ZodBoolean>;
|
|
83967
83968
|
}, "strip", z.ZodTypeAny, {
|
|
83968
83969
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
83970
|
+
name?: string | undefined;
|
|
83969
83971
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
83970
83972
|
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[] | undefined;
|
|
83971
|
-
name?: string | undefined;
|
|
83972
83973
|
schX?: number | undefined;
|
|
83973
83974
|
schY?: number | undefined;
|
|
83974
83975
|
pcbX?: string | number | undefined;
|
|
@@ -84024,13 +84025,13 @@ declare const pcbViaProps: z.ZodObject<{
|
|
|
84024
84025
|
netIsAssignable?: boolean | undefined;
|
|
84025
84026
|
}, {
|
|
84026
84027
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
84028
|
+
name?: string | undefined;
|
|
84027
84029
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
84028
84030
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
84029
84031
|
} | undefined;
|
|
84030
84032
|
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
84031
84033
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
84032
84034
|
})[] | undefined;
|
|
84033
|
-
name?: string | undefined;
|
|
84034
84035
|
schX?: string | number | undefined;
|
|
84035
84036
|
schY?: string | number | undefined;
|
|
84036
84037
|
pcbX?: string | number | undefined;
|
|
@@ -84097,6 +84098,7 @@ declare class PcbVia extends PrimitiveComponent<typeof pcbViaProps> {
|
|
|
84097
84098
|
componentName: string;
|
|
84098
84099
|
zodProps: z.ZodObject<{
|
|
84099
84100
|
symbol: z.ZodOptional<z.ZodType<_tscircuit_props.SymbolProp, z.ZodTypeDef, _tscircuit_props.SymbolProp>>;
|
|
84101
|
+
name: z.ZodOptional<z.ZodString>;
|
|
84100
84102
|
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
84101
84103
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
84102
84104
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -84115,7 +84117,6 @@ declare class PcbVia extends PrimitiveComponent<typeof pcbViaProps> {
|
|
|
84115
84117
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
84116
84118
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
84117
84119
|
}>, "many">>;
|
|
84118
|
-
name: z.ZodOptional<z.ZodString>;
|
|
84119
84120
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
84120
84121
|
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
84121
84122
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -84217,9 +84218,9 @@ declare class PcbVia extends PrimitiveComponent<typeof pcbViaProps> {
|
|
|
84217
84218
|
netIsAssignable: z.ZodOptional<z.ZodBoolean>;
|
|
84218
84219
|
}, "strip", z.ZodTypeAny, {
|
|
84219
84220
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
84221
|
+
name?: string | undefined;
|
|
84220
84222
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
84221
84223
|
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[] | undefined;
|
|
84222
|
-
name?: string | undefined;
|
|
84223
84224
|
schX?: number | undefined;
|
|
84224
84225
|
schY?: number | undefined;
|
|
84225
84226
|
pcbX?: string | number | undefined;
|
|
@@ -84275,13 +84276,13 @@ declare class PcbVia extends PrimitiveComponent<typeof pcbViaProps> {
|
|
|
84275
84276
|
netIsAssignable?: boolean | undefined;
|
|
84276
84277
|
}, {
|
|
84277
84278
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
84279
|
+
name?: string | undefined;
|
|
84278
84280
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
84279
84281
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
84280
84282
|
} | undefined;
|
|
84281
84283
|
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
84282
84284
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
84283
84285
|
})[] | undefined;
|
|
84284
|
-
name?: string | undefined;
|
|
84285
84286
|
schX?: string | number | undefined;
|
|
84286
84287
|
schY?: string | number | undefined;
|
|
84287
84288
|
pcbX?: string | number | undefined;
|
|
@@ -152694,11 +152695,11 @@ type CreateUseComponentConstPinLabels = <Props, PinLabel extends string | never
|
|
|
152694
152695
|
type CreateUseComponentPinLabelMap = <Props, PinLabel extends string | never = never, PinNumberKey extends string = never>(Component: react__default.ComponentType<Props>, pins: Record<PinNumberKey, readonly PinLabel[] | PinLabel[]>) => <PropsFromHook extends Omit<Props, "name"> | undefined = undefined>(name: string, props?: PropsFromHook) => ComponentWithPins<Props, PinLabel | PinNumberKey, PropsFromHook>;
|
|
152695
152696
|
declare const createUseComponent: CreateUseComponentConstPinLabels & CreateUseComponentPinLabelMap;
|
|
152696
152697
|
|
|
152697
|
-
declare const useCapacitor: <PropsFromHook extends Omit<CapacitorProps<string>, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<CapacitorProps<string>, "
|
|
152698
|
+
declare const useCapacitor: <PropsFromHook extends Omit<CapacitorProps<string>, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<CapacitorProps<string>, "left" | "right" | "pin1" | "pin2" | "anode" | "cathode" | "pos" | "neg", PropsFromHook>;
|
|
152698
152699
|
|
|
152699
152700
|
declare const useChip: <PinLabel extends string>(pinLabels: Record<string, PinLabel[]>) => <PropsFromHook extends Omit<ChipProps, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<ChipProps, string | PinLabel, PropsFromHook>;
|
|
152700
152701
|
|
|
152701
|
-
declare const useDiode: <PropsFromHook extends Omit<DiodeProps<string>, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<DiodeProps<string>, "
|
|
152702
|
+
declare const useDiode: <PropsFromHook extends Omit<DiodeProps<string>, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<DiodeProps<string>, "left" | "right" | "pin1" | "pin2" | "anode" | "cathode" | "pos" | "neg", PropsFromHook>;
|
|
152702
152703
|
|
|
152703
152704
|
declare const useLed: <PropsFromHook extends Omit<{
|
|
152704
152705
|
name: string;
|
|
@@ -153870,9 +153871,9 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
153870
153871
|
wavelength?: string | undefined;
|
|
153871
153872
|
schDisplayValue?: string | undefined;
|
|
153872
153873
|
laser?: boolean | undefined;
|
|
153873
|
-
}, "
|
|
153874
|
+
}, "left" | "right" | "pin1" | "pin2" | "anode" | "cathode" | "pos" | "neg", PropsFromHook>;
|
|
153874
153875
|
|
|
153875
|
-
declare const useResistor: <PropsFromHook extends Omit<ResistorProps<string>, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<ResistorProps<string>, "
|
|
153876
|
+
declare const useResistor: <PropsFromHook extends Omit<ResistorProps<string>, "name"> | undefined = undefined>(name: string, props?: PropsFromHook | undefined) => ComponentWithPins<ResistorProps<string>, "left" | "right" | "pin1" | "pin2", PropsFromHook>;
|
|
153876
153877
|
|
|
153877
153878
|
declare const applyEditEventsToManualEditsFile: ({ circuitJson, editEvents, manualEditsFile, }: {
|
|
153878
153879
|
circuitJson: CircuitJson;
|
package/dist/index.js
CHANGED
|
@@ -9767,8 +9767,12 @@ var Port = class extends PrimitiveComponent2 {
|
|
|
9767
9767
|
label: "obstacle"
|
|
9768
9768
|
});
|
|
9769
9769
|
}
|
|
9770
|
+
const isExplicitCustomSymbolPort = schX !== void 0 && schY !== void 0 && !!this._getSymbolAncestor();
|
|
9770
9771
|
if (!localPortInfo?.side) {
|
|
9771
9772
|
this.facingDirection = getRelativeDirection(containerCenter, portCenter);
|
|
9773
|
+
if (isExplicitCustomSymbolPort && props.direction) {
|
|
9774
|
+
this.facingDirection = props.direction;
|
|
9775
|
+
}
|
|
9772
9776
|
} else {
|
|
9773
9777
|
this.facingDirection = {
|
|
9774
9778
|
left: "left",
|
|
@@ -14771,6 +14775,7 @@ import {
|
|
|
14771
14775
|
AutoroutingPipelineSolver3_HgPortPointPathing,
|
|
14772
14776
|
AutoroutingPipelineSolver4,
|
|
14773
14777
|
AutoroutingPipelineSolver5,
|
|
14778
|
+
AutoroutingPipelineSolver7_MultiGraph,
|
|
14774
14779
|
AutoroutingPipelineSolver8
|
|
14775
14780
|
} from "@tscircuit/capacity-autorouter";
|
|
14776
14781
|
import { CopperPourPipelineSolver } from "@tscircuit/copper-pour-solver";
|
|
@@ -14783,6 +14788,7 @@ var SOLVERS = {
|
|
|
14783
14788
|
AutoroutingPipelineSolver3_HgPortPointPathing,
|
|
14784
14789
|
AutoroutingPipelineSolver4,
|
|
14785
14790
|
AutoroutingPipelineSolver5,
|
|
14791
|
+
AutoroutingPipelineSolver7_MultiGraph,
|
|
14786
14792
|
AutoroutingPipelineSolver8,
|
|
14787
14793
|
CopperPourPipelineSolver
|
|
14788
14794
|
};
|
|
@@ -14822,6 +14828,8 @@ var TscircuitAutorouter = class {
|
|
|
14822
14828
|
solverName = "AutoroutingPipelineSolver4";
|
|
14823
14829
|
} else if (autorouterVersion2 === "v5") {
|
|
14824
14830
|
solverName = "AutoroutingPipelineSolver5";
|
|
14831
|
+
} else if (autorouterVersion2 === "v6") {
|
|
14832
|
+
solverName = "AutoroutingPipelineSolver7_MultiGraph";
|
|
14825
14833
|
} else if (useLaserPrefabSolver) {
|
|
14826
14834
|
solverName = "AutoroutingPipelineSolver8";
|
|
14827
14835
|
} else if (useAutoJumperSolver) {
|
|
@@ -23482,7 +23490,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
23482
23490
|
var package_default = {
|
|
23483
23491
|
name: "@tscircuit/core",
|
|
23484
23492
|
type: "module",
|
|
23485
|
-
version: "0.0.
|
|
23493
|
+
version: "0.0.1312",
|
|
23486
23494
|
types: "dist/index.d.ts",
|
|
23487
23495
|
main: "dist/index.js",
|
|
23488
23496
|
module: "dist/index.js",
|
|
@@ -23515,7 +23523,7 @@ var package_default = {
|
|
|
23515
23523
|
"@resvg/resvg-js": "^2.6.2",
|
|
23516
23524
|
"@tscircuit/alphabet": "0.0.25",
|
|
23517
23525
|
"@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
|
|
23518
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
23526
|
+
"@tscircuit/capacity-autorouter": "^0.0.579",
|
|
23519
23527
|
"@tscircuit/checks": "0.0.137",
|
|
23520
23528
|
"@tscircuit/circuit-json-util": "^0.0.96",
|
|
23521
23529
|
"@tscircuit/common": "^0.0.20",
|
|
@@ -23529,11 +23537,11 @@ var package_default = {
|
|
|
23529
23537
|
"@tscircuit/matchpack": "",
|
|
23530
23538
|
"@tscircuit/math-utils": "^0.0.36",
|
|
23531
23539
|
"@tscircuit/miniflex": "^0.0.4",
|
|
23540
|
+
"@tscircuit/props": "^0.0.546",
|
|
23532
23541
|
"@tscircuit/ngspice-spice-engine": "^0.0.9",
|
|
23533
|
-
"@tscircuit/props": "^0.0.545",
|
|
23534
23542
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
23543
|
+
"@tscircuit/solver-utils": "^0.0.16",
|
|
23535
23544
|
"@tscircuit/schematic-trace-solver": "^0.0.65",
|
|
23536
|
-
"@tscircuit/solver-utils": "^0.0.3",
|
|
23537
23545
|
"@tscircuit/soup-util": "^0.0.41",
|
|
23538
23546
|
"@types/bun": "^1.2.16",
|
|
23539
23547
|
"@types/debug": "^4.1.12",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1313",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@resvg/resvg-js": "^2.6.2",
|
|
35
35
|
"@tscircuit/alphabet": "0.0.25",
|
|
36
36
|
"@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
|
|
37
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
37
|
+
"@tscircuit/capacity-autorouter": "^0.0.579",
|
|
38
38
|
"@tscircuit/checks": "0.0.137",
|
|
39
39
|
"@tscircuit/circuit-json-util": "^0.0.96",
|
|
40
40
|
"@tscircuit/common": "^0.0.20",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@tscircuit/matchpack": "",
|
|
49
49
|
"@tscircuit/math-utils": "^0.0.36",
|
|
50
50
|
"@tscircuit/miniflex": "^0.0.4",
|
|
51
|
+
"@tscircuit/props": "^0.0.546",
|
|
51
52
|
"@tscircuit/ngspice-spice-engine": "^0.0.9",
|
|
52
|
-
"@tscircuit/props": "^0.0.545",
|
|
53
53
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
54
|
+
"@tscircuit/solver-utils": "^0.0.16",
|
|
54
55
|
"@tscircuit/schematic-trace-solver": "^0.0.65",
|
|
55
|
-
"@tscircuit/solver-utils": "^0.0.3",
|
|
56
56
|
"@tscircuit/soup-util": "^0.0.41",
|
|
57
57
|
"@types/bun": "^1.2.16",
|
|
58
58
|
"@types/debug": "^4.1.12",
|