Cleaned formatting

This commit is contained in:
Christian Colglazier 2022-05-22 20:45:52 -04:00
parent 48b61652da
commit 20ccd88797

View File

@ -45,6 +45,7 @@ sg_teeth= 11
# Other
mount_gap= 2
support_radius= 11/2
end_y= -4.3
# Calculated values
fastener_hole_depth = tab_height-2
@ -52,7 +53,6 @@ lid_thicknesss = (part_thinkness-gear_thinkness)/2
gap = stepper_motor_size * math.sin(math.radians(slant_degree)) / math.sin(math.radians(90-slant_degree))
width = math.sqrt(gap**2 + stepper_motor_size**2 - 2*gap*stepper_motor_size*math.cos(math.radians(90)))
end_x = gap+stepper_motor_size-5
end_y=-4.3
outer_ring_diameter = rod_diameter+2*loop_width
center_x = end_x-math.cos(math.radians(loop_angle))*outer_ring_diameter/2
center_y = end_y-math.sin(math.radians(loop_angle))*outer_ring_diameter/2