Skip to content

Commit

Permalink
Merge pull request #4827 from rendetto/patch-2
Browse files Browse the repository at this point in the history
Curvature comb is missing the end spike
  • Loading branch information
portnov authored Dec 19, 2022
2 parents d247404 + d683794 commit b7b06eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/curve/bakery.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, node, curve, resolution):
comb_normals = node.comb_scale * curvatures * normals
comb_points = self.points - comb_normals
self.comb_points = np.concatenate((self.points, comb_points)).tolist()
comb_normal_edges = [(i, i+n) for i in range(n-1)]
comb_normal_edges = [(i, i+n) for i in range(n)]
comb_tangent_edges = [(i, i+1) for i in range(n, 2*n-1)]
self.comb_edges = comb_normal_edges + comb_tangent_edges
else:
Expand Down

0 comments on commit b7b06eb

Please sign in to comment.