circuit-json 0.0.503 → 0.0.505

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
@@ -1471,6 +1471,7 @@ interface PcbBoard extends ManufacturingDrcProperties {
1471
1471
  is_via_in_pad_allowed?: boolean
1472
1472
  default_via_tented_on_top?: boolean
1473
1473
  default_via_tented_on_bottom?: boolean
1474
+ default_via_plugged?: boolean
1474
1475
  width?: Length
1475
1476
  height?: Length
1476
1477
  display_offset_x?: string
@@ -3054,9 +3055,9 @@ interface PcbThermalSpoke {
3054
3055
 
3055
3056
  ### PcbTrace
3056
3057
 
3057
- A `route_type: "teardrop"` entry represents an explicit straight segment with
3058
- `start_width`, `end_width`, and `width_interpolation_mode` (`linear` or
3059
- `quadratic`). See the [geometry and route traversal contract](docs/pcb-trace-teardrops.md).
3058
+ A `wire` route point can taper its outgoing segment using `start_width`,
3059
+ `end_width`, and `width_interpolation_mode` (`linear` or `quadratic`).
3060
+ See the [wire taper geometry contract](docs/pcb-trace-teardrops.md).
3060
3061
 
3061
3062
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_trace.ts)
3062
3063
 
@@ -3066,6 +3067,9 @@ interface PcbTraceRoutePointWire {
3066
3067
  x: Distance
3067
3068
  y: Distance
3068
3069
  width: Distance
3070
+ start_width?: Distance
3071
+ end_width?: Distance
3072
+ width_interpolation_mode?: "linear" | "quadratic"
3069
3073
  copper_pour_id?: string
3070
3074
  is_inside_copper_pour?: boolean
3071
3075
  start_pcb_port_id?: string
@@ -3087,27 +3091,10 @@ interface PcbTraceRoutePointVia {
3087
3091
  to_layer: LayerRef
3088
3092
  }
3089
3093
 
3090
- /** A straight tapered wire segment. Coordinates and full widths are in mm. */
3091
- interface PcbTraceRoutePointTeardrop {
3092
- route_type: "teardrop"
3093
- start: Point
3094
- end: Point
3095
- start_width: Distance
3096
- end_width: Distance
3097
- /** Quadratic is concave toward the narrow end; see docs/pcb-trace-teardrops.md for profiles. */
3098
- width_interpolation_mode: "linear" | "quadratic"
3099
- layer: LayerRef
3100
- copper_pour_id?: string
3101
- is_inside_copper_pour?: boolean
3102
- start_pcb_port_id?: string
3103
- end_pcb_port_id?: string
3104
- }
3105
-
3106
3094
  type PcbTraceRoutePoint =
3107
3095
  | PcbTraceRoutePointWire
3108
3096
  | PcbTraceRoutePointVia
3109
3097
  | PcbTraceRoutePointThroughPad
3110
- | PcbTraceRoutePointTeardrop
3111
3098
  ```
3112
3099
 
3113
3100
  ### PcbTraceError