Skip to content

Support authored snap-release geometry states and scoped unverified contact diagnostics #5282

Open

Description

@seveibar

Problem

In the FLEX17 adjustable spur actuator, each of six 625ZZ bearings is retained by a split printed axle. Pulling a bearing across its undeformed retaining ears correctly produces cad_explosion_collision_error (about 1.2108 mm³ new swept intersection per bearing). The real operation requires squeezing the ears first. Current rigid translation checks cannot describe or verify that deformation.

Tested using tscircuit 0.0.3115 and CLI 0.1.2444 with JSCAD TSX compiled through jscad-fiber and @tscircuit/jscad-to-manifold. The site workaround uses --ignore-errors plus a strict external audit of exactly the known contacts; diagnostics remain in Circuit JSON. This is an acknowledged prototype exception, not a pattern to standardize.

API/semantics proposal: tscircuit/props#994 (draft RFC, no implementation). A self-contained actuator fixture is proposed in tscircuit/3d-viewer#1124; a minimized axle/ring fixture should be used here instead of requiring a hosted site.

Proposed implementation slices

  1. Create a minimal split axle + bearing-ring regression. A nominal 5 mm bearing bore must collide with the retaining head during axial withdrawal. An authored compressed state should clear the same bore.
  2. Resolve named host geometry states without changing part identity, host transforms, BOM, or nominal STL. Viewer and checker must consume the same resolved state/trajectory. Missing states or unsupported transitions report incomplete verification.
  3. Preserve the distinction between a verified geometric path, an unexpected collision, an annotated-but-unverified manual/deformation contact, and incomplete checking. This is not a PETG strain/force solver.
  4. After the props/Circuit JSON contract is agreed, resolve contact annotations to a specific move, pair and spatial region (optionally a progress interval), with required rationale. Keep the measured diagnostic and provenance. Do not exempt an entire pair or classify by volume alone.
  5. Coordinate an explicit CLI policy for annotated unverified contacts, without allowing unrelated errors or missing collision geometry.

Acceptance criteria

  • The rigid baseline still reports the six real retention contacts.
  • Authored compressed geometry clears the ring; endpoint-only state swaps do not imply verified transition clearance.
  • Add an unrelated obstacle: it still fails, including when its overlap volume is smaller than the retention contact.
  • Contact outside the annotation region, in a later move, or against another part still fails.
  • Missing geometry/unsupported state transitions cannot be relabeled as expected contact.
  • Previously displaced parts remain collision obstacles; parent/child identities remain stable.
  • Scrubbing forward/backward and Reset reconstruct deterministic geometry states.
  • Nominal print export stays unchanged; the viewer exposes unverified contacts rather than silently hiding them.

Start with the minimized reproduction and structured status contract, then implement the agreed schema. Rotation and synchronized motion are a separate slice of the linked RFC.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions