From 0831ba373418b4b433e6b5e68893277b8002e577 Mon Sep 17 00:00:00 2001 From: alvinpenner Date: Fri, 19 Dec 2008 23:45:45 +0000 Subject: [PATCH] lower limit on linewidth --- share/extensions/dxf_input.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/extensions/dxf_input.py b/share/extensions/dxf_input.py index 7e7a78da9..6c759ba8f 100644 --- a/share/extensions/dxf_input.py +++ b/share/extensions/dxf_input.py @@ -235,6 +235,8 @@ while line[0] and line[1] != 'ENDSEC': if vals[groups['370']]: # Common Lineweight if vals[groups['370']][0] > 0: w = scale*vals[groups['370']][0]/100.0 + if w < 0.5: + w = 0.5 style = simplestyle.formatStyle({'stroke': '%s' % color, 'fill': 'none', 'stroke-width': '%.1f' % w}) entities[entity]() entity = line[1] -- 2.30.2