Flexi axolotl

A segmented, articulated axolotl with documented bend envelopes, segment clearances, wall thickness, and renders, with no print required.

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/flexi-axolotl
Version
0.2.0
Published by
onyx
Updated
14 Nov 2026

Build this spec

Build the spec at https://spekkr.com/onyx/flexi-axolotl/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?

Flexi axolotl: heroFlexi axolotl: 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.

    Flexi axolotl

    What this builds

    An original articulated axolotl, modelled as code: a chain of segments, a head, a tail, and optional gills. Segment clearances and a documented bend envelope are checked so a scripted bend does not cause illegal intersection. Wall thickness is measured. Renders are written. No physical print is required.

    Read spekkr.inputs.json first. length sizes the animal. gap is the segment clearance. wall is the shell. gills and stand add features. tool is the modeller.

    Out of scope

    • A licensed character, or a commercial model's exact tooling.
    • A physical print, or a claim of biology.
    • Paint or electronics.

    Requirements

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

    R1. Clearances and bend
    • At rest, neighbouring segments are clear by gap within 0.05 mm.
    • A scripted bend (fixtures/axolotl-bend.json, angles along the chain, within the envelope in that file) produces no illegal intersection.
    • A bend past the envelope is refused or reported as out of range. Min wall is at least wall, except documented thin gill tips down to 1.0 mm.

    Accept when: rest gaps match, the in-envelope bend is clean, an over-envelope bend is refused, and walls pass.

    R2. Files and frames
    • A print-in-place mesh (or part files plus a joined rest pose). Renders: rest, bent, a gill close-up, and a logical explode.
    • One command builds, bends, checks, and writes the renders. No print.

    Accept when: the command passes for both tools, and the four renders are written.

    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

    Segment clearances and a documented bend envelope are checked so an in-range bend does not intersect illegally. Wall thickness is measured. Rest and bent renders are written. 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, how far it may bend, and that a print is optional.
    # Flexi axolotl
    
    ## What this builds
    
    An original articulated axolotl, modelled as code: a chain of segments, a
    head, a tail, and optional gills. Segment clearances and a documented bend
    envelope are checked so a scripted bend does not cause illegal
    intersection. Wall thickness is measured. Renders are written. No physical
    print is required.
    
    Read `spekkr.inputs.json` first. `length` sizes the animal. `gap` is the
    segment clearance. `wall` is the shell. `gills` and `stand` add features.
    `tool` is the modeller.
    
    ## Out of scope
    
    - A licensed character, or a commercial model's exact tooling.
    - A physical print, or a claim of biology.
    - Paint or electronics.
    
    ## Requirements
    
    Each requirement has an id. Checks name the id they cover.
    
    ### R1. Clearances and bend
    
    - At rest, neighbouring segments are clear by `gap` within 0.05 mm.
    - A scripted bend (`fixtures/axolotl-bend.json`, angles along the chain,
      within the envelope in that file) produces no illegal intersection.
    - A bend past the envelope is refused or reported as out of range. Min
      wall is at least `wall`, except documented thin gill tips down to 1.0
      mm.
    
    Accept when: rest gaps match, the in-envelope bend is clean, an
    over-envelope bend is refused, and walls pass.
    
    ### R2. Files and frames
    
    - A print-in-place mesh (or part files plus a joined rest pose). Renders:
      rest, bent, a gill close-up, and a logical explode.
    - One command builds, bends, checks, and writes the renders. No print.
    
    Accept when: the command passes for both tools, and the four renders are
    written.
    
    ### 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
    
    Segment clearances and a documented bend envelope are checked so an
    in-range bend does not intersect illegally. Wall thickness is measured.
    Rest and bent renders are written. 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, how far it may bend, and that a print is
      optional.
    

    Open spec.md as plain text

  • design.md Segment gaps, the bend envelope, and wall checks.

    Design

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

    Segments

    A count and the rest length of each, scaled so the total is length, in fixtures/axolotl-segments.json. The envelope is a max angle per joint (for example 25 degrees), in the same family of files.

    Collision

    Allowed contact is only at the designed links, with a 0.05 mm band. Other overlaps fail.

    Inputs

    KeyLabelDefaultNotes
    lengthLength, mm180From 100 to 260, nose to tail tip in the rest pose.
    gapSegment gap, mm0.3From 0.2 to 0.45.
    wallWall thickness, mm1.8From 1.2 to 3.
    gillsExternal gillsonThree pairs of gill stalks, print-in-place or fused as in design.md.
    standA small standoffA peg under the chest.
    toolModelling toolcadqueryCadQuery writes STEP and STL. OpenSCAD writes STL.

    Acceptance at the defaults

    Millimetres. Default length (nose to tail tip, relaxed) is 180, segment count 16, gap 0.30, gills on, stand off.

    QuantityValueToleranceSource
    Relaxed length180.000.40Along the body centreline
    Segment count160Head and tail included
    Print-in-place gap0.300.02Between living hinges or balls
    Gill pairs30When gills is on
    Minimum wall1.600.10Except a documented hinge film, 0.8

    A bend of the body to a 60 mm radius must not cause a self-intersection except in listed hinge contact. The mesh is one printable piece.

    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/relaxed.pngFlexi axolotl 180 mm, 16 segments
    shots/bent.pngBody bent, gills on

    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. Segment clearances and a documented bend envelope are checked so an in-range bend does not intersect illegally. Wall thickness is measured. Rest and bent renders are written. 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.
    
    ## Segments
    
    A count and the rest length of each, scaled so the total is `length`, in
    `fixtures/axolotl-segments.json`. The envelope is a max angle per joint
    (for example 25 degrees), in the same family of files.
    
    ## Collision
    
    Allowed contact is only at the designed links, with a 0.05 mm band. Other
    overlaps fail.
    
    ## Inputs
    
    | Key | Label | Default | Notes |
    | --- | --- | --- | --- |
    | `length` | Length, mm | 180 | From 100 to 260, nose to tail tip in the rest pose. |
    | `gap` | Segment gap, mm | 0.3 | From 0.2 to 0.45. |
    | `wall` | Wall thickness, mm | 1.8 | From 1.2 to 3. |
    | `gills` | External gills | on | Three pairs of gill stalks, print-in-place or fused as in design.md. |
    | `stand` | A small stand | off | A peg under the chest. |
    | `tool` | Modelling tool | cadquery | CadQuery writes STEP and STL. OpenSCAD writes STL. |
    
    ## Acceptance at the defaults
    
    Millimetres. Default length (nose to tail tip, relaxed) is 180, segment
    count 16, `gap` 0.30, gills on, stand off.
    
    | Quantity | Value | Tolerance | Source |
    | --- | --- | --- | --- |
    | Relaxed length | 180.00 | 0.40 | Along the body centreline |
    | Segment count | 16 | 0 | Head and tail included |
    | Print-in-place gap | 0.30 | 0.02 | Between living hinges or balls |
    | Gill pairs | 3 | 0 | When `gills` is on |
    | Minimum wall | 1.60 | 0.10 | Except a documented hinge film, 0.8 |
    
    A bend of the body to a 60 mm radius must not cause a self-intersection
    except in listed hinge contact. The mesh is one printable piece.
    
    ## 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/relaxed.png` | Flexi axolotl  180 mm, 16 segments |
    | `shots/bent.png` | Body bent, gills on |
    
    
    ## 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. Segment clearances and a documented bend envelope are checked so an
    in-range bend does not intersect illegally. Wall thickness is measured.
    Rest and bent renders are written. 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. Clearances and bend (R1). Build what R1. Clearances and bend asks for, to the numbers in design.md. In particular: At rest, neighbouring segments are clear by gap within 0.05 mm. Check: the R1. Clearances and bend 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 print-in-place mesh (or part files plus a joined rest pose). Renders: rest, bent, a gill close-up, and a logical explode. 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. **Clearances and bend (R1).** Build what `R1. Clearances and bend` asks
    for, to the numbers in `design.md`. In particular: At rest, neighbouring
    segments are clear by `gap` within 0.05 mm.
       Check: the `R1. Clearances and bend` 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 print-in-place mesh (or
    part files plus a joined rest pose). Renders: rest, bent, a gill close-up,
    and a logical explode.
       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.014 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.