Skip to content

Commit 780c7d9

Browse files
committed
up
1 parent 7129319 commit 780c7d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ export const convertKicadJsonToTsCircuitSoup = async (
620620
const mid = makePoint(segment.mid)
621621
const end = makePoint(segment.end)
622622
const arcLength = getArcLength(start, mid, end)
623-
const numPoints = Math.max(8, Math.ceil(arcLength))
623+
const numPoints = Math.max(8, Math.ceil(arcLength * 10))
624624
const arcPoints = generateArcPath(start, mid, end, numPoints).map(
625625
(p) => ({
626626
x: p.x,
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)