ƒ flexi forge Behind the scenes
One idea at a time. Open the details when you want more.

01 / SEE THE RESULT

How we
vibe-coded
Flexi Forge.

Watch what we asked, what AI returned, and why the next request changed.

For this lesson, vibe coding means describing, trying, and revising software with an AI coding assistant. People still decide what to build and how to check it.

Look first: what decisions had to happen before two flat drawings could become this keychain?

Teacher thinks aloud · 5 min

“I’ll show the result for a minute, then rewind. My experience helps me notice the decisions hidden inside something that looks simple.”

Ask: which choices came from students, which from a teacher, and which needed a technical check?

Open the real keychain workshop if time allows, then return here. Keep the tool tour to 60–90 seconds.

OUR RECURRING EXAMPLE

A base outline with a keyring hole and separate raised star artworkBase: 2 mmRaised top: +2 mm
Teaching diagram of the workshop example. Total height: 4 mm. The keyring hole stays open.
PeopleChoose the need and success
AI + toolsHelp implement and revise
People + checksDecide what evidence is enough
Open the real keychain workshop (new tab)
Words we’re using · a small glossary
SVG
A 2D vector drawing: instructions for lines, curves, and shapes.
DXF
A drawing exchange file that CAD software can read as flat sketch geometry.
STL / 3MF
3D model files. This tool’s STL has no filament colors; its two-color 3MF keeps named color parts.
Slicer
A program that combines the model with printer and material settings to make print instructions.
Source code
The instructions people and AI write to make the software behave.
Two loops: making the tool and using the tool

Building the software: a person describes a task; AI helps write a candidate; the person tries it, gathers evidence, and asks for a revision. That is the back-and-forth we are studying.

Making an object: a student uploads drawings and chooses settings. The browser runs the code already written to build the model. Those drawing tools do not need an AI call.

The conversation replay and practice reply here are prepared teaching examples. They do not generate a live AI response.

02 / FIND THE NEED

Start with someone
trying to do something.

The project grew because students and a teacher kept noticing the next useful thing.

A

Two SVGs, one keychain

A student can design a base and top artwork in a vector editor. The tool gives them height and preserves placement.

Our main build story
B

The old leaf still showed

A failed import left an earlier model visible. That made the screen easy to misread.

Our debugging story
C

A drawing for Onshape

Students needed a path from xTool artwork to an editable CAD sketch, with the right size.

Our evidence story

Try: name a task you find awkward. Say who is doing it, what they want, and where they get stuck.

Teacher thinks aloud · 3 min

“Before I ask for a feature, I try to describe the task. ‘A student wants to keep their drawing’s placement’ gives us more to work with than ‘make this better.’”

Ask: what would the student be able to do afterward?

What the history tells us

These cases come from the Flexi Forge development conversation and the project’s implementation notes. The small demonstrations in this lesson are labelled reconstructions, rather than screenshots of earlier versions.

Other student needs led to solid separate items, Fall characters, multicolor export, and optional edge finishing. We’ll keep returning to three examples so we can see how the decisions connect.

03 / BORROW EXPERIENCED HABITS

Choose a small
useful version.

Years of practice become questions you can learn to ask.

  • Who needs this, and what are they trying to do?
  • What is the smallest version that helps?
  • What example would show it works?
  • What already works that we must protect?

Make a choice: which first version lets us learn something useful sooner?

Teacher thinks aloud · 5 min

“I can imagine a whole CAD program. But two drawings, two heights, and one export give us a task we can finish and inspect. A small version makes the next decision clearer.”

Ask: what could we leave for later without losing the student’s goal?

A SCOPE DECISION

Useful words: scope and constraint

Scope is the work included in this version. A constraint is a rule the solution must respect, such as keeping the keyring hole open.

04 / FOLLOW THE CONVERSATION

Each reply gives us
a next decision.

Slow down five exchanges from the keychain’s development.

Select a turn. Read the request and AI response, then explain what you would inspect before continuing.

