User Tools

Site Tools


dasl_unlv_3d_printers_octoprint_deploy

How To Set Up Octoprint for a Creality CR-10 V2 or V3 3D Printer Using Octoprint Deploy

Author: <Your Name> Email: <Your Email>
Date: Last modified on <MM/DD/YY>
Keywords: Octoprint, 3D Printing, Setup, Tutorial, Octoprint Deploy


The photo above depicts an Octoprint server setup with a Creality CR-10 V2 or V3 3D printer. This tutorial shows you how to set up Octoprint on Ubuntu 22.04 using Octoprint Deploy and takes approximately 2 hours to complete.

Motivation and Audience

This tutorial is motivated by the need for efficient management of multiple 3D printers. It is assumed that the reader has basic familiarity with executing commands in Linux and a basic understanding of 3D printing technology. This tutorial will particularly interest individuals adding or removing 3D printers from the 3D printing room in DASL.
The rest of this tutorial is presented as follows:

Setup

1. Physical Presence and Network Connection

  • Ensure you are next to the server computer and 3D printer.
  • Connect the computer you are working from to the 3D printer room WiFi access point (“daslprint3d”) using the credentials that were likely given to you
  • Connect the server computer to the Wi-Fi router and the router to the LAN for internet access. Make sure the Wi-Fi router is connected to allow the computer to access the web, do updates, etc.

2. Server Access

  • Make sure you're operating out of your home directory as all commands assume this.
  • Verify network connection using the command:
 ping daslprint3d

You should receive a response that includes the IP address.

  • Access the server via SSH with the command:
 ssh daslprint3d@daslprint3d

or use the IP found earlier.

Software Installation

1. Install Git

  • If the software is not already installed, run the appropriate command based on your system's package manager:
 sudo apt install git

,

 sudo dnf install git

,

 sudo pacman -S git

, or

 sudo zypper in git

.

2. Clone Octoprint Deploy Repository

  • Clone the Octoprint Deploy repository using the command:
 git clone https://github.com/paukstelis/octoprint_deploy

Octoprint Deployment

1. Prepare System

  • Run the Octoprint Deploy script with
 sudo octoprint_deploy
 /octoprintdeploy.sh

and select “Prepare System” from the menu to install necessary packages and OctoPrint itself.

2. System and Printer Setup

  • The script will prompt you to create the first instance. When asked, unplug and re-plug your 3D printer for recognition.
  • If your printer does not have a serial number, like Creality printers, you may need to create a new udev rule for proper detection based on the USB port used.

3. Instance Creation

  • For setting up additional printers, you can clone existing profiles if you're using the same printer model. Select yes to use a template and choose the appropriate profile when prompted.
  • If starting fresh, select “n” when asked to use a template instance and follow the instructions for a new setup.

4. Utilities and Management

  • Use the utility menu in the Octoprint Deploy script to manage your instances and cameras, check the status of all instances, and conduct printer USB port testing.

5. Backups and Restarts

  • For backups, restores, or to restart all instances, use the
 octoprint_deploy/octoprint_deploy.sh

script with the necessary command line arguments.

6. Custom Startup Functions

  • You can inject any function at startup by using the command line with the first argument
 f

and the second argument as the function name for customized startup behaviors.

Final Words

This tutorial aimed to guide you through setting up Octoprint on a Creality CR-10 V2 or V3 3D printer using Octoprint Deploy on an Ubuntu 22.04 system. The process covers installation, system preparation, and instance creation, ensuring a comprehensive understanding of managing multiple 3D printers. Refer to the Octoprint Deploy Github Repository for the latest updates and detailed documentation. Remember to disconnect the internet from the router at the end for security purposes and ensure the USB port assigned to each printer remains consistent for recognition. If you have questions or need further clarification, feel free to reach out via the provided email. Happy printing!

For questions, clarifications, etc, Email: <Your Email>

dasl_unlv_3d_printers_octoprint_deploy.txt · Last modified: 2024/01/15 18:27 by santiagoricoy