Skip to content

Commit

Permalink
Fix the support generation for the thumb clusters
Browse files Browse the repository at this point in the history
This fixes the generation of screw supports for the thumb clusters in the
steel base full assemblies
  • Loading branch information
JesusFreke committed Jun 14, 2021
1 parent a9976eb commit ffc7990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lalboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -2308,7 +2308,7 @@ def add_thumb_standoffs(self, thumb_cluster):
down_normal = front_magnet.bottom.get_plane().normal
ball_magnet_radius = self.ball_magnet().size().z / 2
down_normal.normalize()
down_normal.scaleBy(-ball_magnet_radius)
down_normal.scaleBy(ball_magnet_radius)
ball_magnet_center_vector = down_normal

cluster_transform = thumb_cluster.find_children("thumb_cluster", recursive=False)[0].world_transform()
Expand Down

0 comments on commit ffc7990

Please sign in to comment.