Ultimaker cura linux install

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Running Cura from Source on Ubuntu

  • Welcome
  • Getting Started
  • Reporting An Issue
  • Core Development
    • Project Overview
    • Running from source
    • Build Process
    • Build with Github Actions
    • Getting Started
    • Getting Your Material Package or Plugin On The Marketplace
    • SDK Versions
    • CuraAPI
      • UltiMaker Account
      • Backups
      • Adding New Printers
      • Definition Files
      • Translating Cura
      • QML Best Practices
      • Python Code Style
      • Profiles & Settings
      • Setting Properties
      • Getting A Setting Value
      • Container Stacks
      • Glossary
      • Cura Scene Graph
      • Operations & Operation Stack
      • Build Volume
      • Tools
      • Flame Profiler
      • Cura User Preferences & Settings Files
      • Build with GitHub Actions In Depth
      Clone this wiki locally
      • These instructions are a work in progress and will be updated in the future.
      • These instructions use bracketed text in all-capitals to signify places where you should type your own information. For example, a path might be written as: /home/[USERNAME]/ or [PATH TO CURA REPO] and should have the text (including brackets) be replaced.

      There are two ways in which you could set up a development environment: Using the individual repositories and linking those together, or by running a CMake script that tries to find all dependencies automatically. Both have advantages and disadvantages. Generally the CMake workflow is more automatic but more error-prone as well, while the alternative requires some more manual typing in the terminal.

      Alternative: Cura-build CMake workflow

      You can make a choice: There is a simplified workflow available to download and build all of Cura’s dependencies based on a CMake script. To do this, execute the following steps:

      1. Clone the cura-build-environment repository.
      2. Create a build subdirectory in that repository.
      3. Open CMake and point its source directory to your cura-build-environment repository and the build directory to the build subdirectory.
      4. Configure and generate. Use the GCC make files to compile these.
      5. Open a terminal and run make in the build directory. If all goes well, this should build all dependencies.
      6. Run make install to install the dependencies.
      7. Clone the cura-build repository.
      8. Create a build subdirectory in that repository.
      9. Open CMake and point its source directory to your cura-build repository and the build directory to the build subdirectory.
      10. Configure and generate. Use the GCC make files to compile these.
      11. Open a terminal and run make in the build directory. If all goes well, this should build Cura’s main components.
      12. Find your source folders in the -prefix subdirectories of the build directory.

      If this workflow doesn’t work out for you, you can proceed below by installing the dependencies manually.

      Before installing the main Cura dependencies, we must first install a few additional dependencies.

        To install, run the following commands in the Terminal:

      sudo apt-get install git cmake zlib1g-dev libssl-dev libboost-dev libclipper-dev libnlopt-dev libnlopt-cxx-dev sudo apt-get install python3-scipy python3-pip sudo pip3 install pyserial PyQt5==5.15 shapely zeroconf trimesh 

      Make sure this step completes successfully: either nothing has to be done because sip isn’t installed, or the uninstall completed successfully. You may need sudo pip3 uninstall sip in case you run into permission problems.

      1. Download SIP 4.19.2+ here or here.
      2. Extract the archive.
      3. In the Terminal, navigate to the extracted folder:
      $ python3 configure.py $ make $ sudo make install 
      1. Clone the protobuf repository to a directory of your choosing (replace [PROTOBUF PATH] ). On Ubuntu, suggested location for user programs is in /usr/lib/, i.e. /usr/lib/protobuf/. :
      $ mkdir [PROTOBUF PATH] $ git clone https://github.com/google/protobuf.git [PROTOBUF PATH] 
      $ cd [PROTOBUF PATH] $ mkdir build-dir && cd build-dir $ cmake ../cmake -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS=-fPIC 

      OR $ cmake —build ../cmake —target ./

      1. In the newly created CMakeCache.txt file, make sure the CMAKE_CXX_FLAGS:FLAGS property is set to -fPIC .
      2. Build protobuf :
      $ git clone https://github.com/Ultimaker/libArcus.git [LIBARCUS PATH] 
      $ cd [LIBARCUS PATH] $ mkdir build && cd build 
      $ cmake .. $ make -j4 $ sudo make install 

      Note: if you are using virtual environments make sure to replace [WORKSPACE] with the path where your pyenv virtual environments are, and [VIRTUALENV] with the current virtual environment.

        Make sure you link Arcus to the Python 3.6 directory by running:

      $ sudo ln -s /usr/local/lib/python3/dist-packages/Arcus.so /usr/local/lib/python3.6/dist-packages/Arcus.so 
      $ git clone https://github.com/Ultimaker/libSavitar.git [LIBSAVITAR PATH] 
      $ cd [LIBSAVITAR PATH] $ mkdir build && cd build 
      $ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$VIRTUAL_ENV -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV -DBUILD_STATIC=ON -DBUILD_PYTHON=ON -DBUILD_EXAMPLES=OFF .. $ make -j4 $ sudo make install 
      $ git clone https://github.com/Ultimaker/libCharon.git [LIBCHARON PATH] 
      $ cd [LIBCHARON PATH] $ mkdir build && cd build 
      $ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$VIRTUAL_ENV -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV .. $ make -j4 $ pip3 install .. 
      $ sudo apt install libboost-dev libnlopt-dev libnlopt-cxx-dev libpolyclipping-dev 
      $ git clone https://github.com/Ultimaker/libnest2d.git [LIBNEST2D PATH] 
      cd [LIBNEST2D PATH] mkdir build && cd build 
      cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$VIRTUAL_ENV -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV .. make install 
      $ git clone https://github.com/Ultimaker/pynest2d.git [PYNEST2D PATH] 
      $ cd [PYNEST2D PATH] $ mkdir build && cd build 
      $ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$VIRTUAL_ENV -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV -DBUILD_STATIC=ON .. $ make -j4 $ make install 
      $ git clone https://github.com/Ultimaker/CuraEngine.git [CURAENGINE PATH] 
      $ cd [CURAENGINE PATH] $ mkdir build && cd build 
      $ cmake .. $ make -j4 $ sudo make install 
      1. Clone the Cura , Uranium , and fdm_materials repositories to directories of your choosing (replace [CURA PATH] , [URANIUM PATH] , and [FDM_MATERIALS PATH] ):
      $ git clone https://github.com/Ultimaker/Cura.git [CURA PATH] $ git clone https://github.com/Ultimaker/Uranium.git [URANIUM PATH] $ git clone https://github.com/Ultimaker/fdm_materials.git [FDM_MATERIALS PATH] 
      $ ln -s /usr/local/bin/CuraEngine . 
      $ mkdir resources/materials $ ln -s [FDM_MATERIALS PATH] resources/materials/fdm_materials 
      $ export PYTHONPATH=[URANIUM_PATH]:$

      Источник

      How to install Cura on Ubuntu

      Cura, or Ultimaker Cura is an popular open source 3D printing software. It is categorized as a slicer, or slicing software, used to convert the 3D model to the format which the 3D printer understands.

      Suppose that you had an STL file that contains the modeled object, Ultimaker Cura converts the model into a series of thin layers and produces a G-code file containing instructions which a typical 3D printer can process.

      Ultimaker Cura works with most of the popular 3D formats such as .STL, .OBJ, .X3D, .3MF (as well as image formats such as BMP, GIF, JPG and PNG). Thanks to its simple interface and easy to use workflow, beginners would have no problem getting started. The application also incorporated advanced features for seasoned professionals such as printing time estimation, third-party plugins upport, material changing, etc.

      In this article, we will show you how to install Cura on Ubuntu, specifically the latest version – Ubuntu 20.04. The guide is applicable to older versions of Ubuntu and many other Linux distro based on Ubuntu, such as Linux Mint or Pop! OS.

      Install Cura on Ubuntu using snap

      Snap is the new way of installing software on Linux systems, introduced by Canonical, who owns Ubuntu. With snaps, you can install all of an app’s dependencies with a single command, and updates are automatic and resilient. Plus, apps run in their own isolated sandbox, thus minimizing security risks.

      If your Ubuntu version is higher than 16.04, snap is already installed and ready to go, you don’t have to do anything else. For those who don’t want to check OS version, Ubuntu 16.04, 18.04 and 20.04 LTS has snap built-in. But in case you’re running legacy Ubuntu versions, as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd or running the following command.

      If you are installing snap for the first time, it is advised to install the core package to make sure that all the basic features of snap works fine. In order to do that, run the following command in any terminal window :

      You will see something like this

      core 16-2.51.4 from CanonicalinstalledCode language: CSS (css)

      Now that snap is properly set up, all you need to do to install Cura is running the command below :

      sudo snap install cura-slicer

      Once the installation completes, you will see Cura show up on Ubuntu applications drawer.

      Cura on Ubuntu applications drawer

      Install Cura on Ubuntu using Software Manager

      The preferred method to install pretty much everything in the Linux world is to use a series of commands, but if you’re not yet familiar with the command-line interface, you can always install popular software using the built-in Ubuntu Software Manager.

      First, press the Super key on the keyboard (Super is the Windows key on most keyboards) to open up the GNOME applications drawer. Then, search for Ubuntu Software Manager.

      Ubuntu Software Manager

      On Ubuntu Software Manager window, click the search button on the upper left corner, then search for “ultimaker cura“. Select Ultimaker™ Cura from the search result and click Install.

      Install Cura on Ubuntu using Software Manager

      Once the installation completes, you will see Cura on Ubuntu applications drawer.

      Cura on Ubunt

      We hope that the information above helped you successfully install the Ultimaker Cura on your Ubuntu system. We’ve also covered other software installation for Linux, such as How to install Chromium browser in Debian, How to install CMake, Airflow and ADB/fastboot on Ubuntu, in case you’re interested. If you have any suggestion, please feel free to leave a comment below.

      Leave a Comment Cancel reply

      Hey! I’m Daan. I work as a SysAdmin in the Netherlands. Whenever I find free time, I write about IT, Linux, Open Source and hardware on this site.

      VS Code Tutorials

      • Automatic code indentation
      • Comment out multiple lines
      • Quickly duplicate a line in VSCode
      • Create a comment block in VSCode
      • Show hidden files in VSCode
      • Quickly find a file in VSCode
      • How to delete the whole line in VSCode
      • Collapse code blocks in VSCode
      • Enable/disable word wrap in VSCode
      • Bind terminal commands to VSCode keyboard shortcuts
      • VSCode Command Palette
      • VSCode Format On Save
      • VSCode «go to definition» guide

      Источник

      Читайте также:  Linux передать вывод команды другой команде
Оцените статью
Adblock
detector