@tscircuit/eval 0.0.454 → 0.0.455
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/blob-url.js +1 -1
- package/dist/eval/index.d.ts +42 -12
- package/dist/lib/index.d.ts +42 -12
- package/dist/webworker/entrypoint.js +173 -173
- package/package.json +3 -3
package/dist/eval/index.d.ts
CHANGED
|
@@ -294,8 +294,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
294
294
|
type: "source_component";
|
|
295
295
|
name: string;
|
|
296
296
|
source_component_id: string;
|
|
297
|
-
ftype: "simple_crystal";
|
|
298
297
|
frequency: number;
|
|
298
|
+
ftype: "simple_crystal";
|
|
299
299
|
subcircuit_id?: string | undefined;
|
|
300
300
|
source_group_id?: string | undefined;
|
|
301
301
|
manufacturer_part_number?: string | undefined;
|
|
@@ -334,8 +334,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
334
334
|
type: "source_component";
|
|
335
335
|
name: string;
|
|
336
336
|
source_component_id: string;
|
|
337
|
-
ftype: "simple_resonator";
|
|
338
337
|
frequency: number;
|
|
338
|
+
ftype: "simple_resonator";
|
|
339
339
|
load_capacitance: number;
|
|
340
340
|
subcircuit_id?: string | undefined;
|
|
341
341
|
source_group_id?: string | undefined;
|
|
@@ -633,8 +633,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
633
633
|
type: "source_component";
|
|
634
634
|
name: string;
|
|
635
635
|
source_component_id: string;
|
|
636
|
-
ftype: "simple_resonator";
|
|
637
636
|
frequency: number;
|
|
637
|
+
ftype: "simple_resonator";
|
|
638
638
|
load_capacitance: number;
|
|
639
639
|
subcircuit_id?: string | undefined;
|
|
640
640
|
source_group_id?: string | undefined;
|
|
@@ -791,6 +791,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
791
791
|
do_not_place?: boolean | undefined;
|
|
792
792
|
subcircuit_id?: string | undefined;
|
|
793
793
|
pcb_group_id?: string | undefined;
|
|
794
|
+
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
795
|
+
positioned_relative_to_pcb_group_id?: string | undefined;
|
|
794
796
|
} | {
|
|
795
797
|
x: number;
|
|
796
798
|
y: number;
|
|
@@ -1063,6 +1065,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1063
1065
|
pcb_group_id?: string | undefined;
|
|
1064
1066
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1065
1067
|
pcb_trace_id?: string | undefined;
|
|
1068
|
+
net_is_assignable?: boolean | undefined;
|
|
1069
|
+
net_assigned?: boolean | undefined;
|
|
1066
1070
|
} | {
|
|
1067
1071
|
x: number;
|
|
1068
1072
|
y: number;
|
|
@@ -1228,8 +1232,6 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1228
1232
|
pcb_smtpad_id?: string | undefined;
|
|
1229
1233
|
} | {
|
|
1230
1234
|
type: "pcb_board";
|
|
1231
|
-
width: number;
|
|
1232
|
-
height: number;
|
|
1233
1235
|
center: {
|
|
1234
1236
|
x: number;
|
|
1235
1237
|
y: number;
|
|
@@ -1238,6 +1240,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1238
1240
|
thickness: number;
|
|
1239
1241
|
num_layers: number;
|
|
1240
1242
|
material: "fr4" | "fr1";
|
|
1243
|
+
width?: number | undefined;
|
|
1244
|
+
height?: number | undefined;
|
|
1241
1245
|
subcircuit_id?: string | undefined;
|
|
1242
1246
|
pcb_panel_id?: string | undefined;
|
|
1243
1247
|
is_subcircuit?: boolean | undefined;
|
|
@@ -1275,6 +1279,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1275
1279
|
y: number;
|
|
1276
1280
|
} | undefined;
|
|
1277
1281
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
1282
|
+
child_layout_mode?: "packed" | "none" | undefined;
|
|
1278
1283
|
layout_mode?: string | undefined;
|
|
1279
1284
|
autorouter_configuration?: {
|
|
1280
1285
|
trace_clearance: number;
|
|
@@ -1733,6 +1738,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1733
1738
|
};
|
|
1734
1739
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1735
1740
|
shape: "rect";
|
|
1741
|
+
covered_with_solder_mask: boolean;
|
|
1736
1742
|
pcb_copper_pour_id: string;
|
|
1737
1743
|
rotation?: number | undefined;
|
|
1738
1744
|
subcircuit_id?: string | undefined;
|
|
@@ -1742,6 +1748,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1742
1748
|
type: "pcb_copper_pour";
|
|
1743
1749
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1744
1750
|
shape: "brep";
|
|
1751
|
+
covered_with_solder_mask: boolean;
|
|
1745
1752
|
pcb_copper_pour_id: string;
|
|
1746
1753
|
brep_shape: {
|
|
1747
1754
|
outer_ring: {
|
|
@@ -1770,6 +1777,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1770
1777
|
x: number;
|
|
1771
1778
|
y: number;
|
|
1772
1779
|
}[];
|
|
1780
|
+
covered_with_solder_mask: boolean;
|
|
1773
1781
|
pcb_copper_pour_id: string;
|
|
1774
1782
|
subcircuit_id?: string | undefined;
|
|
1775
1783
|
pcb_group_id?: string | undefined;
|
|
@@ -2216,11 +2224,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2216
2224
|
simulation_voltage_source_id: string;
|
|
2217
2225
|
is_dc_source: false;
|
|
2218
2226
|
voltage?: number | undefined;
|
|
2219
|
-
frequency?: number | undefined;
|
|
2220
2227
|
terminal1_source_port_id?: string | undefined;
|
|
2221
2228
|
terminal2_source_port_id?: string | undefined;
|
|
2222
2229
|
terminal1_source_net_id?: string | undefined;
|
|
2223
2230
|
terminal2_source_net_id?: string | undefined;
|
|
2231
|
+
frequency?: number | undefined;
|
|
2224
2232
|
peak_to_peak_voltage?: number | undefined;
|
|
2225
2233
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
2226
2234
|
phase?: number | undefined;
|
|
@@ -2261,6 +2269,13 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2261
2269
|
subcircuit_id?: string | undefined;
|
|
2262
2270
|
source_port_id?: string | undefined;
|
|
2263
2271
|
source_net_id?: string | undefined;
|
|
2272
|
+
} | {
|
|
2273
|
+
message: string;
|
|
2274
|
+
type: "simulation_unknown_experiment_error";
|
|
2275
|
+
error_type: "simulation_unknown_experiment_error";
|
|
2276
|
+
simulation_unknown_experiment_error_id: string;
|
|
2277
|
+
subcircuit_id?: string | undefined;
|
|
2278
|
+
simulation_experiment_id?: string | undefined;
|
|
2264
2279
|
})[]>;
|
|
2265
2280
|
|
|
2266
2281
|
declare const runTscircuitModule: (module: string, opts?: {
|
|
@@ -2435,8 +2450,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2435
2450
|
type: "source_component";
|
|
2436
2451
|
name: string;
|
|
2437
2452
|
source_component_id: string;
|
|
2438
|
-
ftype: "simple_crystal";
|
|
2439
2453
|
frequency: number;
|
|
2454
|
+
ftype: "simple_crystal";
|
|
2440
2455
|
subcircuit_id?: string | undefined;
|
|
2441
2456
|
source_group_id?: string | undefined;
|
|
2442
2457
|
manufacturer_part_number?: string | undefined;
|
|
@@ -2475,8 +2490,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2475
2490
|
type: "source_component";
|
|
2476
2491
|
name: string;
|
|
2477
2492
|
source_component_id: string;
|
|
2478
|
-
ftype: "simple_resonator";
|
|
2479
2493
|
frequency: number;
|
|
2494
|
+
ftype: "simple_resonator";
|
|
2480
2495
|
load_capacitance: number;
|
|
2481
2496
|
subcircuit_id?: string | undefined;
|
|
2482
2497
|
source_group_id?: string | undefined;
|
|
@@ -2774,8 +2789,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2774
2789
|
type: "source_component";
|
|
2775
2790
|
name: string;
|
|
2776
2791
|
source_component_id: string;
|
|
2777
|
-
ftype: "simple_resonator";
|
|
2778
2792
|
frequency: number;
|
|
2793
|
+
ftype: "simple_resonator";
|
|
2779
2794
|
load_capacitance: number;
|
|
2780
2795
|
subcircuit_id?: string | undefined;
|
|
2781
2796
|
source_group_id?: string | undefined;
|
|
@@ -2932,6 +2947,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2932
2947
|
do_not_place?: boolean | undefined;
|
|
2933
2948
|
subcircuit_id?: string | undefined;
|
|
2934
2949
|
pcb_group_id?: string | undefined;
|
|
2950
|
+
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
2951
|
+
positioned_relative_to_pcb_group_id?: string | undefined;
|
|
2935
2952
|
} | {
|
|
2936
2953
|
x: number;
|
|
2937
2954
|
y: number;
|
|
@@ -3204,6 +3221,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3204
3221
|
pcb_group_id?: string | undefined;
|
|
3205
3222
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3206
3223
|
pcb_trace_id?: string | undefined;
|
|
3224
|
+
net_is_assignable?: boolean | undefined;
|
|
3225
|
+
net_assigned?: boolean | undefined;
|
|
3207
3226
|
} | {
|
|
3208
3227
|
x: number;
|
|
3209
3228
|
y: number;
|
|
@@ -3369,8 +3388,6 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3369
3388
|
pcb_smtpad_id?: string | undefined;
|
|
3370
3389
|
} | {
|
|
3371
3390
|
type: "pcb_board";
|
|
3372
|
-
width: number;
|
|
3373
|
-
height: number;
|
|
3374
3391
|
center: {
|
|
3375
3392
|
x: number;
|
|
3376
3393
|
y: number;
|
|
@@ -3379,6 +3396,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3379
3396
|
thickness: number;
|
|
3380
3397
|
num_layers: number;
|
|
3381
3398
|
material: "fr4" | "fr1";
|
|
3399
|
+
width?: number | undefined;
|
|
3400
|
+
height?: number | undefined;
|
|
3382
3401
|
subcircuit_id?: string | undefined;
|
|
3383
3402
|
pcb_panel_id?: string | undefined;
|
|
3384
3403
|
is_subcircuit?: boolean | undefined;
|
|
@@ -3416,6 +3435,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3416
3435
|
y: number;
|
|
3417
3436
|
} | undefined;
|
|
3418
3437
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
3438
|
+
child_layout_mode?: "packed" | "none" | undefined;
|
|
3419
3439
|
layout_mode?: string | undefined;
|
|
3420
3440
|
autorouter_configuration?: {
|
|
3421
3441
|
trace_clearance: number;
|
|
@@ -3874,6 +3894,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3874
3894
|
};
|
|
3875
3895
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3876
3896
|
shape: "rect";
|
|
3897
|
+
covered_with_solder_mask: boolean;
|
|
3877
3898
|
pcb_copper_pour_id: string;
|
|
3878
3899
|
rotation?: number | undefined;
|
|
3879
3900
|
subcircuit_id?: string | undefined;
|
|
@@ -3883,6 +3904,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3883
3904
|
type: "pcb_copper_pour";
|
|
3884
3905
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3885
3906
|
shape: "brep";
|
|
3907
|
+
covered_with_solder_mask: boolean;
|
|
3886
3908
|
pcb_copper_pour_id: string;
|
|
3887
3909
|
brep_shape: {
|
|
3888
3910
|
outer_ring: {
|
|
@@ -3911,6 +3933,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3911
3933
|
x: number;
|
|
3912
3934
|
y: number;
|
|
3913
3935
|
}[];
|
|
3936
|
+
covered_with_solder_mask: boolean;
|
|
3914
3937
|
pcb_copper_pour_id: string;
|
|
3915
3938
|
subcircuit_id?: string | undefined;
|
|
3916
3939
|
pcb_group_id?: string | undefined;
|
|
@@ -4357,11 +4380,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4357
4380
|
simulation_voltage_source_id: string;
|
|
4358
4381
|
is_dc_source: false;
|
|
4359
4382
|
voltage?: number | undefined;
|
|
4360
|
-
frequency?: number | undefined;
|
|
4361
4383
|
terminal1_source_port_id?: string | undefined;
|
|
4362
4384
|
terminal2_source_port_id?: string | undefined;
|
|
4363
4385
|
terminal1_source_net_id?: string | undefined;
|
|
4364
4386
|
terminal2_source_net_id?: string | undefined;
|
|
4387
|
+
frequency?: number | undefined;
|
|
4365
4388
|
peak_to_peak_voltage?: number | undefined;
|
|
4366
4389
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
4367
4390
|
phase?: number | undefined;
|
|
@@ -4402,6 +4425,13 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4402
4425
|
subcircuit_id?: string | undefined;
|
|
4403
4426
|
source_port_id?: string | undefined;
|
|
4404
4427
|
source_net_id?: string | undefined;
|
|
4428
|
+
} | {
|
|
4429
|
+
message: string;
|
|
4430
|
+
type: "simulation_unknown_experiment_error";
|
|
4431
|
+
error_type: "simulation_unknown_experiment_error";
|
|
4432
|
+
simulation_unknown_experiment_error_id: string;
|
|
4433
|
+
subcircuit_id?: string | undefined;
|
|
4434
|
+
simulation_experiment_id?: string | undefined;
|
|
4405
4435
|
})[]>;
|
|
4406
4436
|
|
|
4407
4437
|
declare const STATIC_ASSET_EXTENSIONS: string[];
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -310,8 +310,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
310
310
|
type: "source_component";
|
|
311
311
|
name: string;
|
|
312
312
|
source_component_id: string;
|
|
313
|
-
ftype: "simple_crystal";
|
|
314
313
|
frequency: number;
|
|
314
|
+
ftype: "simple_crystal";
|
|
315
315
|
subcircuit_id?: string | undefined;
|
|
316
316
|
source_group_id?: string | undefined;
|
|
317
317
|
manufacturer_part_number?: string | undefined;
|
|
@@ -350,8 +350,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
350
350
|
type: "source_component";
|
|
351
351
|
name: string;
|
|
352
352
|
source_component_id: string;
|
|
353
|
-
ftype: "simple_resonator";
|
|
354
353
|
frequency: number;
|
|
354
|
+
ftype: "simple_resonator";
|
|
355
355
|
load_capacitance: number;
|
|
356
356
|
subcircuit_id?: string | undefined;
|
|
357
357
|
source_group_id?: string | undefined;
|
|
@@ -649,8 +649,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
649
649
|
type: "source_component";
|
|
650
650
|
name: string;
|
|
651
651
|
source_component_id: string;
|
|
652
|
-
ftype: "simple_resonator";
|
|
653
652
|
frequency: number;
|
|
653
|
+
ftype: "simple_resonator";
|
|
654
654
|
load_capacitance: number;
|
|
655
655
|
subcircuit_id?: string | undefined;
|
|
656
656
|
source_group_id?: string | undefined;
|
|
@@ -807,6 +807,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
807
807
|
do_not_place?: boolean | undefined;
|
|
808
808
|
subcircuit_id?: string | undefined;
|
|
809
809
|
pcb_group_id?: string | undefined;
|
|
810
|
+
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
811
|
+
positioned_relative_to_pcb_group_id?: string | undefined;
|
|
810
812
|
} | {
|
|
811
813
|
x: number;
|
|
812
814
|
y: number;
|
|
@@ -1079,6 +1081,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1079
1081
|
pcb_group_id?: string | undefined;
|
|
1080
1082
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1081
1083
|
pcb_trace_id?: string | undefined;
|
|
1084
|
+
net_is_assignable?: boolean | undefined;
|
|
1085
|
+
net_assigned?: boolean | undefined;
|
|
1082
1086
|
} | {
|
|
1083
1087
|
x: number;
|
|
1084
1088
|
y: number;
|
|
@@ -1244,8 +1248,6 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1244
1248
|
pcb_smtpad_id?: string | undefined;
|
|
1245
1249
|
} | {
|
|
1246
1250
|
type: "pcb_board";
|
|
1247
|
-
width: number;
|
|
1248
|
-
height: number;
|
|
1249
1251
|
center: {
|
|
1250
1252
|
x: number;
|
|
1251
1253
|
y: number;
|
|
@@ -1254,6 +1256,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1254
1256
|
thickness: number;
|
|
1255
1257
|
num_layers: number;
|
|
1256
1258
|
material: "fr4" | "fr1";
|
|
1259
|
+
width?: number | undefined;
|
|
1260
|
+
height?: number | undefined;
|
|
1257
1261
|
subcircuit_id?: string | undefined;
|
|
1258
1262
|
pcb_panel_id?: string | undefined;
|
|
1259
1263
|
is_subcircuit?: boolean | undefined;
|
|
@@ -1291,6 +1295,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1291
1295
|
y: number;
|
|
1292
1296
|
} | undefined;
|
|
1293
1297
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
1298
|
+
child_layout_mode?: "packed" | "none" | undefined;
|
|
1294
1299
|
layout_mode?: string | undefined;
|
|
1295
1300
|
autorouter_configuration?: {
|
|
1296
1301
|
trace_clearance: number;
|
|
@@ -1749,6 +1754,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1749
1754
|
};
|
|
1750
1755
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1751
1756
|
shape: "rect";
|
|
1757
|
+
covered_with_solder_mask: boolean;
|
|
1752
1758
|
pcb_copper_pour_id: string;
|
|
1753
1759
|
rotation?: number | undefined;
|
|
1754
1760
|
subcircuit_id?: string | undefined;
|
|
@@ -1758,6 +1764,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1758
1764
|
type: "pcb_copper_pour";
|
|
1759
1765
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1760
1766
|
shape: "brep";
|
|
1767
|
+
covered_with_solder_mask: boolean;
|
|
1761
1768
|
pcb_copper_pour_id: string;
|
|
1762
1769
|
brep_shape: {
|
|
1763
1770
|
outer_ring: {
|
|
@@ -1786,6 +1793,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1786
1793
|
x: number;
|
|
1787
1794
|
y: number;
|
|
1788
1795
|
}[];
|
|
1796
|
+
covered_with_solder_mask: boolean;
|
|
1789
1797
|
pcb_copper_pour_id: string;
|
|
1790
1798
|
subcircuit_id?: string | undefined;
|
|
1791
1799
|
pcb_group_id?: string | undefined;
|
|
@@ -2232,11 +2240,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2232
2240
|
simulation_voltage_source_id: string;
|
|
2233
2241
|
is_dc_source: false;
|
|
2234
2242
|
voltage?: number | undefined;
|
|
2235
|
-
frequency?: number | undefined;
|
|
2236
2243
|
terminal1_source_port_id?: string | undefined;
|
|
2237
2244
|
terminal2_source_port_id?: string | undefined;
|
|
2238
2245
|
terminal1_source_net_id?: string | undefined;
|
|
2239
2246
|
terminal2_source_net_id?: string | undefined;
|
|
2247
|
+
frequency?: number | undefined;
|
|
2240
2248
|
peak_to_peak_voltage?: number | undefined;
|
|
2241
2249
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
2242
2250
|
phase?: number | undefined;
|
|
@@ -2277,6 +2285,13 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2277
2285
|
subcircuit_id?: string | undefined;
|
|
2278
2286
|
source_port_id?: string | undefined;
|
|
2279
2287
|
source_net_id?: string | undefined;
|
|
2288
|
+
} | {
|
|
2289
|
+
message: string;
|
|
2290
|
+
type: "simulation_unknown_experiment_error";
|
|
2291
|
+
error_type: "simulation_unknown_experiment_error";
|
|
2292
|
+
simulation_unknown_experiment_error_id: string;
|
|
2293
|
+
subcircuit_id?: string | undefined;
|
|
2294
|
+
simulation_experiment_id?: string | undefined;
|
|
2280
2295
|
})[]>;
|
|
2281
2296
|
|
|
2282
2297
|
declare const runTscircuitModule: (module: string, opts?: {
|
|
@@ -2451,8 +2466,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2451
2466
|
type: "source_component";
|
|
2452
2467
|
name: string;
|
|
2453
2468
|
source_component_id: string;
|
|
2454
|
-
ftype: "simple_crystal";
|
|
2455
2469
|
frequency: number;
|
|
2470
|
+
ftype: "simple_crystal";
|
|
2456
2471
|
subcircuit_id?: string | undefined;
|
|
2457
2472
|
source_group_id?: string | undefined;
|
|
2458
2473
|
manufacturer_part_number?: string | undefined;
|
|
@@ -2491,8 +2506,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2491
2506
|
type: "source_component";
|
|
2492
2507
|
name: string;
|
|
2493
2508
|
source_component_id: string;
|
|
2494
|
-
ftype: "simple_resonator";
|
|
2495
2509
|
frequency: number;
|
|
2510
|
+
ftype: "simple_resonator";
|
|
2496
2511
|
load_capacitance: number;
|
|
2497
2512
|
subcircuit_id?: string | undefined;
|
|
2498
2513
|
source_group_id?: string | undefined;
|
|
@@ -2790,8 +2805,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2790
2805
|
type: "source_component";
|
|
2791
2806
|
name: string;
|
|
2792
2807
|
source_component_id: string;
|
|
2793
|
-
ftype: "simple_resonator";
|
|
2794
2808
|
frequency: number;
|
|
2809
|
+
ftype: "simple_resonator";
|
|
2795
2810
|
load_capacitance: number;
|
|
2796
2811
|
subcircuit_id?: string | undefined;
|
|
2797
2812
|
source_group_id?: string | undefined;
|
|
@@ -2948,6 +2963,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2948
2963
|
do_not_place?: boolean | undefined;
|
|
2949
2964
|
subcircuit_id?: string | undefined;
|
|
2950
2965
|
pcb_group_id?: string | undefined;
|
|
2966
|
+
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
2967
|
+
positioned_relative_to_pcb_group_id?: string | undefined;
|
|
2951
2968
|
} | {
|
|
2952
2969
|
x: number;
|
|
2953
2970
|
y: number;
|
|
@@ -3220,6 +3237,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3220
3237
|
pcb_group_id?: string | undefined;
|
|
3221
3238
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3222
3239
|
pcb_trace_id?: string | undefined;
|
|
3240
|
+
net_is_assignable?: boolean | undefined;
|
|
3241
|
+
net_assigned?: boolean | undefined;
|
|
3223
3242
|
} | {
|
|
3224
3243
|
x: number;
|
|
3225
3244
|
y: number;
|
|
@@ -3385,8 +3404,6 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3385
3404
|
pcb_smtpad_id?: string | undefined;
|
|
3386
3405
|
} | {
|
|
3387
3406
|
type: "pcb_board";
|
|
3388
|
-
width: number;
|
|
3389
|
-
height: number;
|
|
3390
3407
|
center: {
|
|
3391
3408
|
x: number;
|
|
3392
3409
|
y: number;
|
|
@@ -3395,6 +3412,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3395
3412
|
thickness: number;
|
|
3396
3413
|
num_layers: number;
|
|
3397
3414
|
material: "fr4" | "fr1";
|
|
3415
|
+
width?: number | undefined;
|
|
3416
|
+
height?: number | undefined;
|
|
3398
3417
|
subcircuit_id?: string | undefined;
|
|
3399
3418
|
pcb_panel_id?: string | undefined;
|
|
3400
3419
|
is_subcircuit?: boolean | undefined;
|
|
@@ -3432,6 +3451,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3432
3451
|
y: number;
|
|
3433
3452
|
} | undefined;
|
|
3434
3453
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
3454
|
+
child_layout_mode?: "packed" | "none" | undefined;
|
|
3435
3455
|
layout_mode?: string | undefined;
|
|
3436
3456
|
autorouter_configuration?: {
|
|
3437
3457
|
trace_clearance: number;
|
|
@@ -3890,6 +3910,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3890
3910
|
};
|
|
3891
3911
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3892
3912
|
shape: "rect";
|
|
3913
|
+
covered_with_solder_mask: boolean;
|
|
3893
3914
|
pcb_copper_pour_id: string;
|
|
3894
3915
|
rotation?: number | undefined;
|
|
3895
3916
|
subcircuit_id?: string | undefined;
|
|
@@ -3899,6 +3920,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3899
3920
|
type: "pcb_copper_pour";
|
|
3900
3921
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3901
3922
|
shape: "brep";
|
|
3923
|
+
covered_with_solder_mask: boolean;
|
|
3902
3924
|
pcb_copper_pour_id: string;
|
|
3903
3925
|
brep_shape: {
|
|
3904
3926
|
outer_ring: {
|
|
@@ -3927,6 +3949,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3927
3949
|
x: number;
|
|
3928
3950
|
y: number;
|
|
3929
3951
|
}[];
|
|
3952
|
+
covered_with_solder_mask: boolean;
|
|
3930
3953
|
pcb_copper_pour_id: string;
|
|
3931
3954
|
subcircuit_id?: string | undefined;
|
|
3932
3955
|
pcb_group_id?: string | undefined;
|
|
@@ -4373,11 +4396,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4373
4396
|
simulation_voltage_source_id: string;
|
|
4374
4397
|
is_dc_source: false;
|
|
4375
4398
|
voltage?: number | undefined;
|
|
4376
|
-
frequency?: number | undefined;
|
|
4377
4399
|
terminal1_source_port_id?: string | undefined;
|
|
4378
4400
|
terminal2_source_port_id?: string | undefined;
|
|
4379
4401
|
terminal1_source_net_id?: string | undefined;
|
|
4380
4402
|
terminal2_source_net_id?: string | undefined;
|
|
4403
|
+
frequency?: number | undefined;
|
|
4381
4404
|
peak_to_peak_voltage?: number | undefined;
|
|
4382
4405
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
4383
4406
|
phase?: number | undefined;
|
|
@@ -4418,6 +4441,13 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4418
4441
|
subcircuit_id?: string | undefined;
|
|
4419
4442
|
source_port_id?: string | undefined;
|
|
4420
4443
|
source_net_id?: string | undefined;
|
|
4444
|
+
} | {
|
|
4445
|
+
message: string;
|
|
4446
|
+
type: "simulation_unknown_experiment_error";
|
|
4447
|
+
error_type: "simulation_unknown_experiment_error";
|
|
4448
|
+
simulation_unknown_experiment_error_id: string;
|
|
4449
|
+
subcircuit_id?: string | undefined;
|
|
4450
|
+
simulation_experiment_id?: string | undefined;
|
|
4421
4451
|
})[]>;
|
|
4422
4452
|
|
|
4423
4453
|
declare const STATIC_ASSET_EXTENSIONS: string[];
|