circuit-json 0.0.274 → 0.0.276

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
@@ -89,8 +89,11 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
89
89
  - [PcbComponent](#pcbcomponent)
90
90
  - [PcbComponentOutsideBoardError](#pcbcomponentoutsideboarderror)
91
91
  - [PcbCopperPour](#pcbcopperpour)
92
+ - [PcbCourtyardOutline](#pcbcourtyardoutline)
93
+ - [PcbCourtyardRect](#pcbcourtyardrect)
92
94
  - [PcbCutout](#pcbcutout)
93
95
  - [PcbFabricationNotePath](#pcbfabricationnotepath)
96
+ - [PcbFabricationNoteRect](#pcbfabricationnoterect)
94
97
  - [PcbFabricationNoteText](#pcbfabricationnotetext)
95
98
  - [PcbFootprintOverlapError](#pcbfootprintoverlaperror)
96
99
  - [PcbGroundPlane](#pcbgroundplane)
@@ -936,6 +939,55 @@ interface PcbCopperPourRect {
936
939
  }
937
940
  ```
938
941
 
942
+ ### PcbCourtyardOutline
943
+
944
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_courtyard_outline.ts)
945
+
946
+ Defines a courtyard outline on the PCB
947
+
948
+ ```typescript
949
+ /** Defines a courtyard outline on the PCB */
950
+ interface PcbCourtyardOutline {
951
+ type: "pcb_courtyard_outline"
952
+ pcb_courtyard_outline_id: string
953
+ pcb_component_id: string
954
+ pcb_group_id?: string
955
+ subcircuit_id?: string
956
+ layer: VisibleLayer
957
+ outline: Point[]
958
+ stroke_width: Length
959
+ is_closed?: boolean
960
+ is_stroke_dashed?: boolean
961
+ color?: string
962
+ }
963
+ ```
964
+
965
+ ### PcbCourtyardRect
966
+
967
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_courtyard_rect.ts)
968
+
969
+ Defines a courtyard rectangle on the PCB
970
+
971
+ ```typescript
972
+ /** Defines a courtyard rectangle on the PCB */
973
+ interface PcbCourtyardRect {
974
+ type: "pcb_courtyard_rect"
975
+ pcb_courtyard_rect_id: string
976
+ pcb_component_id: string
977
+ pcb_group_id?: string
978
+ subcircuit_id?: string
979
+ center: Point
980
+ width: Length
981
+ height: Length
982
+ layer: VisibleLayer
983
+ stroke_width: Length
984
+ is_filled?: boolean
985
+ has_stroke?: boolean
986
+ is_stroke_dashed?: boolean
987
+ color?: string
988
+ }
989
+ ```
990
+
939
991
  ### PcbCutout
940
992
 
941
993
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_cutout.ts)
@@ -977,6 +1029,32 @@ interface PcbFabricationNotePath {
977
1029
  }
978
1030
  ```
979
1031
 
1032
+ ### PcbFabricationNoteRect
1033
+
1034
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_fabrication_note_rect.ts)
1035
+
1036
+ Defines a fabrication note rectangle on the PCB
1037
+
1038
+ ```typescript
1039
+ /** Defines a fabrication note rectangle on the PCB */
1040
+ interface PcbFabricationNoteRect {
1041
+ type: "pcb_fabrication_note_rect"
1042
+ pcb_fabrication_note_rect_id: string
1043
+ pcb_component_id: string
1044
+ pcb_group_id?: string
1045
+ subcircuit_id?: string
1046
+ center: Point
1047
+ width: Length
1048
+ height: Length
1049
+ layer: VisibleLayer
1050
+ stroke_width: Length
1051
+ is_filled?: boolean
1052
+ has_stroke?: boolean
1053
+ is_stroke_dashed?: boolean
1054
+ color?: string
1055
+ }
1056
+ ```
1057
+
980
1058
  ### PcbFabricationNoteText
981
1059
 
982
1060
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_fabrication_note_text.ts)