Installation

The CRM Slicer is built on Ultimaker Cura. For additional information on the organization of Cura refer to the wiki. You can use Ubuntu 24.04 to compile and run the development verison of the slicer.

Workspace Setup

Cura [git repository]
├── cura
    └── Scene
├── plugins
├── resources
└── other configuration and test folders
  • cura/: Contains the Core Functionality of the slicer

    • Scene/: Contains decorators for the view and nonplanar slicing tools

  • plugins/: Contains many important features that are not a component of core cura including output gcode to a file

  • resources/: Contains important files for defining qml fields and printer configurations

Build Cura on Linux

  1. Activate your conda environment

  2. conda install python==3.10

  3. pip install ninja conan==1.64 sip

  4. Install necessary libraries:

    sudo apt install libx11-xcb-dev libfontenc-dev libxaw7-dev libxcomposite-dev libxcursor-dev \
    libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev \
    libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxtst-dev libxv-dev \
    libxxf86vm-dev libxcb-glx0-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev \
    libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev \
    libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev uuid-dev \
    libxcb-cursor-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxcb-composite0-dev \
    libxcb-ewmh-dev libxcb-res0-dev libxcb-util0-dev libxcb-util-dev pkg-config
    
  5. conan config install https://github.com/CRM-Suite/conan-config.git

  6. conan profile new default --detect --force

  7. Clone the Cura repository:

    git clone https://github.com/CRM-Suite/Cura.git
    
  8. Navigate into the Cura folder:

    cd Cura
    
  9. Install dependencies:

    conan install . --build=missing --update -o cura:devtools=True -g VirtualPythonEnv