The instructions to build Slicer for GNU/Linux systems are slightly differentdepending on the linux distribution and the specific configuration of thesystem. In the following sections you can find instructions that will work forsome of the most common linux distributions in their standard configuration. Ifyou are using a different distribution you can use these instructions asguidelines to adapt the process to your system. You can also ask questionsrelated to the building process in the Slicer forum.
Pre-requisites¶
Blender Foundation. Blender is the free and open source 3D creation suite. It supports the. PrusaSlicer is our own in-house developed slicer software based on the open-source project Slic3r. It's still open-source and you can get it in our Drivers & Apps Package. PrusaSlicer is a feature-rich, frequently updated tool that contains everything you need to export the perfect print files for your Original Prusa 3D printer.
First, you need to install the tools that will be used for fetching the sourcecode of slicer, generating the project files and build the project.
- Git and Subversion for fetching the code and version control.
- GNU Compiler Collection (GCC) for code compilation.
- CMake for configuration/generation of the project.
- (Optional) CMake curses gui to configure the project from the command line.
- (Optional) CMake Qt gui to configure the project through a GUI.
- GNU Make
- GNU Patch
In addition, Slicer requires a set of support libraries that are not includes aspart of the superbuild:
- Qt5 with the following components:
- Multimedia
- UiTools
- XMLPatterns
- SVG
- WebEngine
- Script
- X11Extras
- Private
- libXt
Debian 10 Stable (Buster)¶
Install the development tools and the support libraries:
Debian Testing (Bullseye) and Debian 9¶
This option is not suggested since it does not work with standard packages. Debian 9 Qt 5.7 packages will not work with current Slicer 4.11. Checked 2020-08-19. May be possible to build from source or install other packages. In addition, for Debian 9 you also need to build cmake from source as described here or otherwise get a newer version than is supplied by the distribution.
Install the development tools and the support libraries:
Ubuntu 20.04 (Focal Fossa)¶
Install the development tools and the support libraries:
ArchLinux¶
Install the development tools and the support libraries:
Checkout Slicer source files¶
The recommended way to obtain the source code of SLicer is cloning the repository using
git
:![Linux Linux](https://www.linuxlinks.com/wp-content/uploads/2018/01/Screenshot-3DSlicer.jpg)
This will create a
Slicer
directory contaning the source code of Slicer.Hereafter we will call this directory the sourcedirectory
.Warning
It is highly recommended to avoid the use of the space character in the name of the
source directory
or any of its parent directories.After obtaining the source code, we need to set up the development environment:
Slicer Software Linux Download
[comment]: <> (TODO: Link to the readthedocs equivalent of https://www.slicer.org/wiki/Documentation/Nightly/Developers/DevelopmentWithGit)
Configure and generate the Slicer build project files¶
Slicer is highly configurable and multi-platform. To support this,Slicer needs a configuration of the build parameters before the build processtakes place. In this configuration stage, it is possible to adjust variablesthat change the nature and behaviour of its components. For instance, the typeof build (Debug or Release mode), whether to use system-installed libraries,let the build process fetch and compile own libraries, or enable/disable some ofthe software components and functionalities of Slicer.
To obtain a default configuration of the Slicer build project use
cmake
:It is possible to change variables with
cmake
. In the following example wechange the built type (Debug as default) to Release:Tip
Instead of
cmake
, one can use ccmake
, which provides a text-based interface or cmake-gui
, which provides a graphical user interface. These applications will also provide a list of variables that can be changed. Build Slicer¶
Once the Slicer build project files have been generated, the Slicer project canbe build:
Tip
Building Slicer will generally take long time, particularly on the first build or upon code/configuration changes. To help speeding up the process one can use
make -j<N>
, where N
is the number of parallel builds. As a rule of thumb, many uses the number of CPU threads + 1 as the number of parallel builds.Warning
Increasing the number of parallel builds generally increases the memory required for the build process. In the event that the required memory exceeds the available memory, the process will either fail or start using swap memory, which will make in practice the system to freeze.
Slicer Software Linux Tool
Tip
Using parallel builds makes finding compilation errors difficult due to the fact that all parallel build processes use the same screen otput, as opposed to sequential builds, where the compilation process will stop at the error. A common technique to have parallel builds and easily find errors is launch a parallel build followed by a sequential build. For the parallel build, it is adviced to run
make -j<N> -k
to have the parallel build keep going as far as possible before doing the sequential build withmake
Run Slicer¶
After the building process has successfully completed, the executable file torun slicer will be located in
./Slicer-build/Slicer
Test Slicer¶
After building, run the tests in the
Slicer-SuperBuild/Slicer-build
directory.Start a terminal and type the following (you can replace 4 by the number of processor cores in the computer):
Package Slicer¶
Start a terminal and type the following:
Common errors¶
See list of issues common to all operating systems on Common errors page.
- Our 3D Printers
- Software
- 3D Models
- Support
- About us
PrusaSlicer (formerly known as Slic3r Prusa Edition or Slic3r PE) is our own in-house developed slicer software based on the open-source project Slic3r. It's open-source and you can get it in our Drivers & Apps Package. PrusaSlicer is a feature-rich, frequently updated tool that contains everything you need to export the perfect print files for your Original Prusa 3D printer.
PrusaSlicer is available for Windows, Mac and Linux
Windows (Drivers & Apps)Mac (Drivers & Apps)Linux (Drivers & Apps)
Learn more about PrusaSlicer features in our detailed documentation
14
languages supported
110+
FILAMENT AND RESIN PROFILES
3
MODES (BEGINNER, ADVANCED, EXPERT) Acorn 4 2 2 – bitmap image editor.
7
in-house developers
PrusaSlicer is based on Slic3r by Alessandro Ranellucci. It's completely free and open-source. Thanks to the strong community and core team of developers in Prusa Research we can continually add new functionality. You can follow the development process on Github.
Slic3r was always known to be powerful and versatile, but some features were difficult to use, if not outright hidden behind obscure menus and dialogs. Our goal with the reworked UI was to expose all the power features while making the UI clear and simple to use at the same time.
Slicer Software Linux Command
PrusaSlicer lets you create support blockers and enforcers. Support blockers are useful when you’re generally happy with the automatic supports, but you want to exclude some areas. With support enforcers, you can turn automatic supports off and select specific parts which need supports.
With the release of our Original Prusa SL1 resin 3D printer, we’ve added masked SLA (MSLA) mode into PrusaSlicer. As far as we know, PrusaSlicer is the first high-quality open-source MSLA slicer available. PrusaSlicer also supports multi material FFF printing with the Original Prusa MMU2S.
Historyhound 2 1 18. Testers and developers at Prusa Research are constantly working on presets for 60+ filaments and resins. We are adding profiles on regular basis, following materials by the most popular manufacturers. You will get new profiles automatically through auto-update function.
3D printing is always about the quality versus the print time. In PrusaSlicer, you can select the layer height for each part of the object separately. Our software takes care of smoothing so the final print looks best as it can and the printing time remains acceptable. Check out the video.
PrusaSlicer includes built-in firmware flasher for Original Prusa i3 printers. You can just connect your printer to computer via USB cable and easily flash the firmware via PrusaSlicer. Don't forget to upgrade your printer regularly! ?
You can prepare prints with color change directly in PrusaSlicer. Just insert the “pause for filament change” code at layers which you marked in the print preview screen. A preview is displayed instantly so you’ll see exactly how your model will look with color-change.
With Octoprint application, you can control your printer via web browser. PrusaSlicer is now supporting advanced features of Octoprint like upload queue or Cancelobject plugin, which allows you to cancel printing of one particular object on the print bed.
More features
- Move, rotate and scale gizmos + object manipulation sidebar
- Object list, copy & paste, scene hierarchy, and instances
- File/Save Project saves a 3MF file containing all objects, settings, modifiers and their parameters.
- HiDPI support – Correct scaling on high-resolution displays
- Manipulation of multiple objects - group selection
- Background processing – redesigned to work reliably, only those slicing steps that were invalidated by the user action will be re-sliced
- Repairing models via Netfabb (only on Windows)
- Multi-language support: English, French, Italian, German, Spanish, Czech, Polish, Ukrainian, Korean, Chinese (Simplified)