diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-01-26 00:27:00 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-01-26 10:51:39 +0300 |
commit | f7895ab2c945323c5572e761c99a19db788b7579 (patch) | |
tree | af80fd9f12f13860f12bff44d7ff5fdfa6ede424 | |
parent | c034e1968465acb939efc089e63c5c51302947f5 (diff) |
Fix T60879: DXF Import: Can't Import Polylines
-rw-r--r-- | io_import_dxf/dxfimport/convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_dxf/dxfimport/convert.py b/io_import_dxf/dxfimport/convert.py index 8935480e..f3f4be83 100644 --- a/io_import_dxf/dxfimport/convert.py +++ b/io_import_dxf/dxfimport/convert.py @@ -150,7 +150,7 @@ def bulge_to_arc(point, next, bulge): cosagitta_len = sagitta_len - radius direction *= -1 correction *= -1 - center = point + section / 2 + section.normalized() * cosagitta_len * rot * direction + center = point + section / 2 + section.normalized() * cosagitta_len * direction @ rot cp = point - center cn = next - center cr = cp.to_3d().cross(cn.to_3d()) * correction |