@tscircuit/eval 0.0.318 → 0.0.320
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 +24 -0
- package/dist/eval/index.js +9 -1
- package/dist/lib/index.d.ts +24 -0
- package/dist/lib/index.js +9 -1
- package/dist/webworker/entrypoint.js +355 -355
- package/package.json +4 -4
- package/tests/features/import-glb-file.test.tsx +54 -0
- package/webworker/import-local-file.ts +8 -0
package/dist/lib/index.d.ts
CHANGED
|
@@ -852,6 +852,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
852
852
|
pcb_group_id?: string | undefined;
|
|
853
853
|
port_hints?: string[] | undefined;
|
|
854
854
|
pcb_port_id?: string | undefined;
|
|
855
|
+
rect_border_radius?: number | undefined;
|
|
855
856
|
} | {
|
|
856
857
|
x: number;
|
|
857
858
|
y: number;
|
|
@@ -870,6 +871,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
870
871
|
pcb_group_id?: string | undefined;
|
|
871
872
|
port_hints?: string[] | undefined;
|
|
872
873
|
pcb_port_id?: string | undefined;
|
|
874
|
+
rect_border_radius?: number | undefined;
|
|
873
875
|
} | {
|
|
874
876
|
x: number;
|
|
875
877
|
y: number;
|
|
@@ -890,6 +892,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
890
892
|
pcb_group_id?: string | undefined;
|
|
891
893
|
port_hints?: string[] | undefined;
|
|
892
894
|
pcb_port_id?: string | undefined;
|
|
895
|
+
rect_border_radius?: number | undefined;
|
|
893
896
|
} | {
|
|
894
897
|
type: "pcb_keepout";
|
|
895
898
|
width: number;
|
|
@@ -1010,6 +1013,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1010
1013
|
pcb_group_id?: string | undefined;
|
|
1011
1014
|
port_hints?: string[] | undefined;
|
|
1012
1015
|
pcb_port_id?: string | undefined;
|
|
1016
|
+
rect_border_radius?: number | undefined;
|
|
1013
1017
|
} | {
|
|
1014
1018
|
x: number;
|
|
1015
1019
|
y: number;
|
|
@@ -1025,6 +1029,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1025
1029
|
pcb_group_id?: string | undefined;
|
|
1026
1030
|
port_hints?: string[] | undefined;
|
|
1027
1031
|
pcb_port_id?: string | undefined;
|
|
1032
|
+
rect_border_radius?: number | undefined;
|
|
1028
1033
|
} | {
|
|
1029
1034
|
x: number;
|
|
1030
1035
|
y: number;
|
|
@@ -1227,6 +1232,13 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1227
1232
|
subcircuit_id?: string | undefined;
|
|
1228
1233
|
pcb_group_id?: string | undefined;
|
|
1229
1234
|
ccw_rotation?: number | undefined;
|
|
1235
|
+
is_knockout?: boolean | undefined;
|
|
1236
|
+
knockout_padding?: {
|
|
1237
|
+
top: number;
|
|
1238
|
+
bottom: number;
|
|
1239
|
+
left: number;
|
|
1240
|
+
right: number;
|
|
1241
|
+
} | undefined;
|
|
1230
1242
|
is_mirrored?: boolean | undefined;
|
|
1231
1243
|
} | {
|
|
1232
1244
|
type: "pcb_silkscreen_rect";
|
|
@@ -2575,6 +2587,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2575
2587
|
pcb_group_id?: string | undefined;
|
|
2576
2588
|
port_hints?: string[] | undefined;
|
|
2577
2589
|
pcb_port_id?: string | undefined;
|
|
2590
|
+
rect_border_radius?: number | undefined;
|
|
2578
2591
|
} | {
|
|
2579
2592
|
x: number;
|
|
2580
2593
|
y: number;
|
|
@@ -2593,6 +2606,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2593
2606
|
pcb_group_id?: string | undefined;
|
|
2594
2607
|
port_hints?: string[] | undefined;
|
|
2595
2608
|
pcb_port_id?: string | undefined;
|
|
2609
|
+
rect_border_radius?: number | undefined;
|
|
2596
2610
|
} | {
|
|
2597
2611
|
x: number;
|
|
2598
2612
|
y: number;
|
|
@@ -2613,6 +2627,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2613
2627
|
pcb_group_id?: string | undefined;
|
|
2614
2628
|
port_hints?: string[] | undefined;
|
|
2615
2629
|
pcb_port_id?: string | undefined;
|
|
2630
|
+
rect_border_radius?: number | undefined;
|
|
2616
2631
|
} | {
|
|
2617
2632
|
type: "pcb_keepout";
|
|
2618
2633
|
width: number;
|
|
@@ -2733,6 +2748,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2733
2748
|
pcb_group_id?: string | undefined;
|
|
2734
2749
|
port_hints?: string[] | undefined;
|
|
2735
2750
|
pcb_port_id?: string | undefined;
|
|
2751
|
+
rect_border_radius?: number | undefined;
|
|
2736
2752
|
} | {
|
|
2737
2753
|
x: number;
|
|
2738
2754
|
y: number;
|
|
@@ -2748,6 +2764,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2748
2764
|
pcb_group_id?: string | undefined;
|
|
2749
2765
|
port_hints?: string[] | undefined;
|
|
2750
2766
|
pcb_port_id?: string | undefined;
|
|
2767
|
+
rect_border_radius?: number | undefined;
|
|
2751
2768
|
} | {
|
|
2752
2769
|
x: number;
|
|
2753
2770
|
y: number;
|
|
@@ -2950,6 +2967,13 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2950
2967
|
subcircuit_id?: string | undefined;
|
|
2951
2968
|
pcb_group_id?: string | undefined;
|
|
2952
2969
|
ccw_rotation?: number | undefined;
|
|
2970
|
+
is_knockout?: boolean | undefined;
|
|
2971
|
+
knockout_padding?: {
|
|
2972
|
+
top: number;
|
|
2973
|
+
bottom: number;
|
|
2974
|
+
left: number;
|
|
2975
|
+
right: number;
|
|
2976
|
+
} | undefined;
|
|
2953
2977
|
is_mirrored?: boolean | undefined;
|
|
2954
2978
|
} | {
|
|
2955
2979
|
type: "pcb_silkscreen_rect";
|