Pause: which of the assistant’s added choices would you inspect first?

Describe the need. Read the result. Try an example. Send a more specific follow-up.

Teacher thinks aloud · 5 min

“I’m comparing what we asked for with what the assistant actually did. Sometimes I need to answer a question; sometimes I need to report a failure; sometimes I need to ask for evidence.”

Ask: what fact makes the next request useful? Do not judge it just by how polished it sounds.

Discuss two turns together. Let pairs choose another turn and explain the next move.

What a brief is, and how it evolves

A brief describes the person, goal, one success example, constraints, and a check. The first brief can be small. Inspection and conversation reveal which rules need to become more specific.

Example: two SVGs; 2 mm each; preserved placement and hole; report clipped artwork; inspect a 4 mm model. The later multicolor brief adds named parts and filament assignments.

RECORDED DEVELOPMENT · SHORTENED REPLIES

Turn 1 of 5 · A small first version

Actual request excerpts

“user can upload two svgs” · “2mm for each level”

AI returned · summary

The assistant added separate base and top uploads, a 2 mm default for each, alignment choices, a preview, and a fused STL export. It described preserving holes and trimming unsupported top artwork.

What this gave us to inspect

The first result made a useful single-color keychain. It also introduced decisions the short request had left open: drawing coordinates, centering, and clipping.

Why the next move matters

Try the candidate before adding more. A concrete example reveals whether the assistant’s choices match the student’s task.

A follow-up you can borrow · teaching reconstruction

Use the 2 mm + 2 mm example. Show the actual total height and keyring hole. Explain what happens if the top extends beyond the base.

