@tscircuit/footprinter 0.0.322 → 0.0.323

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/dist/index.js CHANGED
@@ -510,16 +510,13 @@ var passive = (params) => {
510
510
  const crtMinY = Math.min(-(h ?? 0) / 2, -ph / 2, ...silkYs) - excess;
511
511
  const crtMaxY = Math.max((h ?? 0) / 2, ph / 2, ...silkYs) + excess;
512
512
  const courtyard = {
513
- type: "pcb_courtyard_outline",
514
- pcb_courtyard_outline_id: "",
513
+ type: "pcb_courtyard_rect",
514
+ pcb_courtyard_rect_id: "",
515
515
  pcb_component_id: "",
516
- layer: "top",
517
- outline: [
518
- { x: crtMinX, y: crtMinY },
519
- { x: crtMaxX, y: crtMinY },
520
- { x: crtMaxX, y: crtMaxY },
521
- { x: crtMinX, y: crtMaxY }
522
- ]
516
+ center: { x: (crtMinX + crtMaxX) / 2, y: (crtMinY + crtMaxY) / 2 },
517
+ width: crtMaxX - crtMinX,
518
+ height: crtMaxY - crtMinY,
519
+ layer: "top"
523
520
  };
524
521
  if (tht) {
525
522
  return [