α = 1.1344640137963142 rad (slider from 0 to 1.5707963267948966, step 0.017453292519943295)
B = (0.17188266606433006, -0.12376248470762465)
A = Intersect(xAxis, yAxis)
C' = Point(xAxis)
j = OrthogonalLine(C', xAxis)
l = 0.05 (slider from 0 to 0.2, step 0.01)
C = Rotate(C', α, A)
G, C'_1 = Intersect(Circle[C', l], j)
AC = Segment(A, C)
h = OrthogonalLine(C, AC)
E, C_1 = Intersect(Circle[C, l], h)
c = Circle(A, C')
AC' = Segment(A, C')
AB = Segment(B, A)
BC_1 = Segment(B, C_1)
D = Intersect(AC', BC_1)
γ = Angle(C', A, B)
BC'_1 = Segment(B, C'_1)
CC_1 = Segment(C, C_1)
C'C'_1 = Segment(C', C'_1)
r: BC_1 / BC'_1
text1: "Spring Open/Closed Ratio = " + r
a = OrthogonalLine(B, xAxis)
b = OrthogonalLine(B, yAxis)
F = Intersect(xAxis, a)
H_1 = Intersect(b, yAxis)
i = Segment(B, H_1)
d = Segment(B, F)
e = 20.12 (slider from 0 to 30, step 0.01)
s = 8.27 (slider from 0 to 30, step 0.01)
β = Angle(C_1, D, C')
text3: "Spring Extended/Compressed Ratio = " + (e / (e - s))
H = Point(Circle[A, C'])
f_1 = Circle(H, 0.2)
g = Line(B, H)
J = Intersect(f_1, g, 2.0)
k = Line(H, yAxis)
m = Line(H, xAxis)
n = Line(J, m)
p = Line(J, k)
K = Intersect(k, n)
L = Intersect(m, p)
u = Vector(H, K)
v = Vector(H, J)
w_1 = Vector(H, L)
w = 45 (slider from 0 to 200, step 1)
f = 120 (slider from 0 to 200, step 1)
t = Circle(H, 0.2 * w / f)
M = Intersect(t, k, 1.0)
z = Vector(H, M)
height = Distance(H, xAxis)
scale: e / BC_1
TextIAC': "Open height = " + (height * scale)
a_1 = Segment(B, H)
text2: "Lid Mount Point: " + (AC * scale) + "in. out, " + (CC_1 * scale) + "in. up"
text6: "Box Mount Point: " + (i * scale) + "in. in, " + (d * scale) + "in. down"
text4: "Spring Closed Length = " + (BC'_1 * scale)
text5: "Spring Closed Stroke Used = " + (e - BC'_1 * scale)