Fundamentals of AI applied to 3D modellingLesson 1

Fundamentals of AI applied to 3D modelling

Get comfortable in the Claude app, write a prompt that actually works, and set up your first project. No connectors, agents or Blender yet.

Lesson 1 of 3
Download the course filesEvery prompt and file from the course, free on GitHub.

What you’ll learn

  • Find your way around the Claude app
  • See how Claude breaks a goal down into steps
  • Take control of each of those steps
  • Know what Projects and Artifacts are
  • Write effective prompts and give Claude enough context

Key ideas

Claude fills the gaps

Give Claude a goal and it fills every gap in your request with its best guess, so it can finish the job. The more gaps you close, the more control you keep.

Artifacts

When Claude makes something worth keeping, like a document, a web page or an interactive 3D model, it opens in its own panel beside the chat.

Projects

A self-contained workspace with its own instructions and files, so you write the rules and upload the references once. They work best with one specific goal.

Context

The drawings and photographs Claude builds from. Curate just enough to model the building yourself, no more, no less, and name every file carefully.

How Claude works in 3D

Left to itself, Claude runs this loop. The prompts below take control of each step.

  1. 1

    Brief

    Reads the drawings and writes down what to build

  2. 2

    Viewer

    Builds a viewer to check its own work

  3. 3

    Model

    Models the building from the brief

  4. 4

    Check

    Compares model and drawings, then fixes it

The prompts

Every prompt from the lesson, in the order you’ll use them. Use the button on each block to copy it.

01The one-line test1:59

Start a new chat on medium effort and send this on its own. It’s meant to fall short: watch which gaps Claude fills with guesses.

Build a 3D model of the Farnsworth House

02The simple pass6:08

Start a new chat inside your Farnsworth House project, with your drawings and photographs added to its context. This follows Anthropic’s framework: set the stage, define the task, specify the rules.

1. Set the stage (our goal & context)

This project holds the drawings and photographs of the Farnsworth House. Create a detailed 3D model of it. Deliver an artifact.

2. Define the task (actions)

Follow these steps, in order:

1. Brief. Review every drawing and photograph. Write a brief listing the drawings (sheet, type, scale), the setting-out dimensions, the grid and levels, and every component which repeats. Where a dimension conflicts, is missing or is illegible, list the options and recommend one. Determine where the project origin sits, which way is north, and how drawing coordinates map to world coordinates.
2. Viewer. Build a viewer for checking the brief against the drawings, and later displaying the 3D model. Establish how the views relate to one another. Cut each view out of the PDF as a separate image, and place those images on a canvas in three dimensions at their true position, orientation and scale. Give it a basic CAD UI: orbit, pan, zoom and layer toggles. Add your recommendations as 3D annotations in the viewer. Screenshot it and compare against the drawings as you go. Then stop and wait for my approval.
3. Model. Turn the approved brief into a single list of elements. Give each element a standard name and a material. Model profiles and extrusions as instances.
4. Check. Load the model into the viewer alongside the drawing images in plain grey. Overlay the model against the drawings at the same scale, and against the photographs from their viewpoints. List every discrepancy, correct it in the element list, and regenerate the model.
5. Materials. Apply indicative materials taken from the colour photographs. Capture viewpoints that match each photograph and compare the model with the photographs to refine the model.

3. Specify the rules

- Treat the documents in this Project as the only reference to build from, do not search or use other references. Do not use any other files or skills on this machine.
- Model in millimetres.
- Treat the approved brief as the source of truth for the model, and update it as required. Never add or change geometry in the viewer without first updating the brief, and then the model.

03The intermediate pass7:35

The same prompt with optional additions, highlighted, that close more of the gaps and give you more control over scope and output.

1. Set the stage (our goal)

This project holds the drawings and photographs of the Farnsworth House. Create a detailed 3D model of it as one validated IFC 4.3 file, and a three.js viewer of that same file. Deliver an artifact.

Do not model loose furniture or trees.

2. Define the task (actions)

Follow these steps, in order:

1. Brief. Review every drawing and photograph. Read each PDF visually and programmatically. Write a brief listing the drawings (sheet, type, scale), the setting-out dimensions, the grid and levels, and every component which repeats with its dimensions, position, material and IFC class. For each detail, discern where it applies in plan, section and elevation, and how it is assembled. Where a dimension conflicts, is missing or is illegible, list the options and recommend one. Determine where the project origin sits, which way is north, and how drawing coordinates map to world coordinates. List separately anything that appears only in photographs.
2. Viewer. Build a viewer for checking the brief against the drawings, and later displaying the 3D model. Establish how the views relate to one another. Cut each view out of the PDF as a separate image, and place those images on a canvas in three dimensions at their true position, orientation and scale. Give it a basic CAD UI: orbit, pan, zoom and layer toggles. Add your recommendations as 3D annotations in the viewer. Screenshot it and compare against the drawings as you go. Then stop and wait for my approval.
3. Model. Turn the approved brief into a single list of elements. Give each element a standard name, an IFC class, and a material. Model profiles and extrusions as instances. Generate the model from this list in Python with ifcopenshell.api (IFC4X3_ADD2), with a full spatial hierarchy and named materials with a surface colour. Validate it with ifcopenshell.validate and fix every error.
4. Check. Load the model into the viewer alongside the drawing images in plain grey. Clicking an element needs to show its IFC name, class, material and properties. Add an "Export IFC" button. Read the setting-out dimensions back from the model and compare them with the brief. Overlay the model against the drawings at the same scale, and against the photographs from their viewpoints. List every discrepancy over 5 mm on setting-out or 25 mm on proportions read from photographs, correct it in the element list, and regenerate the model. Revalidate the IFC on each pass. Make at most two passes.
5. Materials. Apply indicative materials taken from the colour photographs, assigning each by the element's IFC material name. Use MeshPhysicalMaterial, with transmissive glass and an HDR environment. Capture viewpoints that match each photograph and compare the model with the photographs to refine the model. Make at most two refinement passes.

3. Specify the rules

- Treat the documents in this Project as the only reference to build from, do not search or use other references. Do not use any other files or skills on this machine.
- Model in millimetres.
- Treat the approved brief as the source of truth for the model, and update it as required. Never add or change geometry in the viewer without first updating the brief, and then the model.
- Look up every IFC class and predefined type at https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/ rather than from memory.
Lesson 1 of 3

Lesson 2 is coming soon

Subscribe and it’ll arrive in your inbox the week it’s published.

Free. Weekly on Mondays. Unsubscribe anytime.

Back to the course