diff --git a/lib/drawdxf.py b/lib/drawdxf.py index 08931a4..32bbf53 100644 --- a/lib/drawdxf.py +++ b/lib/drawdxf.py @@ -137,7 +137,7 @@ def write_excel_from_json(plines:Polylines, outpath:str): for pl in plines.kabel: length = pl.length /1000 # Umrechnung von mm in m - rounded_len = math.ceil(length/10)*10 + rounded_len = math.ceil(length/5)*5 length_summary[rounded_len] +=1 ws1.append([pl.id, length, int(rounded_len)])