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.
package/dist/main.cjs CHANGED
@@ -1026,7 +1026,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
1026
1026
  var package_default = {
1027
1027
  name: "easyeda",
1028
1028
  type: "module",
1029
- version: "0.0.341",
1029
+ version: "0.0.342",
1030
1030
  files: [
1031
1031
  "dist"
1032
1032
  ],
@@ -8185,10 +8185,15 @@ var convertEasyEdaJsonToCircuitJson = (easyEdaJson, {
8185
8185
  };
8186
8186
  } else {
8187
8187
  additionalPlatedHoleProps = {
8188
- shape: "circle",
8189
- hole_diameter: holeDiameter,
8190
- outer_diameter: Math.max(padWidth, padHeight),
8191
- radius: holeDiameter / 2
8188
+ shape: "rotated_pill_hole_with_rect_pad",
8189
+ hole_shape: "rotated_pill",
8190
+ pad_shape: "rect",
8191
+ hole_width: holeDiameter,
8192
+ hole_height: holeDiameter,
8193
+ hole_ccw_rotation: pad.rotation || 0,
8194
+ rect_ccw_rotation: pad.rotation || 0,
8195
+ rect_pad_width: padWidth,
8196
+ rect_pad_height: padHeight
8192
8197
  };
8193
8198
  }
8194
8199
  } else {