- modified the 'laser-lines' method in the Paint Plugin such that the rounded part of a painted trace is painted too in the case that the trace width is much higher than the clearing tool diameter

This commit is contained in:
Marius Stanciu
2022-01-06 00:02:23 +02:00
committed by Marius
parent fff657389e
commit 8f8bff3e4f
3 changed files with 49 additions and 11 deletions

View File

@@ -1768,11 +1768,11 @@ class ToolPaint(AppTool, Gerber):
for aperture_size in traces_el_dict:
for elem in traces_el_dict[aperture_size]:
line = elem['follow']
if line:
if line and isinstance(line, (LineString, MultiLineString)):
t_o = self.fill_with_lines(line, aperture_size,
tooldia=tooldiameter,
steps_per_circle=self.app.defaults[
"geometry_circle_steps"],
steps_per_circle=self.app.defaults["geometry_circle_steps"],
overlap=over,
contour=cont,
connect=conn,