Fidget clicker

A print-in-place clicker: gaps, tooth clearance, and a kinematic sweep of the click travel, with renders, and no tactile-feel check.

This is a CAD spec on Spekkr, published by onyx. It is listed with the other specs. Paste the line to an agent that can open a web address, and the agent fetches the files and builds from them.

Spec
onyx/fidget-clicker
Version
0.2.0
Published by
onyx
Updated
15 Nov 2026

Build this spec

Build the spec at https://spekkr.com/onyx/fidget-clicker/start.md.

Paste this to your AI agent. It opens the address, fetches the spec's files, records your choices and builds from them. Nothing to install, no account.

Published by onyx.

What does the result look like?

Fidget clicker: heroFidget clicker: detail

What can I customize?

Modelling tool CadQuery writes STEP and STL. OpenSCAD writes STL.

Your choices go into the line you copy. Anything else is yours to edit, but it leaves the tested path.

What do I get?

  • spec.md Requirements and acceptance checks.

    Fidget clicker

    What this builds

    A small clicker designed to print in one piece: a rotor, teeth, and a body, with a documented as-printed gap. A kinematic sweep of the click travel checks that teeth interfere as intended at the click, and clear at the rest, without welding the rotor to the body. Renders are written. The tactile feel of the click is out of scope.

    Read spekkr.inputs.json first. length sizes the body. gap is the print-in-place clearance. teeth is the count. cap and lanyard add features. tool is the modeller.

    Out of scope

    • The tactile feel of a click, or a physical print.
    • A spring made of metal.
    • A branded fidget toy's exact geometry.

    Requirements

    Each requirement has an id. Checks name the id they cover.

    R1. Gaps and kinematics
    • At rest, the rotor is clear of the body by gap within 0.05 mm, on a minimum-distance check, so the print does not weld.
    • A sweep of one click (the angle in design.md) finds a tooth interference band (overlap or a gap under 0.05 mm) at the click, and a clearance at mid-travel, as in the file.
    • The cap, if on, does not collide with the rotor through the sweep, except at the intended shaft journal with clearance gap.

    Accept when: the rest gap, the click interference, and the mid-travel clearance match the file.

    R2. Files and frames
    • A single print-in-place mesh (and a logical exploded view for a render), watertight as a union with intended gaps as voids.
    • Renders: closed rest, mid-click, a logical explode, and a section through the teeth.
    • One command builds, sweeps, and writes the renders. No print, no feel test.

    Accept when: the command passes for both tools, and a zero-gap input is refused or fails the weld check.

    R3. Inputs
    • Numeric inputs are read from spekkr.inputs.json and must stay inside the ranges in the Inputs table in design.md.
    • A value outside a range is refused before modelling, with a message that names the key.
    • Options add or remove the features in that table. The tool swap selects CadQuery or OpenSCAD; both must meet the same numbers.

    Accept when: default and one out-of-range value are handled as above, and a second legal input set still matches the formulas in design.md.

    R4. Checks and report
    • One command builds the model at the defaults and at the person's inputs, measures it against design.md, and writes a short report.
    • A model broken on purpose, for example a wall thinner than wall, must fail the report.
    • The command exports the files this spec asks for (STL, and STEP when the tool can). No physical print is required.

    Accept when: the report says pass at the defaults and at the person's inputs, and fail on a deliberately broken model.

    Verification

    Print-in-place gaps and tooth interference or clearance are measured, and a kinematic sweep of the click travel is checked against a file. Renders are written. Tactile feel is not a CI check. No physical print is required.

    Definition of done

    • Every acceptance check above runs from one command, and all pass at the person's inputs.
    • A README says how to export the piece, how the gap is meant to print, and that feel is not a check.
    # Fidget clicker
    
    ## What this builds
    
    A small clicker designed to print in one piece: a rotor, teeth, and a
    body, with a documented as-printed gap. A kinematic sweep of the click
    travel checks that teeth interfere as intended at the click, and clear at
    the rest, without welding the rotor to the body. Renders are written. The
    tactile feel of the click is out of scope.
    
    Read `spekkr.inputs.json` first. `length` sizes the body. `gap` is the
    print-in-place clearance. `teeth` is the count. `cap` and `lanyard` add
    features. `tool` is the modeller.
    
    ## Out of scope
    
    - The tactile feel of a click, or a physical print.
    - A spring made of metal.
    - A branded fidget toy's exact geometry.
    
    ## Requirements
    
    Each requirement has an id. Checks name the id they cover.
    
    ### R1. Gaps and kinematics
    
    - At rest, the rotor is clear of the body by `gap` within 0.05 mm, on a
      minimum-distance check, so the print does not weld.
    - A sweep of one click (the angle in `design.md`) finds a tooth
      interference band (overlap or a gap under 0.05 mm) at the click, and a
      clearance at mid-travel, as in the file.
    - The cap, if on, does not collide with the rotor through the sweep,
      except at the intended shaft journal with clearance `gap`.
    
    Accept when: the rest gap, the click interference, and the mid-travel
    clearance match the file.
    
    ### R2. Files and frames
    
    - A single print-in-place mesh (and a logical exploded view for a render),
      watertight as a union with intended gaps as voids.
    - Renders: closed rest, mid-click, a logical explode, and a section
      through the teeth.
    - One command builds, sweeps, and writes the renders. No print, no feel
      test.
    
    Accept when: the command passes for both tools, and a zero-gap input is
    refused or fails the weld check.
    
    ### R3. Inputs
    
    - Numeric inputs are read from `spekkr.inputs.json` and must stay inside
      the ranges in the Inputs table in `design.md`.
    - A value outside a range is refused before modelling, with a message that
      names the key.
    - Options add or remove the features in that table. The `tool` swap
      selects CadQuery or OpenSCAD; both must meet the same numbers.
    
    Accept when: default and one out-of-range value are handled as above, and
    a second legal input set still matches the formulas in `design.md`.
    
    ### R4. Checks and report
    
    - One command builds the model at the defaults and at the person's inputs,
      measures it against `design.md`, and writes a short report.
    - A model broken on purpose, for example a wall thinner than `wall`, must
      fail the report.
    - The command exports the files this spec asks for (STL, and STEP when the
      tool can). No physical print is required.
    
    Accept when: the report says pass at the defaults and at the person's
    inputs, and fail on a deliberately broken model.
    
    ## Verification
    
    Print-in-place gaps and tooth interference or clearance are measured, and
    a kinematic sweep of the click travel is checked against a file. Renders
    are written. Tactile feel is not a CI check. No physical print is
    required.
    
    ## Definition of done
    
    - Every acceptance check above runs from one command, and all pass at the
      person's inputs.
    - A README says how to export the piece, how the gap is meant to print,
      and that feel is not a check.
    

    Open spec.md as plain text

  • design.md Print-in-place gaps, the tooth sweep, and section renders.

    Design

    This file fixes the geometry. How the model's code is organised is up to you, as long as the numbers here hold.

    Click

    A click is 360 / teeth degrees. The tooth profile and the expected min-distance at rest, mid, and click are fixtures/clicker-sweep.json.

    Mesh

    The exported STL is one printable piece. Voids are the gaps. Min wall 1.6 mm except the tooth tip (1.2 mm).

    Inputs

    KeyLabelDefaultNotes
    lengthBody length, mm60From 40 to 90.
    gapPrint-in-place gap, mm0.3From 0.2 to 0.5, the as-printed clearance.
    teethTooth count12From 8 to 18.
    capA closed caponA cap over the teeth, also print-in-place.
    lanyardA lanyard holeonA 4 mm hole at one end.
    toolModelling toolcadqueryCadQuery writes STEP and STL. OpenSCAD writes STL.

    Acceptance at the defaults

    Millimetres and degrees. length is 60, gap is 0.30, teeth is 12, cap and lanyard are on.

    QuantityValueToleranceSource
    Body length60.000.10length
    Print-in-place gap0.300.02gap
    Click angle30.00 deg0.50 deg360 / teeth
    Tooth tip minimum wall1.200.10Elsewhere 1.60
    Lanyard hole4.000.10Through, at the cap end

    The exported STL is one printable piece. Voids are the gaps. A kinematics sweep of one click has a documented min-distance at rest, mid-click and the click event; the build records those three distances.

    Screenshots

    These pictures are headless OpenSCAD renders of the reference model in reference/model.scad, at the default inputs. They are not drawings of a product that has not been modelled. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel.

    FileWhat it shows
    shots/closed.pngClicker 60 mm, 12 teeth
    shots/exploded.pngBody and print-in-place wheel, parted

    How to verify

    1. Build the model at the default inputs and at two other legal input sets.
    2. Measure every row of the acceptance table in this file; each must fall inside its tolerance. Use the solid itself or a mesh library on the exported STL, as design.md says for the chosen tool.
    3. Refuse at least one out-of-range input by name before modelling.
    4. Confirm each exported part is a manifold, watertight mesh, and that walls and print orientation hold where this file asks.
    5. Print-in-place gaps and tooth interference or clearance are measured, and a kinematic sweep of the click travel is checked against a file. Renders are written. Tactile feel is not a CI check. No physical print is required.
    # Design
    
    This file fixes the geometry. How the model's code is organised is up to
    you, as long as the numbers here hold.
    
    ## Click
    
    A click is `360 / teeth` degrees. The tooth profile and the expected
    min-distance at rest, mid, and click are `fixtures/clicker-sweep.json`.
    
    ## Mesh
    
    The exported STL is one printable piece. Voids are the gaps. Min wall 1.6
    mm except the tooth tip (1.2 mm).
    
    ## Inputs
    
    | Key | Label | Default | Notes |
    | --- | --- | --- | --- |
    | `length` | Body length, mm | 60 | From 40 to 90. |
    | `gap` | Print-in-place gap, mm | 0.3 | From 0.2 to 0.5, the as-printed clearance. |
    | `teeth` | Tooth count | 12 | From 8 to 18. |
    | `cap` | A closed cap | on | A cap over the teeth, also print-in-place. |
    | `lanyard` | A lanyard hole | on | A 4 mm hole at one end. |
    | `tool` | Modelling tool | cadquery | CadQuery writes STEP and STL. OpenSCAD writes STL. |
    
    ## Acceptance at the defaults
    
    Millimetres and degrees. `length` is 60, `gap` is 0.30, `teeth` is 12, cap
    and lanyard are on.
    
    | Quantity | Value | Tolerance | Source |
    | --- | --- | --- | --- |
    | Body length | 60.00 | 0.10 | `length` |
    | Print-in-place gap | 0.30 | 0.02 | `gap` |
    | Click angle | 30.00 deg | 0.50 deg | `360 / teeth` |
    | Tooth tip minimum wall | 1.20 | 0.10 | Elsewhere 1.60 |
    | Lanyard hole | 4.00 | 0.10 | Through, at the cap end |
    
    The exported STL is one printable piece. Voids are the gaps. A kinematics
    sweep of one click has a documented min-distance at rest, mid-click and
    the click event; the build records those three distances.
    
    ## Screenshots
    
    These pictures are headless OpenSCAD renders of the reference model in
    `reference/model.scad`, at the default inputs. They are not drawings of a
    product that has not been modelled. The first picture is the one Spekkr
    shows on the spec's card. A build may ship its own goldens; those goldens
    are of that build and do not have to match these frames pixel-for-pixel.
    
    | File | What it shows |
    | --- | --- |
    | `shots/closed.png` | Clicker  60 mm, 12 teeth |
    | `shots/exploded.png` | Body and print-in-place wheel, parted |
    
    
    ## How to verify
    
    1. Build the model at the default inputs and at two other legal input
    sets.
    
    2. Measure every row of the acceptance table in this file; each must fall
    inside its tolerance. Use the solid itself or a mesh library on the
    exported STL, as `design.md` says for the chosen tool.
    
    3. Refuse at least one out-of-range input by name before modelling.
    
    4. Confirm each exported part is a manifold, watertight mesh, and that
    walls and print orientation hold where this file asks.
    
    5. Print-in-place gaps and tooth interference or clearance are measured,
    and a kinematic sweep of the click travel is checked against a file.
    Renders are written. Tactile feel is not a CI check. No physical print is
    required.
    

    Open design.md as plain text

  • tasks.md Build tasks in order, each with a check.

    Tasks

    Work in order. Finish a task's check before starting the next.

    1. Set up. Install the tool in the tool input (CadQuery or OpenSCAD) and a mesh library for the checks. Read spekkr.inputs.json into one place at the top of the model. Check: an empty or trivial model is written and read back, and the inputs are visible in that source.
    2. Gaps and kinematics (R1). Build what R1. Gaps and kinematics asks for, to the numbers in design.md. In particular: At rest, the rotor is clear of the body by gap within 0.05 mm, on a minimum-distance check, so the print does not weld. Check: the R1. Gaps and kinematics acceptance checks pass.
    3. Files and frames (R2). Build what R2. Files and frames asks for, to the numbers in design.md. In particular: A single print-in-place mesh (and a logical exploded view for a render), watertight as a union with intended gaps as voids. Check: the R2. Files and frames acceptance checks pass.
    4. Inputs (R3). Build what R3. Inputs asks for, to the numbers in design.md. In particular: Numeric inputs are read from spekkr.inputs.json and must stay inside the ranges in the Inputs table in design.md. Check: the R3. Inputs acceptance checks pass.
    5. Checks and report (R4). Build what R4. Checks and report asks for, to the numbers in design.md. In particular: One command builds the model at the defaults and at the person's inputs, measures it against design.md, and writes a short report. Check: the R4. Checks and report acceptance checks pass.
    6. Goldens and the report. Render the documented views of the default model. Run the one-command report at the defaults, at the person's inputs, and at one more legal set. Check: the report says pass throughout, and the rendered views are written next to the model.
    7. Finish. Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in spec.md is true.
    # Tasks
    
    Work in order. Finish a task's check before starting the next.
    
    1. **Set up.** Install the tool in the `tool` input (CadQuery or OpenSCAD)
    and a mesh library for the checks. Read `spekkr.inputs.json` into one
    place at the top of the model.
       Check: an empty or trivial model is written and read back, and the
    inputs are visible in that source.
    
    2. **Gaps and kinematics (R1).** Build what `R1. Gaps and kinematics` asks
    for, to the numbers in `design.md`. In particular: At rest, the rotor is
    clear of the body by `gap` within 0.05 mm, on a minimum-distance check, so
    the print does not weld.
       Check: the `R1. Gaps and kinematics` acceptance checks pass.
    
    3. **Files and frames (R2).** Build what `R2. Files and frames` asks for,
    to the numbers in `design.md`. In particular: A single print-in-place mesh
    (and a logical exploded view for a render), watertight as a union with
    intended gaps as voids.
       Check: the `R2. Files and frames` acceptance checks pass.
    
    4. **Inputs (R3).** Build what `R3. Inputs` asks for, to the numbers in
    `design.md`. In particular: Numeric inputs are read from
    `spekkr.inputs.json` and must stay inside the ranges in the Inputs table
    in `design.md`.
       Check: the `R3. Inputs` acceptance checks pass.
    
    5. **Checks and report (R4).** Build what `R4. Checks and report` asks
    for, to the numbers in `design.md`. In particular: One command builds the
    model at the defaults and at the person's inputs, measures it against
    `design.md`, and writes a short report.
       Check: the `R4. Checks and report` acceptance checks pass.
    
    6. **Goldens and the report.** Render the documented views of the default
    model. Run the one-command report at the defaults, at the person's inputs,
    and at one more legal set.
       Check: the report says pass throughout, and the rendered views are
    written next to the model.
    
    7. **Finish.** Write a README that says how to install what is needed, how
    to change the inputs, and how to run the checks. Run the one command from
    a clean folder.
       Check: every item under Definition of done in `spec.md` is true.
    

    Open tasks.md as plain text

  • reference/model.scad A parametric OpenSCAD reference of the default model, used to make the listing pictures. A build may use CadQuery or OpenSCAD and does not have to start from this file.
  • shots/hero.png Studio hero of the default model.
  • shots/detail.png Closer studio still of a joint, pocket, or surface.

Is it for me?

Kind
CAD
Tools
CadQuery, OpenSCAD

What does it need?

Agent permissions
shell
Commands it runs
install CadQuery or OpenSCAD, whichever the tool input names install a mesh library, such as trimesh

What changed?

  • 0.2.015 Nov 2026Studio product shots from a shared Cycles rig (cyclorama, PLA materials), including a short loop when present.
  • 0.1.014 Nov 2026First version.

For agents: start.md says how to build this spec, spec.json holds everything on this page, and bundle.tar.gz holds its files.