Skip to content

Commit

Permalink
fixes lobsided edges (#2330)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeffii authored Dec 9, 2018
1 parent 1a4622e commit 987fc40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nodes/generators_extended/smooth_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def find_projected_arc_center(p1, p2, b, radius=0.5):
b = Vector(b)
c = Vector(p2)

a = (a-b).normalized() + b
c = (c-b).normalized() + b

focal = (a + c) / 2.0
focal_length = (b-focal).length

Expand Down

0 comments on commit 987fc40

Please sign in to comment.