Tweak battery positioning

This commit is contained in:
Roberto Alsina 2023-02-16 15:00:40 -03:00
parent 31630ab1b0
commit ccb3220b1b
3 changed files with 26671 additions and 26671 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -164,13 +164,13 @@ def model():
# and should be a parameter (TODO) # and should be a parameter (TODO)
.workplaneFromTagged("mid_height") .workplaneFromTagged("mid_height")
.workplane(offset=-thickness / 2, centerOption="CenterOfBoundBox") .workplane(offset=-thickness / 2, centerOption="CenterOfBoundBox")
.center(-width / 2 + 18, height / 2 - 55) .center(-width / 2 + 21, height / 2 - 57)
.placeSketch(battery_holder.lower_stands) .placeSketch(battery_holder.lower_stands)
.extrude(shell_t + 5) .extrude(shell_t + 5)
# Battery Stands (higher) # Battery Stands (higher)
.workplaneFromTagged("mid_height") .workplaneFromTagged("mid_height")
.workplane(offset=-thickness / 2, centerOption="CenterOfBoundBox") .workplane(offset=-thickness / 2, centerOption="CenterOfBoundBox")
.center(-width / 2 + 18, height / 2 - 55) .center(-width / 2 + 21, height / 2 - 57)
.placeSketch(battery_holder.higher_stands) .placeSketch(battery_holder.higher_stands)
.extrude(shell_t + 8) .extrude(shell_t + 8)
) )