circuit-json 0.0.529 → 0.0.531

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
@@ -179,6 +179,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
179
179
  - [PcbSilkscreenRect](#pcbsilkscreenrect)
180
180
  - [PcbSilkscreenText](#pcbsilkscreentext)
181
181
  - [PcbSolderPaste](#pcbsolderpaste)
182
+ - [PcbStackup](#pcbstackup)
182
183
  - [PcbStiffener](#pcbstiffener)
183
184
  - [PcbText](#pcbtext)
184
185
  - [PcbThermalSpoke](#pcbthermalspoke)
@@ -1780,6 +1781,8 @@ interface PcbBusLengthSkewError extends BaseCircuitJsonError {
1780
1781
  interface PcbComponentMetadata {
1781
1782
  kicad_footprint?: KicadFootprintMetadata
1782
1783
  }
1784
+
1785
+ type SupplierPin1LocationMap = Partial<Record<SupplierName, PcbPin1Location>>
1783
1786
  ```
1784
1787
 
1785
1788
  ### PcbComponentInvalidLayerError
@@ -3198,6 +3201,71 @@ interface PcbSolderPasteCircle {
3198
3201
  }
3199
3202
  ```
3200
3203
 
3204
+ ### PcbStackup
3205
+
3206
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_stackup.ts)
3207
+
3208
+ Physical layer construction and material data for a PCB board.
3209
+
3210
+ ```typescript
3211
+ /** Physical layer construction and material data for a PCB board. */
3212
+ interface PcbStackup {
3213
+ type: "pcb_stackup"
3214
+ pcb_stackup_id: string
3215
+ /** Board described by this stackup. */
3216
+ pcb_board_id: string
3217
+ subcircuit_id?: string
3218
+ /** Copper thickness of plated hole and via barrel walls in mm. */
3219
+ plated_hole_copper_thickness?: Length
3220
+ /** Physical layers ordered from top to bottom. */
3221
+ layers: PcbStackupLayer[]
3222
+ }
3223
+
3224
+ /** A soldermask layer in the physical board stack. */
3225
+ interface PcbSoldermaskStackupLayer {
3226
+ layer_type: "soldermask"
3227
+ /** Soldermask thickness in mm, omitted when unknown. */
3228
+ thickness?: Length
3229
+ /** Soldermask relative permittivity. */
3230
+ relative_permittivity?: number
3231
+ }
3232
+
3233
+ /** A copper layer in the physical board stack. */
3234
+ interface PcbCopperStackupLayer {
3235
+ layer_type: "copper"
3236
+ /** PCB copper layer, such as top, inner1 or bottom. */
3237
+ layer: LayerRef
3238
+ /** Copper thickness in mm. */
3239
+ thickness: Length
3240
+ /** Electrical conductivity in S/m, consumers may assume 5.8e7 (annealed copper) when omitted. */
3241
+ electrical_conductivity_s_per_m?: number
3242
+ /** RMS copper surface roughness in mm. */
3243
+ rms_surface_roughness?: Length
3244
+ }
3245
+
3246
+ /** An insulating layer in the physical board stack. */
3247
+ interface PcbDielectricStackupLayer {
3248
+ layer_type: "dielectric"
3249
+ /** Core or prepreg construction. */
3250
+ dielectric_type?: "core" | "prepreg"
3251
+ /** Fabricator material name, such as FR-4 or 7628. */
3252
+ material_name?: string
3253
+ /** Dielectric thickness in mm. */
3254
+ thickness: Length
3255
+ /** Dielectric relative permittivity, Dk. */
3256
+ relative_permittivity?: number
3257
+ /** Dielectric loss tangent, Df. */
3258
+ loss_tangent?: number
3259
+ /** Frequency in Hz at which relative_permittivity and loss_tangent were measured. */
3260
+ dielectric_properties_frequency_hz?: number
3261
+ }
3262
+
3263
+ type PcbStackupLayer =
3264
+ | PcbSoldermaskStackupLayer
3265
+ | PcbCopperStackupLayer
3266
+ | PcbDielectricStackupLayer
3267
+ ```
3268
+
3201
3269
  ### PcbStiffener
3202
3270
 
3203
3271
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_stiffener.ts)