Skip to content

Commit

Permalink
Curvature comb is missing end spike
Browse files Browse the repository at this point in the history
I noticed that Curvature Comb is missing the end spike. So this change is for fixing this.
  • Loading branch information
rendetto authored Dec 19, 2022
1 parent d247404 commit d683794
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 d683794

Please sign in to comment.