Move prusa-slicer to own role

This commit is contained in:
Jakob Lechner 2023-09-14 20:19:04 +00:00
parent c04f57309b
commit d372cd9f09
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
5 changed files with 64 additions and 54 deletions

View file

@ -12,6 +12,7 @@
- role: windowmanager
- role: inkscape
- role: lightburn
- role: prusa-slicer
- role: fablab
- role: hardware
- role: docker
@ -45,51 +46,6 @@
version: 3.3.1
lightburn:
dockerimage: r.jalr.de/fablab/lightburn
prusa_slicer:
settings: |
no_controller = 1
no_defaults = 1
preset_update = 0
show_splash_screen = 0
use_inches = 0
version_check = 0
view_mode = expert
[filaments]
AmazonBasics TPU @MINI = 1
Das Filament PLA = 1
Generic PETG = 1
Generic PETG @MINI = 1
Generic PETG @MMU2 = 1
Generic PLA = 1
Generic PLA @MMU2 = 1
Prusament ASA = 1
Prusament ASA @MINI = 1
Prusament ASA @MMU2 = 1
Prusament PC Blend = 1
Prusament PC Blend @MINI = 1
Prusament PC Blend @MMU2 = 1
Prusament PETG = 1
Prusament PETG @MINI = 1
Prusament PETG @MMU2 = 1
Prusament PLA = 1
Prusament PLA @MMU2 = 1
Prusament PVB = 1
Prusament PVB @MMU2 = 1
Verbatim BVOH = 1
Verbatim BVOH @MMU2 = 1
[presets]
filament = Prusament PLA
physical_printer =
print = 0.15mm QUALITY @MK3
printer = Original Prusa i3 MK3
sla_material =
sla_print =
[vendor:PrusaResearch]
model:MK3 = 0.4
model:MK3SMMU2S = 0.4
firefox:
language_packs:
- de
@ -113,3 +69,48 @@
lightburn:
devices:
- https://raw.githubusercontent.com/fablab-nea/LaserKutter/main/lightburn/LaserKutter.lbdev
prusa_slicer:
settings: |
no_controller = 1
no_defaults = 1
preset_update = 0
show_splash_screen = 0
use_inches = 0
version_check = 0
view_mode = expert
[filaments]
AmazonBasics TPU @MINI = 1
Das Filament PLA = 1
Generic PETG = 1
Generic PETG @MINI = 1
Generic PETG @MMU2 = 1
Generic PLA = 1
Generic PLA @MMU2 = 1
Prusament ASA = 1
Prusament ASA @MINI = 1
Prusament ASA @MMU2 = 1
Prusament PC Blend = 1
Prusament PC Blend @MINI = 1
Prusament PC Blend @MMU2 = 1
Prusament PETG = 1
Prusament PETG @MINI = 1
Prusament PETG @MMU2 = 1
Prusament PLA = 1
Prusament PLA @MMU2 = 1
Prusament PVB = 1
Prusament PVB @MMU2 = 1
Verbatim BVOH = 1
Verbatim BVOH @MMU2 = 1
[presets]
filament = Prusament PLA
physical_printer =
print = 0.15mm QUALITY @MK3
printer = Original Prusa i3 MK3
sla_material =
sla_print =
[vendor:PrusaResearch]
model:MK3 = 0.4
model:MK3SMMU2S = 0.4

View file

@ -18,9 +18,6 @@
- import_tasks: visicut.yml
tags:
- fablab:visicut
- import_tasks: prusa.yml
tags:
- fablab:prusa
# - import_tasks: platformio.yml
# tags:
# - fablab:platformio

View file

@ -1,9 +1,4 @@
---
- name: install slic3r-prusa
apt:
name: slic3r-prusa
state: present
- name: create skel directories
file:
path: "/etc/skel/{{ item }}"
@ -21,5 +16,5 @@
- name: Copy Prusa slicer settings
copy:
content: "{{ fablab.prusa_slicer.settings }}"
content: "{{ prusa_slicer.settings }}"
dest: /etc/skel/.config/PrusaSlicer/PrusaSlicer.ini

View file

@ -0,0 +1,5 @@
---
- name: install slic3r-prusa
apt:
name: slic3r-prusa
state: present

View file

@ -0,0 +1,12 @@
---
- block:
- import_tasks: install.yml
tags:
- prusa-slicer:install
- import_tasks: configure.yml
tags:
- prusa-slicer:configure
tags:
- prusa-slicer