x

y

z

單位向量

座標軸

xy平面

α = 5.585053606381854 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.3962634015954636 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
O = (1.034009242198732, 0.14117531879634596)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-sin(α), cos(α) * cos(β))
Z_{unit}: O + (0, sin(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
w = Vector(O, Z_{unit})
L = 3 (slider from 1 to 10, step 1)
a = Vector(O - L * u, O + L * u)
b = Vector(O - L * v, O + L * v)
c = Vector(O - L * w, O + L * w)
poly1, d, e, f, g = Polygon(O + L * u + L * v, O - L * u + L * v, O - L * u - L * v, O + L * u - L * v)
h_1 = false
i = false
j = false
G: O
A: O + u - sqrt(3) / 3 * v - sqrt(6) / 3 * w
B: O - u - sqrt(3) / 3 * v - sqrt(6) / 3 * w
D: O + 2 * sqrt(6) / 3 * w - sqrt(6) / 3 * w
C: O + 2 * sqrt(3) / 3 * v - sqrt(6) / 3 * w
h = Segment(G, A)
k = Segment(G, D)
l = Segment(G, C)
m = Segment(G, B)
p = Circle(G, 0.40824829046386296)
q = Circle(A, 0.20412414523193148)
r = Circle(B, 0.20412414523193148)
s = Circle(C, 0.20412414523193148)
t = Circle(D, 0.20412414523193148)
r_1 = 0.40824829046386296
r_2 = 0.20412414523193148
n = CurveCartesian(x(G + r_1 * cos(θ) * u + r_1 * sin(θ) * v), y(G + r_1 * cos(θ) * u + r_1 * sin(θ) * v), θ, 0, 6.283185307179586)
o = CurveCartesian(x(A + r_2 * cos(θ) * u + r_2 * sin(θ) * v), y(A + r_2 * cos(θ) * u + r_2 * sin(θ) * v), θ, 0, 6.283185307179586)
z = CurveCartesian(x(B + r_2 * cos(θ) * u + r_2 * sin(θ) * v), y(B + r_2 * cos(θ) * u + r_2 * sin(θ) * v), θ, 0, 6.283185307179586)
a_1 = CurveCartesian(x(C + r_2 * cos(θ) * u + r_2 * sin(θ) * v), y(C + r_2 * cos(θ) * u + r_2 * sin(θ) * v), θ, 0, 6.283185307179586)
b_1 = CurveCartesian(x(D + r_2 * cos(θ) * u + r_2 * sin(θ) * v), y(D + r_2 * cos(θ) * u + r_2 * sin(θ) * v), θ, 0, 6.283185307179586)