prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.39k stars 1.87k forks source link

Profile Inheritance: no multiple inheritance in the UI user mode #12640

Open Andrei-Pozolotin opened 3 weeks ago

Andrei-Pozolotin commented 3 weeks ago

Description of the bug

Currently, in Version 2.7.4+linux-x64-GTK3:

Multiple profile inheritance is supported in the "config import mode", for example:

repository search for "inherits = *vcore"

Final child profile will inherit form 2 parent profiles:

inherits = *vcore-klipper*; *0.4nozzle*

However, when configuring multiple inheritance inside the "resolved profiles" ,

located in: {slicer_config_dir}/filament/custom-filament-profile.ini

inherits = base_filament; extra_filament

or located in: {slicer_config_dir}/print/custom-print-profile.ini

inherits = base_print; extra_print

then the inherits = entry is silently ignored:

And single inheritance seems to work fine:

inherits = base_print # only single config reference

Project file & How to reproduce

N/A

Checklist of files included above

Version of PrusaSlicer

Version 2.7.4+linux-x64-GTK3

Operating system

Linux work3 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux

Printer model

N/A