Skip to main content

First Layer AI Configuration for Klipper Printers

Required Hardware:

A nozzle camera that provides an up-close view of your 3D printers’ nozzle.

A nozzle camera is a specialized web camera. Nozzle cameras are much smaller than traditional webcams allowing them to get an up-close view of the 3D printer nozzle and the print. With a nozzle camera configured with your 3D printer, you can enable Nozzle Ninja, Obico's first layer AI, to watch your first layer for various types of print issues including over-extrusion, under-extrusion, poor bed adhesion and more.

Compatible Printers

Obico’s first layer AI is compatible with any 3D printer running OctoPrint or Klipper, but there may not be a nozzle camera mount readily available for your 3D printer. Check with our nozzle camera partners, Mintion and 3DO to see if there is a mount for your printer. Of course, you can also check out various 3D model repositories such as Printables or Thingiverse, or you can design your own mount.

tip

Prefer watching a video instead? The video below walks through the process of configuring a standard USB webcam with a nozzle camera. It also goes through the process of adding multiple webcams to Mainsail/Fluidd in case you haven't done that already (cameras must be configured in Mainsail/fluidd before adding them to Obico).

Configure Your Camera for First Layer AI

Obico now supports multiple webcam streams in the Obico app. You can configure your nozzle camera as a second camera in Obico, or you can just use the nozzle camera as your only camera.

This guide assumes you have already configured either one or multiple webcams in fluidd or Mainsail. If you have not already configured one or multiple cameras in fluidd or Mainsail, you can follow our guide for Mainsail or the official crowsnest guide.

If you are setting up your nozzle camera as a secondary camera, select the "Multiple Cameras" tab instead.

Before proceeding, ensure your nozzle camera is plugged into your Raspberry Pi or 3D printer, and your nozzle camera is visible in fluidd/Mainsail and in Obico.

Mainsail

  1. Click “Machine” on the bottom left of the mainsail page

  2. Click the “moonraker-obico.cfg” file to open it.

  3. Locate the section with [webcam].

  4. Copy and paste the following line underneath the [webcam] section: is_nozzle_camera = True

The section was:

[webcam]
disable_video_streaming = False

It now becomes:

[webcam]
disable_video_streaming = False
is_nozzle_camera = True
  1. Click the Power Button in the top right corner of the screen and restart moonraker-obico for the changes to take effect in the Obico app.

Next Steps: Slicer Configuration

Once your camera is configured for first layer AI, configure your slicer for first layer AI.