Fix T60879: DXF Import: Can't Import Polylines
This commit is contained in:
parent
c034e19684
commit
f7895ab2c9
Notes:
blender-bot
2023-02-14 19:21:03 +01:00
Referenced by issue #60879, Import DXF - Can't Import Polylines
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue