Download & setup octoprint

Статьи компании (4)

Сортировать по:

рейтингу

дате добавления

 

  • Оптимизация технологического процесса очистки ОРТП и валиков в офсетной печати

    Многие современные типографии с учетом экономической ситуации и спада объемов производства вынуждены экономить на расходных материалах. Но понятие экономии в понимании производственника, собственника, руководителя и менеджера…

    Ирина

    18/03/2020 12:04

    133

     

  • Цифровая резка — можете ли вы обойтись без нее?

    Ларс Бендиксен о преимуществах правильного использования цифровых режущих систем для печатников и их клиентов.
    Узнаете ли вы свою компанию, читая следующее?

    «Отделка цифровых отпечатков осуществляется…

    Миленина Наталья

    23/05/2011 00:00

    625

     

Setting up OctoPi

Please follow these steps after downloading:

  1. Unzip the image and install the contained file to an SD card
    using Etcher. Do not at any point format the SD from your Operating System, even if prompted to do so —
    that will break it and you’ll have to start over. Just use Etcher to flash the file, that is enough!

  2. Configure your WiFi connection by editing on the root of the
    flashed card when using it like a thumb drive. Important: Do not use WordPad (Windows) or TextEdit (MacOS X)
    for this, those editors are known to mangle the file, making configuration fail. Use something like
    Notepad++, Atom or VSCode instead or at the very least heed the warnings in the file.

    Note: This changed with OctoPi 0.15.0, earlier versions had you edit which has a different
    format. This old method is no longer supported and the contents of this file will be ignored. Just
    use .

    Please also refer take a look at the full WiFi setup guide in the FAQ that also includes Troubleshooting tips.

  3. Boot the Pi from the card.

  4. Log into your Pi via SSH (it is located at
    if your computer supports bonjour
    or the IP address assigned by your router), default username is “pi”,
    default password is “raspberry”. Run . Once that is open:

    1. Change the password via “Change User Password”
    2. Optionally: Change the configured timezone via “Localization Options” > “Timezone”.
    3. Optionally: Change the hostname via “Network Options” > “Hostname”. Your OctoPi instance will then no longer be reachable under but rather the hostname you chose postfixed with , so keep that in mind.

    You can navigate in the menus using the arrow keys and Enter. To switch to selecting the buttons at the bottom use Tab.

    You do not need to expand the filesystem, current versions of OctoPi do this automatically.

    You also do not need to manually enable the RaspiCam if you have one, that is already taken care of on the image as well.

  5. Access OctoPrint through or . https is available too,
    with a self-signed certificate (which means your browser will warn you about it being invalid).

Please also refer to OctoPi’s README, especially the .

Thomas Sanladerer created a great video guide on how to get OctoPi 0.12 up an running.

Installation

If you want to run OctoPrint on a Raspberry Pi, you might want to take a look at OctoPi
which is a custom SD card image that includes OctoPrint plus dependencies.

The generic steps that should basically be done regardless of operating system
and runtime environment are the following (as regular
user, please keep your hands off of the command here!) — this assumes
you already have Python 2.7, 3.6 or 3.7, pip and virtualenv and their dependencies set up on your system:

  1. Create a user-owned virtual environment therein: . If you want to specify a specific python
    to use instead of whatever version your system defaults to, you can also explicitly require that via the
    parameter, e.g. .
  2. Install OctoPrint into that virtual environment:

Or alternatively, for an install from source:

  1. Checkout OctoPrint:
  2. Change into the OctoPrint folder:
  3. Create a user-owned virtual environment therein:
  4. Install OctoPrint into that virtual environment:

You may then start the OctoPrint server via , see
for details.

After installation, please make sure you follow the first-run wizard and set up
access control as necessary.

Stats

There are currently 244 plugins listed in this repository of which 161 (65%) are marked as Python 3 compatible.

Top 10 of the month

  1. Bed Level Visualizerover 16.97k instances
  2. Octolapseover 15.45k instances
  3. Themeifyover 14.54k instances
  4. OctoPrint-PrintTimeGeniusover 13.28k instances
  5. Navbar Tempover 12.95k instances
  6. Firmware Updaterover 11.35k instances
  7. DisplayLayerProgressover 11.31k instances
  8. Access Anywhere — The Spaghetti Detectiveover 9.17k instances
  9. OctoPrint-Dashboardover 8.25k instances
  10. TouchUIover 7.52k instances

Trending this week

  1. Bed Level Visualizerover 656 new installs
  2. Octolapseover 563 new installs
  3. Consolidated Tabsover 475 new installs
  4. Access Anywhere — The Spaghetti Detectiveover 461 new installs
  5. Themeifyover 421 new installs

Usage

Running the pip install via

installs the script in your Python installation’s scripts folder
(which, depending on whether you installed OctoPrint globally or into a virtual env, will be in your or not). The
following usage examples assume that the script is on your .

You can start the server via

By default it binds to all interfaces on port 5000 (so pointing your browser to
will do the trick). If you want to change that, use the additional command line parameters and ,
which accept the host ip to bind to and the numeric port number respectively. If for example you want the server
to only listen on the local interface on port 8080, the command line would be

Alternatively, the host and port on which to bind can be defined via the config file.

If you want to run OctoPrint as a daemon (only supported on Linux), use

If you do not supply a custom pidfile location via , it will be created at .

You can also specify the config file or the base directory (for basing off the , and folders),
e.g.:

To start OctoPrint in safe mode — which disables all third party plugins that do not come bundled with OctoPrint — use
the flag:

See for more information on the available command line parameters.

OctoPrint also ships with a script in its source directory. You can invoke it to start the server. It
takes the same command line arguments as the script.

Further resources

  • The MagPi issue #36 contains a “Getting Started” guide on
    pages 50-51. You can find an excerpt here
    (MagPi License: CC BY-NC-SA).
  • Scripts to build (and customize) the image yourself can be found in OctoPi’s Github repository.
  • Nightly builds can be found here.

Installing manually

The generic setup instructions boil down to

  1. Installing Python including pip and virtualenv.
    Please note: While OctoPrint itself supports running under Python 3.7+ starting with version 1.4.0, many of the available plugins still are
    Python 2 only. If you want to make use of plugins from the plugin repository, you should for now still install OctoPrint under Python 2.7. Note that
    migrating to Python 3 at a later date is easily done.
  2. Creating a virtual environment somewhere:
  3. Installing OctoPrint into that virtual environment:
  4. OctoPrint may then be started through or with an absolute path

More specific setup instructions for the most common runtime environments can be found below.

Most recently added plugins

  • OctoPrint-Octotweet

    08 Aug 2020


    Twitter plugin for OctoPrint

  • Consolidated Tabs

    06 Aug 2020


    Combines configured tabs into a single tab as draggable and resizable panels.

  • Virtual Printer Settings

    04 Aug 2020


    Add configurable settings to the Virtual Printer plugin under OctoPrint’s settings

  • WS281x LED Status

    28 Jul 2020


    Add some WS281x type RGB LEDs to your printer for a quick status update

  • OctoPrint-MarlinBft

    26 Jul 2020


    Upload files using Marlin Binary File Transfer Mark II

  • OctoPrint-Cooldownfan

    16 Jul 2020


    Turn on the cooldown fan after printing finished

  • ArduCamFocus

    11 Jul 2020


    Plugin to control ArduCam with motorized focus control on octopi

  • OctoPrint-GridSpace

    04 Jul 2020


    Allows for direct printing from GridSpace’s Kiri:Moto slicer

  • OctoPrint-M150control

    03 Jul 2020


    Send M150 control through the UI

  • GPIO Shutdown

    03 Jul 2020


    A plugin that shutdown the Rasperry Pi if you connect ground to one of the selected GPIO ports.

  • SwapXY

    02 Jul 2020


    Swap the X and Y axes used by the jog controls

  • Sidebar Macros

    28 Jun 2020


    Plugin for Octoprint to add macros list in sidebar

  • Thermal Runaway

    28 Jun 2020


    An Octoprint Plugin to provide some basic Thermal Runaway protection

  • Delta Micro Calibrator

    24 Jun 2020


    An OctoPrint Plugin for performing micro calibration in linear delta machines.

  • Ngrok Tunnel

    23 Jun 2020


    A plugin to securely access your OctoPrint instance remotely through ngrok

  • Rewrite M600 — For M600 Unsupported

    23 Jun 2020


    Implement M600 for pinters that can’t support M600 by default (TFT with out marlin mode support, like Artilelry X1 and Genius)

  • OctoPrint-3DGeeks

    22 Jun 2020


    Companion plugin for 3D Geeks (Android & iOS App)

  • Z Probe Offset Control

    14 Jun 2020


    Add input to the control view for editing the z probe offset on marlin based printers

  • HomeAssistant Discovery

    14 Jun 2020


    Automatically add your OctoPrint server to Home Assistant with MQTT

  • Simple Filament Change Buttons

    12 Jun 2020


    Simply adds some buttons to send the filament load/unload/change commands for Marlin, so you don’t have to use the LCD menu

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *