We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31de95 commit 7ac0710Copy full SHA for 7ac0710
src/convert-kicad-json-to-tscircuit-soup.ts
@@ -650,16 +650,6 @@ export const convertKicadJsonToTsCircuitSoup = async (
650
arcPointsAdjusted.shift()
651
}
652
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
-
663
for (const point of arcPointsAdjusted) {
664
pushRoutePoint(point)
665
0 commit comments