easyeda 0.0.342 → 0.0.343

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.
@@ -10949,10 +10949,15 @@ var convertEasyEdaJsonToCircuitJson = (easyEdaJson, {
10949
10949
  };
10950
10950
  } else {
10951
10951
  additionalPlatedHoleProps = {
10952
- shape: "circle",
10953
- hole_diameter: holeDiameter,
10954
- outer_diameter: Math.max(padWidth, padHeight),
10955
- radius: holeDiameter / 2
10952
+ shape: "rotated_pill_hole_with_rect_pad",
10953
+ hole_shape: "rotated_pill",
10954
+ pad_shape: "rect",
10955
+ hole_width: holeDiameter,
10956
+ hole_height: holeDiameter,
10957
+ hole_ccw_rotation: pad.rotation || 0,
10958
+ rect_ccw_rotation: pad.rotation || 0,
10959
+ rect_pad_width: padWidth,
10960
+ rect_pad_height: padHeight
10956
10961
  };
10957
10962
  }
10958
10963
  } else {