@tscircuit/core 0.0.1200 → 0.0.1202
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 +8 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7108,8 +7108,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
7108
7108
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
|
|
7109
7109
|
hole_shape: "rotated_pill",
|
|
7110
7110
|
pad_shape: "rect",
|
|
7111
|
-
hole_ccw_rotation:
|
|
7112
|
-
rect_ccw_rotation:
|
|
7111
|
+
hole_ccw_rotation: finalRotationDegrees,
|
|
7112
|
+
rect_ccw_rotation: finalRotationDegrees,
|
|
7113
7113
|
rect_pad_width: props.outerWidth,
|
|
7114
7114
|
rect_pad_height: props.outerHeight,
|
|
7115
7115
|
hole_offset_x: props.holeOffsetX,
|
|
@@ -7133,7 +7133,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
7133
7133
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
7134
7134
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
7135
7135
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
|
|
7136
|
-
ccw_rotation:
|
|
7136
|
+
ccw_rotation: finalRotationDegrees
|
|
7137
7137
|
// NOTE: currently PcbPlatedHoleOval erroneously includes both the shape "pill" and "oval"
|
|
7138
7138
|
});
|
|
7139
7139
|
this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
|
|
@@ -7182,7 +7182,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
7182
7182
|
});
|
|
7183
7183
|
this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
|
|
7184
7184
|
} else if (props.shape === "pill_hole_with_rect_pad") {
|
|
7185
|
-
if (
|
|
7185
|
+
if (finalRotationDegrees !== 0) {
|
|
7186
7186
|
const pcb_plated_hole = db.pcb_plated_hole.insert({
|
|
7187
7187
|
pcb_component_id,
|
|
7188
7188
|
pcb_port_id: this.matchedPort?.pcb_port_id,
|
|
@@ -7196,8 +7196,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
7196
7196
|
type: "pcb_plated_hole",
|
|
7197
7197
|
hole_shape: "rotated_pill",
|
|
7198
7198
|
pad_shape: "rect",
|
|
7199
|
-
hole_ccw_rotation:
|
|
7200
|
-
rect_ccw_rotation:
|
|
7199
|
+
hole_ccw_rotation: finalRotationDegrees,
|
|
7200
|
+
rect_ccw_rotation: finalRotationDegrees,
|
|
7201
7201
|
rect_border_radius: props.rectBorderRadius,
|
|
7202
7202
|
port_hints: this.getNameAndAliases(),
|
|
7203
7203
|
x: position.x,
|
|
@@ -20123,7 +20123,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
20123
20123
|
var package_default = {
|
|
20124
20124
|
name: "@tscircuit/core",
|
|
20125
20125
|
type: "module",
|
|
20126
|
-
version: "0.0.
|
|
20126
|
+
version: "0.0.1201",
|
|
20127
20127
|
types: "dist/index.d.ts",
|
|
20128
20128
|
main: "dist/index.js",
|
|
20129
20129
|
module: "dist/index.js",
|
|
@@ -20155,7 +20155,7 @@ var package_default = {
|
|
|
20155
20155
|
"@biomejs/biome": "^1.8.3",
|
|
20156
20156
|
"@resvg/resvg-js": "^2.6.2",
|
|
20157
20157
|
"@tscircuit/alphabet": "0.0.25",
|
|
20158
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
20158
|
+
"@tscircuit/capacity-autorouter": "^0.0.473",
|
|
20159
20159
|
"@tscircuit/checks": "0.0.125",
|
|
20160
20160
|
"@tscircuit/circuit-json-util": "^0.0.94",
|
|
20161
20161
|
"@tscircuit/common": "^0.0.20",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1202",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@biomejs/biome": "^1.8.3",
|
|
34
34
|
"@resvg/resvg-js": "^2.6.2",
|
|
35
35
|
"@tscircuit/alphabet": "0.0.25",
|
|
36
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
36
|
+
"@tscircuit/capacity-autorouter": "^0.0.473",
|
|
37
37
|
"@tscircuit/checks": "0.0.125",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.94",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|