Skip to content

Commit

Permalink
Fix error reporting on V-cutting a curve
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Nov 12, 2024
1 parent 2e8f133 commit d3d118f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kikit/panelize.py
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ def makeVCuts(self, cuts, boundCurves=False, offset=fromMm(0)):
message += "- your vertical or horizontal PCB edges are not precisely vertical or horizontal.\n"
message += "Modify the design or accept curve approximation via V-cuts."
self._renderLines([cut], Layer.Margin)
self.reportError(toKiCADPoint(cut[0]), message)
self.reportError(toKiCADPoint(cut.coords[0]), message)
continue
cut = cut.simplify(1).parallel_offset(offset, "left")
start = roundPoint(cut.coords[0])
Expand Down

0 comments on commit d3d118f

Please sign in to comment.