Read all five exchanges · also included when printing

    This is a shortened account of the recorded exchanges. Observations and sample follow-ups make the reasoning teachable; they are not a verbatim transcript or a claim about private thoughts.

    05 / PROTECT WHAT WORKS

    Say what must survive
    the next change.

    “lol dont break our site.”

    Actual teacher request before the SVG → DXF addition

    Keep the working paths

    The new converter got its own page and code. Existing print modes and hinge mechanics stayed separate.

    Keep the same facts

    The DXF must carry the requested millimeter size. A curve-quality choice should not turn a closed outline into an open one.

    Keep a way back

    Save the known good source version before the next change. Keep original student drawings and editable projects too.

    Borrow this sentence: “Add ___, while preserving ___. Check it using ___.”

    How to steer the next implementation · teaching reconstruction

    Add the SVG-to-DXF converter on its own page. Keep the existing studio, Fall, and keychain workflows working. Use one known 60 mm drawing to check output scale and closed outlines. Report which files changed and what checks passed.

    Why this helps: it tells AI what to change, what to preserve, and what evidence to produce. If it changes unrelated code, ask it to explain that choice before continuing.

    Teacher thinks aloud · 3 min

    “New code can affect something we weren’t trying to change. I name the old behavior I care about, then check it again. That repeat check is called a regression check.”

    Ask: if we add a warning, what should still happen with a valid file?

    When another AI reviews the work

    Fresh agents helped review usability and teaching explanations. A different perspective can find missed problems, but it can also be mistaken. Turn its findings into things to inspect or test; agreement alone is not proof.

    06 / OPEN THE MACHINE

    Follow one choice
    into the code.

    You can understand one instruction before understanding the whole program.

    The SVG reader turns drawings into 2D shapes. The geometry engine gives those shapes thickness. The exporter writes their triangle surfaces into a model file.

    Change the two heights. Predict the new total and where the top starts.

    2 mm + 2 mm = 4 mm total.

    Teacher thinks aloud · 5 min

    “I’m tracking one value through the program. If the base is 3 mm, the top should start at 3 mm. I can use that relationship to check both the explanation and the model.”

    Ask: what would happen if we forgot to move the top upward?

    SIDE VIEW · TEACHING DIAGRAM

    Base · 2 mmTop · +2 mmZ = 0 · flat bottom
    top.extrude(2)
       .translate([0, 0, 2]);

    extrude gives a flat shape height.
    translate moves it: [X, Y, Z]. Here only Z changes.

    Teaching shorthand for the separate top used in 3MF. This experiment changes the diagram, not your workshop project.

    Ask AI to explain one choice · teaching reconstruction

    Point to the code that places the top above the base. Explain it using 2 mm + 2 mm. If I change the base to 3 mm, predict the top’s start and total height. Keep the explanation tied to the actual source.

    Then inspect: the top should start at Z = 3 mm and total 5 mm. Compare the explanation with this diagram and the real excerpt below. AI explanations need checking too.

    Compare with the real source
    const colorTop = keep(
      keep(supported.extrude(topThickness))
        .translate([0, 0, baseThickness])
    );

    Reformatted excerpt from layers-geometry.js (new tab). supported is artwork clipped to the base. keep() tracks temporary engine objects for cleanup.

    The fused STL uses a tiny internal overlap to join the solids. The two-color 3MF uses parts that meet at the boundary without that overlap.

    07 / DEBUG THE EXPERIENCE

    A convincing preview
    can tell the wrong story.

    A student uploaded separate items in Flexi mode. The import failed, but an earlier leaf stayed on screen.

    The student saw a model and reasonably wondered whether it belonged to the uploaded drawing.

    Before revealing the fix: what should the preview and Download button do after a failed import?

    Teacher thinks aloud · 6 min

    “The student’s confusion is evidence about the interface. I need to check the sequence that produced it, then make the screen’s promise match its actual state.”

    Ask: how could we distinguish ‘there is a model on screen’ from ‘this model matches my current drawing’?

    SCHEMATIC RECONSTRUCTION · NOT AN EARLY SCREENSHOT

    3D previewOld model still visible
    Earlier botanical example still shown after the failed import

    Previous leaf example

    Visible model · current file status unclear

    Before: the visible result and failed upload send conflicting messages.

    The next request to AI · teaching reconstruction

    I opened the leaf, stayed in Flexi mode, and uploaded separate shapes. The import failed, but the previous leaf stayed visible. Explain the mode mismatch and make the current file’s status clear. Prevent an unrelated export. Then repeat those steps and test recovery through Solid mode.

    Why this helps: AI gets a reproducible sequence, expected behavior, and a check. “Fix the preview” leaves all three unclear.

    The reusable bug report

    Steps: open the leaf example; stay in Flexi mode; upload disconnected items.
    Expected: explain the mode mismatch and prevent an unrelated export.
    Actual: the earlier leaf remains visible.
    Check the fix: repeat those steps, switch to Solid, rebuild, and inspect the resulting separate items.

    08 / CHECK THE HANDOFF

    “Looks right” is
    one piece of evidence.

    The SVG → DXF converter needed a drawing that another program could read at the correct size.

    An outline on screen could still export with the wrong units, an open boundary, or a broken file structure.

    Choose a check: what does it tell us, and what does it leave unanswered?

    Teacher thinks aloud · 4 min

    “The program that creates a file can repeat its own mistake in the preview. I ask a different reader to open the output, and check measurable facts like width and closed contours.”

    Ask: what evidence would we still need from the actual Onshape classroom workflow?

    SVG → DXF · FIXED TEACHING EXAMPLE

    60 mm

    Preview: a visual check

    Useful for missing shapes, orientation, and placement. It cannot by itself prove the exported units or CAD file structure.

    Recorded limit: independent DXF reopen checks passed. Direct Onshape import remained untested in that review.

    A failed check changed the next move · recorded history
    1. The converter preview looked usable.
    2. An independent DXF reader found missing table identifiers: labels the file reader expected in the DXF structure.
    3. The assistant corrected the export structure and reran the reader checks.
    4. The later exports reopened without repairs. Direct Onshape import still needed its own check.

    Borrow the follow-up: explain this reader error, correct the smallest relevant part, and reopen the exported files again. Keep millimeter scale and closed outlines intact.

    Open SVG → DXF (new tab)

    09 / MATCH THE CLAIM TO THE CHECK

    Say what we know.
    Say what we still need to try.

    Evidence recorded during Flexi Forge development
    CheckWhat it supportsWhat it leaves open
    Geometry checksLayer heights, holes, clipping, and separate color volumes in the tested examplesEvery possible student SVG
    Independent DXF readerTest exports reopen; units and open/closed paths can be inspectedDirect classroom import into Onshape
    Creality Print round tripA test 3MF retains named parts, colors, and filament assignmentsPhysical CFS operation and print quality
    Physical print · pendingFit, material behavior, and print results on the equipment usedThis was still pending in the recorded review

    “This check passed for these examples. This other check still needs to happen.”

    What to ask after AI says “done”
    • What did you change, and which assumption did you make?
    • Which inputs did you try, and what happened?
    • Can I inspect the output or repeat the check myself?
    • What remains unverified?

    A completion message helps direct your attention. The check’s output, the file, and the student’s actual experience are evidence to inspect.

    Optional: why two preview colors needed a 3MF change

    STL stores surface triangles without filament colors. Our two-color 3MF keeps Base and Raised top as aligned parts with separate assignments. Creality Print then slices the model using the actual printer and filament profiles.

    A color on screen, a color assignment in a file, and a physical spool loaded into CFS are three things to check. The exported 3MF contains no printer-ready toolpaths.

    Optional: know when to use another tool

    The waffle-edge request led to optional outer and pocket-rim finishes in Solid mode. Large finishes can erase thin walls, so the tool checks and explains those limits. For exact selection of individual edges and a richer CAD history, the SVG → DXF route lets students continue in Onshape.

    Borrow the decision: meet the immediate need, state the limits, and offer a useful handoff.

    Teacher thinks aloud · 3 min

    “A limit is useful information. I want students to know how we reached a conclusion, and which experiment would make us more confident.”

    Ask: how would you describe the 3MF feature honestly before anyone has printed it?

    Where these recorded checks come from

    The source archive’s README and tests document these earlier checks: tests/two-layers.mjs for layer geometry, tests/two-color-export.mjs for the multicolor file, and tests/onshape-dxf.py for independent DXF reading.

    This lesson is a reconstruction of the development process, not a new claim that all those checks or physical prints ran today.

    10 / KEEP A WAY BACK

    Save the recipe.
    Save a known good version.

    A finished object and the instructions that made it are different things to keep.

    Student project JSON stores editable drawings and settings. Website source stores the code that builds the tool. Both help future work continue.

    Imagine: your next revision breaks the keychain export. What would you want to have saved?

    Teacher thinks aloud · 2 min

    “Before a risky change, I keep a working version and note what passed. When something breaks, that gives me a comparison and a way back.”

    Ask: what should a future person know before continuing your work?

    TWO KINDS OF CONTINUITY

    Student work

    Original SVGs + project JSON

    Keep drawings, size, heights, placement, and colors editable.

    The tool itself

    Source + assets + build instructions + tests

    Keep a source version, what changed, what was checked, and known limits.
    Continue from this version with an AI assistant
    1. Give the assistant the working source files, or access to the project. A screenshot shows the experience; the source lets it inspect how that experience is produced.
    2. Describe one task and the current behavior. Ask for a short explanation of the relevant code and assumptions.
    3. Request one focused change, name what must survive, and specify a check.
    4. Try the revised tool. Bring back the steps, expected result, actual result, or file-reader output.
    5. Keep the version that passed, plus a short note about what still needs checking.

    For a new tool, begin with a small runnable example. For an existing tool, give the assistant enough current context to revise the same project.

    Useful words: version and regression

    A version is a saved state of the work. A regression is when a new change breaks something that previously worked. A regression check repeats an earlier check after the change.

    11 / YOUR TURN

    Read the reply.
    Write the next request.

    Practice the whole loop: a brief, an AI proposal, and your response to what is missing.

    This is a scripted practice case about the keychain preview. It is not a new report of a bug in the live tool. Your writing stays on this page; copy it before leaving.

    1 · Inspect or edit the starting brief

    Use one observed or reported fact, the behavior you expected, a focused change, and a check. Include what must still work.

    Teacher thinks aloud · 10 min

    “A reply is something to inspect. I want a follow-up that refers to a concrete gap, rather than just ‘try again’ or ‘make it nicer.’”

    Ask: what in the reply supports your next request? What evidence would let you finish?

    In pairs, one person reads the brief; the other reads the scripted reply. Agree on the gap, then write a follow-up. With a real AI, try the candidate in a separate copy and bring back observations. Students can complete this activity without an AI account.

    2 / INSPECT THIS SCRIPTED AI REPLY

    Practice response · not a real transcript

    “I added an orange ‘Updated’ badge. The old preview still stays on screen after a height edit. I haven’t checked the Download buttons yet.”

    Case facts: the preview was built at 2 + 2 mm; the base was then changed to 3 mm; no rebuild has happened.

    After writing: compare with one possible follow-up

    The reply says the earlier preview remains and Download is unchecked. After changing the base from 2 to 3 mm, “Updated” could imply the old model is current. Mark it previous and disable STL and 3MF until a successful rebuild. Preserve the SVGs, hole, placement, and colors. Repeat the edit, failed rebuild, and successful rebuild cases; report the export states and the final 5 mm height.

    It names the gap, expected behavior, a focused correction, preservation rules, and evidence. Your wording can be different.

    Your starting brief · updates as you edit

    Your follow-up

    Your next request will appear here.

    This activity makes no AI call and does not alter a model.

    What do we know, what are we guessing, and how could we check?

    12 / TAKE THE HABITS WITH YOU

    Experience becomes
    a set of moves you can practice.

    01

    Notice a need

    Describe the person and task.

    02

    Choose a small version

    Finish enough to learn from it.

    03

    Name success

    Use one concrete example.

    04

    Protect working behavior

    Say what must survive.

    05

    Investigate the failure

    Record steps, expected, and actual.

    06

    Gather evidence

    Use measurements and another reader.

    07

    Keep a way back

    Save the recipe and source version.

    08

    Explain your limits

    Name the next useful check.

    Exit reflection: describe one AI reply, one gap you noticed, the next request you would send, and the check that would let you continue.

    Teacher thinks aloud · 4 min

    “The point of sharing years of experience is to make the decisions visible. You can practice these moves before you can write or understand every line of code.”

    Ask: what did the human contribute, what did the AI contribute, and what remains unverified?

    Teacher run sheet · 55 minutes
    1. Show the result · 5 min: predict the decisions behind a keychain.
    2. Need and scope · 8 min: name a user task; choose a small useful version.
    3. Brief and preservation · 8 min: replay selected keychain exchanges; explain why the next request changed.
    4. One code instruction · 5 min: predict heights, then change them.
    5. Debug, evidence, continuity · 15 min: investigate the old leaf, DXF, and saved versions.
    6. Pair practice and reflection · 14 min: read the scripted AI reply, write a specific follow-up, and explain your evidence.

    Preparation: open this page, choose Teacher notes, and have one drawing or keychain example ready. No student account or physical printer is needed for this discussion. Optional printing and Onshape checks are separate follow-up activities.

    Sources, inspiration, and honest reconstruction

    The case studies use the Flexi Forge development conversation and project implementation notes. Actual short request excerpts are labelled. Conversation responses are shortened summaries; sample follow-ups are teaching reconstructions. The student practice reply is scripted. Refined briefs, diagrams, and the old-preview demonstration are teaching reconstructions. Teacher think-aloud lines are suggested classroom narration. Recorded file checks do not imply a completed physical print.

    Presentation pacing was inspired by the MPI vibe-coding presentation (new tab): show an example, make the decisions visible, then let learners try. This page uses its own project story and activities.