AutoMovie API
    Preparing search index...

    Namespace AutoMovieSolidIntersection

    The curve where an attached part's surface meets its host's: the surface-surface intersection of the solid merge and diff, traced by a declared parameter t over one turn.

    The part A(s, phi) has a periodic phase phi (a limb, a digit, a muscle head, a cutter); the host B(y, theta) is any surface. A point of the curve solves four equations in the four unknowns x = (s, phi, y, theta):

    F(x) = A(s, phi) - B(y, theta) = 0      (three, the meeting)
    g(x, t) = 0                               (one, the parameter)
    

    by Newton's method with the Jacobian J = [A_s, A_phi, -B_y, -B_theta; grad g] (Patrikalakis, Maekawa and Cho, Shape Interrogation for CAD and Manufacturing, ch. 5). Three parameters:

    • phase: g = phi - t, the part's phase. Each phase's station line crosses the host once near the curve: a limb, a digit, the neck.
    • angle: g = (A - c) . m(t), the angle t about an axis through the footprint's centre c with normal n, m(t) = -sin t e1 + cos t e2 square to the half plane of direction d(t) = cos t e1 + sin t e2 (e1 the reference square to n, e2 = n x e1). A part lying along its host (a groove, a muscle head, a crease, a nail fold), whose station lines run along the host and cross it twice or never, is traced so, since every half plane about its footprint's centre meets the curve once.
    • arc: requested normalized arclength, for a long thin part along its host (a lid, a lip, a helix rim, a groove) whose half planes about any one centre cross its curve twice; the loop is first walked by pseudo-arclength continuation (Allgower and Georg, Numerical Continuation Methods, 1990, ch. 2). The current equal-chord spline guide approximates this request rather than certifying exact arclength.

    Differentiating F(x(t)) = 0 and g(x(t), t) = 0 gives its local implicit jet by the implicit function theorem, with no difference of traced points:

    J x'  = -(0, 0, 0, g_t)
    J x'' = -(Q_A - Q_B, Q_g)
    Q_A = A_ss s'^2 + 2 A_sphi s' phi' + A_phiphi phi'^2,  Q_B the same in B
    Q_g = Q_A . m + 2 P' . m' + (P - c) . m''  (angle; 0 for phase)
    C'  = A_s s' + A_phi phi',   C'' = Q_A + A_s s'' + A_phi phi''
    

    with P = A, m' = -d, m'' = -m, g_t = -(P - c) . d (angle) or -1 (phase); each line collects every second-order term of the chain rule except the one linear in x''.

    Tracing is continuation in t from a seed (a landmark's feet on both surfaces, refined here by Newton): each step predicts by the second-order Taylor step of that jet and corrects by Newton, and a step whose correction fails, or lands farther from its prediction than a quarter of the step's own length (a jump to another branch), is halved. After one turn of t, a chart displacement scaled by the starting surface speeds checks closure within ten tolerances after whole-period phase shifts. This finite observation does not certify a globally closed, unique branch.

    Under regular surface charts, J is singular where the curve does not cross the parameter's level sets: at a tangential contact (normals parallel), or where the curve turns along the part's stations (phase) or along the half plane (angle). A failed solve or an observed grazing sample is reported; contacts between the finite observations are not excluded by that check.

    CLOSING_STEPS
    WALK_POINTS
    WALK_STEPS
    atlas
    beyond
    trace