x

y

z

單位向量

座標軸

xy平面

α = 3.0543261909900767 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.4835298641951802 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
O = (1.897019818062382, -0.5839359116891065)
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 = true
j = false
A_1: O + sqrt(2) * w + u + v
A_2: O + sqrt(2) * w - u + v
A_3: O + sqrt(2) * w - u - v
A_4: O + sqrt(2) * w + u - v
A_5: O - sqrt(2) * w + u + v
A_6: O - sqrt(2) * w - u + v
A_7: O - sqrt(2) * w - u - v
A_8: O - sqrt(2) * w + u - v
A: O
h = Segment(A_1, A_4)
k = Segment(A_4, A_3)
l = Segment(A_3, A_2)
m = Segment(A_2, A_1)
n = Segment(A_2, A)
p = Segment(A_3, A)
q = Segment(A_1, A)
r_2 = Segment(A_4, A)
s = Segment(A, A_8)
t_1 = Segment(A, A_5)
a_1 = Segment(A, A_7)
b_1 = Segment(A, A_6)
c_1 = Segment(A_6, A_7)
d_1 = Segment(A_7, A_8)
e_1 = Segment(A_5, A_8)
f_1 = Segment(A_5, A_6)
poly2, a_2, a_3, a_4, a_5 = Polygon(A_1, A_2, A_3, A_4)
poly4, a_9, a_{10}, a_{11} = Polygon(A_1, A_2, A)
poly3, a_6, a_7, a_8 = Polygon(A_1, A_4, A)
poly5, a_{12}, a_{13}, a_{14} = Polygon(A_3, A_4, A)
poly6, a_{15}, a_{16}, a_{17} = Polygon(A_3, A_2, A)
poly7, a_{18}, a_{19}, a_{20} = Polygon(A_7, A_8, A)
poly8, a_{21}, a_{22}, a_{23} = Polygon(A_7, A_6, A)
poly9, a_{24}, a_{25}, a_{26} = Polygon(A_5, A_6, A)
poly10, a_{27}, a_{28}, a_{29} = Polygon(A_5, A_8, A)
poly11, a_{30}, a_{31}, a_{32}, a_{33} = Polygon(A_8, A_7, A_6, A_5)
t = 1 (slider from 0 to 1, step 0.1)
A_9: A_1 - t * u - t * v - sqrt(2) * t * w
A_10: A_2 + t * u - t * v - sqrt(2) * t * w
A_11: A_3 + t * u + t * v - sqrt(2) * t * w
A_12: A_4 - t * u + t * v - sqrt(2) * t * w
A_13: A - t * sqrt(2) * w + t * u + t * v
A_14: A - t * sqrt(2) * w - t * u + t * v
A_15: A - t * sqrt(2) * w - t * u - t * v
A_16: A - t * sqrt(2) * w + t * u - t * v
poly12, a_11, a_12, a_{34}, a_10 = Polygon(A_11, A_12, A_9, A_10)
poly13, a_13, a_14, a_15, a_16 = Polygon(A_13, A_14, A_15, A_16)
poly14, a_{35}, a_{36}, a_{37} = Polygon(A_13, A_14, A)
poly15, a_{38}, a_{39}, a_{40} = Polygon(A_15, A_14, A)
poly16, a_{41}, a_{42}, a_{43} = Polygon(A_15, A_16, A)
poly17, a_{44}, a_{45}, a_{46} = Polygon(A_13, A_16, A)
poly18, a_{47}, a_{48}, a_{49} = Polygon(A_10, A_11, A)
poly19, a_{50}, a_{51}, a_{52} = Polygon(A_12, A_11, A)
poly20, a_{53}, a_{54}, a_{55} = Polygon(A_12, A_9, A)
poly21, a_{56}, a_{57}, a_{58} = Polygon(A_10, A_9, A)
g_1 = Segment(A_11, A_10)
i_1 = Segment(A_10, A_9)
j_1 = Segment(A_9, A_12)
k_1 = Segment(A_12, A_11)
l_1 = Segment(A_9, A)
m_1 = Segment(A_12, A)
n_1 = Segment(A_11, A)
p_1 = Segment(A_10, A)
q_1 = Segment(A, A_15)
r_1 = Segment(A, A_14)
s_1 = Segment(A, A_13)
b_2 = Segment(A, A_16)
c_2 = Segment(A_16, A_13)
d_2 = Segment(A_13, A_14)
e_2 = Segment(A_14, A_15)
f_2 = Segment(A_15, A_16)
g_2 = Segment(A_16, A_13)
r = 1 (slider from 0.1 to 5, step 0.1)
c1 = CurveCartesian(x(O + r * cos(θ) * u + r * sin(θ) * v + t * w), y(O + r * cos(θ) * u + r * sin(θ) * v + t * w), θ, 0, 6.283185307179586)
c2 = CurveCartesian(x(O + r * cos(θ) * u + r * sin(θ) * v - t * w), y(O + r * cos(θ) * u + r * sin(θ) * v - t * w), θ, 0, 6.283185307179586)
Tangent(O, c1)
Tangent(O, c1)
Tangent(O, c1)
Tangent(O, c1)
Tangent(O, c1)
Tangent(O, c1)
Tangent(O, c1)