summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 544e35c)
raw | patch | inline | side by side (parent: 544e35c)
author | alvinpenner <alvinpenner@users.sourceforge.net> | |
Fri, 19 Dec 2008 23:45:45 +0000 (23:45 +0000) | ||
committer | alvinpenner <alvinpenner@users.sourceforge.net> | |
Fri, 19 Dec 2008 23:45:45 +0000 (23:45 +0000) |
share/extensions/dxf_input.py | patch | blob | history |
index 7e7a78da9950dd9660968c84c4b378a2c8481dbf..6c759ba8f4416820bfc01d7bbc2b8b5e876de3a2 100644 (file)
if vals[groups['370']]: # Common Lineweight\r
if vals[groups['370']][0] > 0:\r
w = scale*vals[groups['370']][0]/100.0\r
+ if w < 0.5:\r
+ w = 0.5\r
style = simplestyle.formatStyle({'stroke': '%s' % color, 'fill': 'none', 'stroke-width': '%.1f' % w})\r
entities[entity]()\r
entity = line[1]\r