circuit-json 0.0.501 → 0.0.503

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 CHANGED
@@ -3056,7 +3056,7 @@ interface PcbThermalSpoke {
3056
3056
 
3057
3057
  A `route_type: "teardrop"` entry represents an explicit straight segment with
3058
3058
  `start_width`, `end_width`, and `width_interpolation_mode` (`linear` or
3059
- `smoothstep`). See the [geometry and route traversal contract](docs/pcb-trace-teardrops.md).
3059
+ `quadratic`). See the [geometry and route traversal contract](docs/pcb-trace-teardrops.md).
3060
3060
 
3061
3061
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_trace.ts)
3062
3062
 
@@ -3094,8 +3094,8 @@ interface PcbTraceRoutePointTeardrop {
3094
3094
  end: Point
3095
3095
  start_width: Distance
3096
3096
  end_width: Distance
3097
- /** linear: f(t)=t; smoothstep: f(t)=3t²−2t³, with t along the centerline. */
3098
- width_interpolation_mode: "linear" | "smoothstep"
3097
+ /** Quadratic is concave toward the narrow end; see docs/pcb-trace-teardrops.md for profiles. */
3098
+ width_interpolation_mode: "linear" | "quadratic"
3099
3099
  layer: LayerRef
3100
3100
  copper_pour_id?: string
3101
3101
  is_inside_copper_pour?: boolean
package/dist/index.d.mts CHANGED
@@ -7414,7 +7414,7 @@ declare const pcb_trace_route_point_teardrop: z.ZodEffects<z.ZodObject<{
7414
7414
  }>;
7415
7415
  start_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7416
7416
  end_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7417
- width_interpolation_mode: z.ZodEnum<["linear", "smoothstep"]>;
7417
+ width_interpolation_mode: z.ZodEnum<["linear", "quadratic"]>;
7418
7418
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
7419
7419
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
7420
7420
  }, "strip", z.ZodTypeAny, {
@@ -7441,7 +7441,7 @@ declare const pcb_trace_route_point_teardrop: z.ZodEffects<z.ZodObject<{
7441
7441
  route_type: "teardrop";
7442
7442
  start_width: number;
7443
7443
  end_width: number;
7444
- width_interpolation_mode: "linear" | "smoothstep";
7444
+ width_interpolation_mode: "linear" | "quadratic";
7445
7445
  copper_pour_id?: string | undefined;
7446
7446
  is_inside_copper_pour?: boolean | undefined;
7447
7447
  start_pcb_port_id?: string | undefined;
@@ -7461,7 +7461,7 @@ declare const pcb_trace_route_point_teardrop: z.ZodEffects<z.ZodObject<{
7461
7461
  route_type: "teardrop";
7462
7462
  start_width: string | number;
7463
7463
  end_width: string | number;
7464
- width_interpolation_mode: "linear" | "smoothstep";
7464
+ width_interpolation_mode: "linear" | "quadratic";
7465
7465
  copper_pour_id?: string | undefined;
7466
7466
  is_inside_copper_pour?: boolean | undefined;
7467
7467
  start_pcb_port_id?: string | undefined;
@@ -7479,7 +7479,7 @@ declare const pcb_trace_route_point_teardrop: z.ZodEffects<z.ZodObject<{
7479
7479
  route_type: "teardrop";
7480
7480
  start_width: number;
7481
7481
  end_width: number;
7482
- width_interpolation_mode: "linear" | "smoothstep";
7482
+ width_interpolation_mode: "linear" | "quadratic";
7483
7483
  copper_pour_id?: string | undefined;
7484
7484
  is_inside_copper_pour?: boolean | undefined;
7485
7485
  start_pcb_port_id?: string | undefined;
@@ -7499,7 +7499,7 @@ declare const pcb_trace_route_point_teardrop: z.ZodEffects<z.ZodObject<{
7499
7499
  route_type: "teardrop";
7500
7500
  start_width: string | number;
7501
7501
  end_width: string | number;
7502
- width_interpolation_mode: "linear" | "smoothstep";
7502
+ width_interpolation_mode: "linear" | "quadratic";
7503
7503
  copper_pour_id?: string | undefined;
7504
7504
  is_inside_copper_pour?: boolean | undefined;
7505
7505
  start_pcb_port_id?: string | undefined;
@@ -7702,7 +7702,7 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
7702
7702
  }>;
7703
7703
  start_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7704
7704
  end_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7705
- width_interpolation_mode: z.ZodEnum<["linear", "smoothstep"]>;
7705
+ width_interpolation_mode: z.ZodEnum<["linear", "quadratic"]>;
7706
7706
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
7707
7707
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
7708
7708
  }, "strip", z.ZodTypeAny, {
@@ -7729,7 +7729,7 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
7729
7729
  route_type: "teardrop";
7730
7730
  start_width: number;
7731
7731
  end_width: number;
7732
- width_interpolation_mode: "linear" | "smoothstep";
7732
+ width_interpolation_mode: "linear" | "quadratic";
7733
7733
  copper_pour_id?: string | undefined;
7734
7734
  is_inside_copper_pour?: boolean | undefined;
7735
7735
  start_pcb_port_id?: string | undefined;
@@ -7749,7 +7749,7 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
7749
7749
  route_type: "teardrop";
7750
7750
  start_width: string | number;
7751
7751
  end_width: string | number;
7752
- width_interpolation_mode: "linear" | "smoothstep";
7752
+ width_interpolation_mode: "linear" | "quadratic";
7753
7753
  copper_pour_id?: string | undefined;
7754
7754
  is_inside_copper_pour?: boolean | undefined;
7755
7755
  start_pcb_port_id?: string | undefined;
@@ -7767,7 +7767,7 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
7767
7767
  route_type: "teardrop";
7768
7768
  start_width: number;
7769
7769
  end_width: number;
7770
- width_interpolation_mode: "linear" | "smoothstep";
7770
+ width_interpolation_mode: "linear" | "quadratic";
7771
7771
  copper_pour_id?: string | undefined;
7772
7772
  is_inside_copper_pour?: boolean | undefined;
7773
7773
  start_pcb_port_id?: string | undefined;
@@ -7787,7 +7787,7 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
7787
7787
  route_type: "teardrop";
7788
7788
  start_width: string | number;
7789
7789
  end_width: string | number;
7790
- width_interpolation_mode: "linear" | "smoothstep";
7790
+ width_interpolation_mode: "linear" | "quadratic";
7791
7791
  copper_pour_id?: string | undefined;
7792
7792
  is_inside_copper_pour?: boolean | undefined;
7793
7793
  start_pcb_port_id?: string | undefined;
@@ -7804,6 +7804,7 @@ declare const pcb_trace: z.ZodObject<{
7804
7804
  route_order_index: z.ZodOptional<z.ZodNumber>;
7805
7805
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
7806
7806
  trace_length: z.ZodOptional<z.ZodNumber>;
7807
+ is_antenna_trace: z.ZodOptional<z.ZodBoolean>;
7807
7808
  highlight_color: z.ZodOptional<z.ZodString>;
7808
7809
  route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
7809
7810
  route_type: z.ZodLiteral<"wire">;
@@ -8002,7 +8003,7 @@ declare const pcb_trace: z.ZodObject<{
8002
8003
  }>;
8003
8004
  start_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
8004
8005
  end_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
8005
- width_interpolation_mode: z.ZodEnum<["linear", "smoothstep"]>;
8006
+ width_interpolation_mode: z.ZodEnum<["linear", "quadratic"]>;
8006
8007
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
8007
8008
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
8008
8009
  }, "strip", z.ZodTypeAny, {
@@ -8029,7 +8030,7 @@ declare const pcb_trace: z.ZodObject<{
8029
8030
  route_type: "teardrop";
8030
8031
  start_width: number;
8031
8032
  end_width: number;
8032
- width_interpolation_mode: "linear" | "smoothstep";
8033
+ width_interpolation_mode: "linear" | "quadratic";
8033
8034
  copper_pour_id?: string | undefined;
8034
8035
  is_inside_copper_pour?: boolean | undefined;
8035
8036
  start_pcb_port_id?: string | undefined;
@@ -8049,7 +8050,7 @@ declare const pcb_trace: z.ZodObject<{
8049
8050
  route_type: "teardrop";
8050
8051
  start_width: string | number;
8051
8052
  end_width: string | number;
8052
- width_interpolation_mode: "linear" | "smoothstep";
8053
+ width_interpolation_mode: "linear" | "quadratic";
8053
8054
  copper_pour_id?: string | undefined;
8054
8055
  is_inside_copper_pour?: boolean | undefined;
8055
8056
  start_pcb_port_id?: string | undefined;
@@ -8067,7 +8068,7 @@ declare const pcb_trace: z.ZodObject<{
8067
8068
  route_type: "teardrop";
8068
8069
  start_width: number;
8069
8070
  end_width: number;
8070
- width_interpolation_mode: "linear" | "smoothstep";
8071
+ width_interpolation_mode: "linear" | "quadratic";
8071
8072
  copper_pour_id?: string | undefined;
8072
8073
  is_inside_copper_pour?: boolean | undefined;
8073
8074
  start_pcb_port_id?: string | undefined;
@@ -8087,7 +8088,7 @@ declare const pcb_trace: z.ZodObject<{
8087
8088
  route_type: "teardrop";
8088
8089
  start_width: string | number;
8089
8090
  end_width: string | number;
8090
- width_interpolation_mode: "linear" | "smoothstep";
8091
+ width_interpolation_mode: "linear" | "quadratic";
8091
8092
  copper_pour_id?: string | undefined;
8092
8093
  is_inside_copper_pour?: boolean | undefined;
8093
8094
  start_pcb_port_id?: string | undefined;
@@ -8146,7 +8147,7 @@ declare const pcb_trace: z.ZodObject<{
8146
8147
  route_type: "teardrop";
8147
8148
  start_width: number;
8148
8149
  end_width: number;
8149
- width_interpolation_mode: "linear" | "smoothstep";
8150
+ width_interpolation_mode: "linear" | "quadratic";
8150
8151
  copper_pour_id?: string | undefined;
8151
8152
  is_inside_copper_pour?: boolean | undefined;
8152
8153
  start_pcb_port_id?: string | undefined;
@@ -8160,6 +8161,7 @@ declare const pcb_trace: z.ZodObject<{
8160
8161
  route_order_index?: number | undefined;
8161
8162
  should_round_corners?: boolean | undefined;
8162
8163
  trace_length?: number | undefined;
8164
+ is_antenna_trace?: boolean | undefined;
8163
8165
  highlight_color?: string | undefined;
8164
8166
  }, {
8165
8167
  type: "pcb_trace";
@@ -8225,7 +8227,7 @@ declare const pcb_trace: z.ZodObject<{
8225
8227
  route_type: "teardrop";
8226
8228
  start_width: string | number;
8227
8229
  end_width: string | number;
8228
- width_interpolation_mode: "linear" | "smoothstep";
8230
+ width_interpolation_mode: "linear" | "quadratic";
8229
8231
  copper_pour_id?: string | undefined;
8230
8232
  is_inside_copper_pour?: boolean | undefined;
8231
8233
  start_pcb_port_id?: string | undefined;
@@ -8240,6 +8242,7 @@ declare const pcb_trace: z.ZodObject<{
8240
8242
  route_order_index?: number | undefined;
8241
8243
  should_round_corners?: boolean | undefined;
8242
8244
  trace_length?: number | undefined;
8245
+ is_antenna_trace?: boolean | undefined;
8243
8246
  highlight_color?: string | undefined;
8244
8247
  }>;
8245
8248
  type PcbTraceInput = z.input<typeof pcb_trace>;
@@ -8284,8 +8287,8 @@ interface PcbTraceRoutePointTeardrop {
8284
8287
  end: Point;
8285
8288
  start_width: Distance;
8286
8289
  end_width: Distance;
8287
- /** linear: f(t)=t; smoothstep: f(t)=3t²−2t³, with t along the centerline. */
8288
- width_interpolation_mode: "linear" | "smoothstep";
8290
+ /** Quadratic is concave toward the narrow end; see docs/pcb-trace-teardrops.md for profiles. */
8291
+ width_interpolation_mode: "linear" | "quadratic";
8289
8292
  layer: LayerRef;
8290
8293
  copper_pour_id?: string;
8291
8294
  is_inside_copper_pour?: boolean;
@@ -8313,6 +8316,7 @@ interface PcbTrace {
8313
8316
  route_thickness_mode?: "constant" | "interpolated";
8314
8317
  should_round_corners?: boolean;
8315
8318
  trace_length?: number;
8319
+ is_antenna_trace?: boolean;
8316
8320
  highlight_color?: string;
8317
8321
  route: Array<PcbTraceRoutePoint>;
8318
8322
  }
@@ -44370,6 +44374,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44370
44374
  route_order_index: z.ZodOptional<z.ZodNumber>;
44371
44375
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
44372
44376
  trace_length: z.ZodOptional<z.ZodNumber>;
44377
+ is_antenna_trace: z.ZodOptional<z.ZodBoolean>;
44373
44378
  highlight_color: z.ZodOptional<z.ZodString>;
44374
44379
  route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
44375
44380
  route_type: z.ZodLiteral<"wire">;
@@ -44568,7 +44573,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44568
44573
  }>;
44569
44574
  start_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
44570
44575
  end_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
44571
- width_interpolation_mode: z.ZodEnum<["linear", "smoothstep"]>;
44576
+ width_interpolation_mode: z.ZodEnum<["linear", "quadratic"]>;
44572
44577
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
44573
44578
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
44574
44579
  }, "strip", z.ZodTypeAny, {
@@ -44595,7 +44600,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44595
44600
  route_type: "teardrop";
44596
44601
  start_width: number;
44597
44602
  end_width: number;
44598
- width_interpolation_mode: "linear" | "smoothstep";
44603
+ width_interpolation_mode: "linear" | "quadratic";
44599
44604
  copper_pour_id?: string | undefined;
44600
44605
  is_inside_copper_pour?: boolean | undefined;
44601
44606
  start_pcb_port_id?: string | undefined;
@@ -44615,7 +44620,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44615
44620
  route_type: "teardrop";
44616
44621
  start_width: string | number;
44617
44622
  end_width: string | number;
44618
- width_interpolation_mode: "linear" | "smoothstep";
44623
+ width_interpolation_mode: "linear" | "quadratic";
44619
44624
  copper_pour_id?: string | undefined;
44620
44625
  is_inside_copper_pour?: boolean | undefined;
44621
44626
  start_pcb_port_id?: string | undefined;
@@ -44633,7 +44638,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44633
44638
  route_type: "teardrop";
44634
44639
  start_width: number;
44635
44640
  end_width: number;
44636
- width_interpolation_mode: "linear" | "smoothstep";
44641
+ width_interpolation_mode: "linear" | "quadratic";
44637
44642
  copper_pour_id?: string | undefined;
44638
44643
  is_inside_copper_pour?: boolean | undefined;
44639
44644
  start_pcb_port_id?: string | undefined;
@@ -44653,7 +44658,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44653
44658
  route_type: "teardrop";
44654
44659
  start_width: string | number;
44655
44660
  end_width: string | number;
44656
- width_interpolation_mode: "linear" | "smoothstep";
44661
+ width_interpolation_mode: "linear" | "quadratic";
44657
44662
  copper_pour_id?: string | undefined;
44658
44663
  is_inside_copper_pour?: boolean | undefined;
44659
44664
  start_pcb_port_id?: string | undefined;
@@ -44712,7 +44717,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44712
44717
  route_type: "teardrop";
44713
44718
  start_width: number;
44714
44719
  end_width: number;
44715
- width_interpolation_mode: "linear" | "smoothstep";
44720
+ width_interpolation_mode: "linear" | "quadratic";
44716
44721
  copper_pour_id?: string | undefined;
44717
44722
  is_inside_copper_pour?: boolean | undefined;
44718
44723
  start_pcb_port_id?: string | undefined;
@@ -44726,6 +44731,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44726
44731
  route_order_index?: number | undefined;
44727
44732
  should_round_corners?: boolean | undefined;
44728
44733
  trace_length?: number | undefined;
44734
+ is_antenna_trace?: boolean | undefined;
44729
44735
  highlight_color?: string | undefined;
44730
44736
  }, {
44731
44737
  type: "pcb_trace";
@@ -44791,7 +44797,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44791
44797
  route_type: "teardrop";
44792
44798
  start_width: string | number;
44793
44799
  end_width: string | number;
44794
- width_interpolation_mode: "linear" | "smoothstep";
44800
+ width_interpolation_mode: "linear" | "quadratic";
44795
44801
  copper_pour_id?: string | undefined;
44796
44802
  is_inside_copper_pour?: boolean | undefined;
44797
44803
  start_pcb_port_id?: string | undefined;
@@ -44806,6 +44812,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
44806
44812
  route_order_index?: number | undefined;
44807
44813
  should_round_corners?: boolean | undefined;
44808
44814
  trace_length?: number | undefined;
44815
+ is_antenna_trace?: boolean | undefined;
44809
44816
  highlight_color?: string | undefined;
44810
44817
  }>, z.ZodObject<{
44811
44818
  type: z.ZodLiteral<"pcb_trace_warning">;
@@ -65608,6 +65615,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65608
65615
  route_order_index: z.ZodOptional<z.ZodNumber>;
65609
65616
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
65610
65617
  trace_length: z.ZodOptional<z.ZodNumber>;
65618
+ is_antenna_trace: z.ZodOptional<z.ZodBoolean>;
65611
65619
  highlight_color: z.ZodOptional<z.ZodString>;
65612
65620
  route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
65613
65621
  route_type: z.ZodLiteral<"wire">;
@@ -65806,7 +65814,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65806
65814
  }>;
65807
65815
  start_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
65808
65816
  end_width: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
65809
- width_interpolation_mode: z.ZodEnum<["linear", "smoothstep"]>;
65817
+ width_interpolation_mode: z.ZodEnum<["linear", "quadratic"]>;
65810
65818
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
65811
65819
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
65812
65820
  }, "strip", z.ZodTypeAny, {
@@ -65833,7 +65841,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65833
65841
  route_type: "teardrop";
65834
65842
  start_width: number;
65835
65843
  end_width: number;
65836
- width_interpolation_mode: "linear" | "smoothstep";
65844
+ width_interpolation_mode: "linear" | "quadratic";
65837
65845
  copper_pour_id?: string | undefined;
65838
65846
  is_inside_copper_pour?: boolean | undefined;
65839
65847
  start_pcb_port_id?: string | undefined;
@@ -65853,7 +65861,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65853
65861
  route_type: "teardrop";
65854
65862
  start_width: string | number;
65855
65863
  end_width: string | number;
65856
- width_interpolation_mode: "linear" | "smoothstep";
65864
+ width_interpolation_mode: "linear" | "quadratic";
65857
65865
  copper_pour_id?: string | undefined;
65858
65866
  is_inside_copper_pour?: boolean | undefined;
65859
65867
  start_pcb_port_id?: string | undefined;
@@ -65871,7 +65879,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65871
65879
  route_type: "teardrop";
65872
65880
  start_width: number;
65873
65881
  end_width: number;
65874
- width_interpolation_mode: "linear" | "smoothstep";
65882
+ width_interpolation_mode: "linear" | "quadratic";
65875
65883
  copper_pour_id?: string | undefined;
65876
65884
  is_inside_copper_pour?: boolean | undefined;
65877
65885
  start_pcb_port_id?: string | undefined;
@@ -65891,7 +65899,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65891
65899
  route_type: "teardrop";
65892
65900
  start_width: string | number;
65893
65901
  end_width: string | number;
65894
- width_interpolation_mode: "linear" | "smoothstep";
65902
+ width_interpolation_mode: "linear" | "quadratic";
65895
65903
  copper_pour_id?: string | undefined;
65896
65904
  is_inside_copper_pour?: boolean | undefined;
65897
65905
  start_pcb_port_id?: string | undefined;
@@ -65950,7 +65958,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65950
65958
  route_type: "teardrop";
65951
65959
  start_width: number;
65952
65960
  end_width: number;
65953
- width_interpolation_mode: "linear" | "smoothstep";
65961
+ width_interpolation_mode: "linear" | "quadratic";
65954
65962
  copper_pour_id?: string | undefined;
65955
65963
  is_inside_copper_pour?: boolean | undefined;
65956
65964
  start_pcb_port_id?: string | undefined;
@@ -65964,6 +65972,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65964
65972
  route_order_index?: number | undefined;
65965
65973
  should_round_corners?: boolean | undefined;
65966
65974
  trace_length?: number | undefined;
65975
+ is_antenna_trace?: boolean | undefined;
65967
65976
  highlight_color?: string | undefined;
65968
65977
  }, {
65969
65978
  type: "pcb_trace";
@@ -66029,7 +66038,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
66029
66038
  route_type: "teardrop";
66030
66039
  start_width: string | number;
66031
66040
  end_width: string | number;
66032
- width_interpolation_mode: "linear" | "smoothstep";
66041
+ width_interpolation_mode: "linear" | "quadratic";
66033
66042
  copper_pour_id?: string | undefined;
66034
66043
  is_inside_copper_pour?: boolean | undefined;
66035
66044
  start_pcb_port_id?: string | undefined;
@@ -66044,6 +66053,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
66044
66053
  route_order_index?: number | undefined;
66045
66054
  should_round_corners?: boolean | undefined;
66046
66055
  trace_length?: number | undefined;
66056
+ is_antenna_trace?: boolean | undefined;
66047
66057
  highlight_color?: string | undefined;
66048
66058
  }>, z.ZodObject<{
66049
66059
  type: z.ZodLiteral<"pcb_trace_warning">;
package/dist/index.mjs CHANGED
@@ -2558,7 +2558,7 @@ var pcb_trace_route_point_teardrop = z116.object({
2558
2558
  end: finite_route_point,
2559
2559
  start_width: positive_width,
2560
2560
  end_width: positive_width,
2561
- width_interpolation_mode: z116.enum(["linear", "smoothstep"]),
2561
+ width_interpolation_mode: z116.enum(["linear", "quadratic"]),
2562
2562
  layer: layer_ref,
2563
2563
  copper_pour_id: z116.string().optional(),
2564
2564
  is_inside_copper_pour: z116.boolean().optional(),
@@ -2585,6 +2585,7 @@ var pcb_trace = z116.object({
2585
2585
  route_order_index: z116.number().optional(),
2586
2586
  should_round_corners: z116.boolean().optional(),
2587
2587
  trace_length: z116.number().optional(),
2588
+ is_antenna_trace: z116.boolean().optional(),
2588
2589
  highlight_color: z116.string().optional(),
2589
2590
  route: z116.array(pcb_trace_route_point)
2590
2591
  }).describe("Defines a trace on the PCB");