Skip to content

Commit 7ac0710

Browse files
committed
up in 1mm
1 parent a31de95 commit 7ac0710

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/convert-kicad-json-to-tscircuit-soup.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -650,16 +650,6 @@ export const convertKicadJsonToTsCircuitSoup = async (
650650
arcPointsAdjusted.shift()
651651
}
652652
}
653-
for (let i = 0; i < arcPointsAdjusted.length - 1; i++) {
654-
const p0 = arcPointsAdjusted[i]!
655-
const p1 = arcPointsAdjusted[i + 1]!
656-
const dx = p1.x - p0.x
657-
const dy = p1.y - p0.y
658-
const segmentArcLength = Math.sqrt(dx * dx + dy * dy)
659-
console.log(`Segment ${i} length:`, segmentArcLength)
660-
}
661-
// now refactor the code to use arcPointsAdjusted
662-
663653
for (const point of arcPointsAdjusted) {
664654
pushRoutePoint(point)
665655
}

0 commit comments

Comments
 (0)