Skip to content

Commit

Permalink
fix regression with head fillet
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Jan 10, 2024
1 parent 8657be7 commit 5ce0a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freecad/gears/basegear.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def fillet_between_edges(edge_1, edge_2, radius, reversed=False):
pln = part.Plane(edge_1.valueAt(edge_1.FirstParameter), n)
fillet2d_api.init(edge_1, edge_2, pln)
if fillet2d_api.perform(radius) > 0:
p0 = (p2 + p1 + p3 + p4) / 4
p0 = (p2 + p1 + p3 + p4) / 2
fillet, e1, e2 = fillet2d_api.result(p0)
return part.Wire([e1, fillet, e2]).Edges
else:
Expand Down

0 comments on commit 5ce0a50

Please sign in to comment.