circuit-json 0.0.179 → 0.0.180

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
@@ -71,6 +71,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
71
71
  - [PcbAutoroutingError](#pcbautoroutingerror)
72
72
  - [PcbBoard](#pcbboard)
73
73
  - [PcbComponent](#pcbcomponent)
74
+ - [PcbCutout](#pcbcutout)
74
75
  - [PcbFabricationNotePath](#pcbfabricationnotepath)
75
76
  - [PcbFabricationNoteText](#pcbfabricationnotetext)
76
77
  - [PcbGroup](#pcbgroup)
@@ -558,6 +559,27 @@ interface PcbComponent {
558
559
  }
559
560
  ```
560
561
 
562
+ ### PcbCutout
563
+
564
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_cutout.ts)
565
+
566
+ Defines a rectangular cutout on the PCB.
567
+
568
+ ```typescript
569
+ /** Defines a rectangular cutout on the PCB. */
570
+ interface PcbCutoutRect {
571
+ type: "pcb_cutout"
572
+ pcb_cutout_id: string
573
+ pcb_group_id?: string
574
+ subcircuit_id?: string
575
+ shape: "rect"
576
+ center: Point
577
+ width: Length
578
+ height: Length
579
+ rotation?: Rotation
580
+ }
581
+ ```
582
+
561
583
  ### PcbFabricationNotePath
562
584
 
563
585
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_fabrication_note_path.ts)