Commit Graph
13 Commits
Author SHA1 Message Date
SoftFever feeea3e651 fix: treat renamed printer presets as compatible aliases (#14504)
# Description

Fixes user filament presets that reference an old printer preset name in
`compatible_printers`, even when the current system printer preset
correctly declares that old name in `renamed_from`.

## Core Issue

`PresetCollection::find_preset()` was updated to resolve `renamed_from`,
but this specific failure does not go through `find_preset()`.

For root user filament presets with empty `inherits`, Orca infers
`compatible_printers` from the filament name suffix after `@`. For
example:

```json
"ELEGOO PLA Base @Elegoo Neptune 4 Pro (0.4 nozzle)"
```

loads with:

```json
"compatible_printers": ["Elegoo Neptune 4 Pro (0.4 nozzle)"]
```

The current system printer preset is named:

```text
Elegoo Neptune 4 Pro 0.4 nozzle
```

and has:

```json
"renamed_from": "Elegoo Neptune 4 Pro (0.4 nozzle)"
```

However, filament compatibility was doing a direct string comparison
against the active printer name. Since that compatibility path does not
call `find_preset()`, the `renamed_from` mapping was never considered.

## Fix

Teach printer compatibility checks to treat
`active_printer.preset.renamed_from` entries as aliases of the active
printer name.

This preserves existing user preset JSON and avoids rewriting
`compatible_printers`, while allowing old printer suffixes to remain
compatible with renamed system printer presets.

## Tests

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-07-06 12:27:46 +08:00
HYzd766 b882da99ad Modifications to the hotbed temperature of various types of printing plates (#13717) 2026-05-20 22:55:58 +08:00
Ian Bassi 16727644bb Reduce size by Json Fromatting (#13163)
Reduce the size of current and new JSONs by standardising them with 1 tab indentation instead of 4 spaces.
This effectively reduces the size by almost 20 MB.

| Current | New |
|---|---|
| 85.2 Mib | 67 Mib |

Used [JQ](https://jqlang.org/) `--tab` to automatically format every current JSON.

> [!NOTE]
> Some profiles had the arrays on the same line, but those created by Orca were in the standard format (each object below the previous one). In some cases, this increases the number of tabs due to the new lines, but the increase is negligible, and this way both the base profiles and those created by Orca maintain the same style.
2026-04-15 22:58:12 +08:00
SoftFever 4f50fdc94e Fixed many profile issues and cleaned up some messes. (#10686) 2025-09-11 17:50:53 +08:00
HYzd766 c59cb0ed64 Qidi profile updates (#7056)
* Qidi.json

* Qidi.json

* Qidi.json

* new change

new change

* Qidi.json

* Update fdm_filament_pla.json

little change

* Update fdm_filament_pla.json

little change

* Update fdm_machine_common.json

little change

* Update fdm_process_qidi_x3_common.json

little change
2024-10-27 22:54:26 +08:00
HYzd766 63dcf82f15 Bug Repaired (#5801)
* Qidi.Json

* Qidi.json

* Qidi.json

* Qidi.json

* Qidi.json

* Qidi.json
2024-06-25 00:58:46 +08:00
HYzd766 985578fbdc Chamber Change (#5500)
* Update fdm_filament_abs.json

Modification based on chamber temperature

* Update fdm_filament_asa.json

Modification based on chamber temperature

* Update QIDI ABS-GF25 @Qidi Q1 Pro 0.4 nozzle.json

Modification based on chamber temperature

* Update QIDI ABS-GF25 @Qidi Q1 Pro 0.6 nozzle.json

Modification based on chamber temperature

* Update QIDI ABS-GF25 @Qidi Q1 Pro 0.8 nozzle.json

Modification based on chamber temperature

* Update QIDI ASA @Qidi Q1 Pro 0.2 nozzle.json

Modification based on chamber temperature

* Update Qidi Generic ABS.json

Modification based on chamber temperature

* Update Qidi Generic ASA.json

Modification based on chamber temperature
2024-05-30 21:15:27 +08:00
HYzd766 8ae358e9bc Update QIDI profiles (#5017)
* Qidi.Json

* Qidi.json

* Qidi.json
2024-04-15 22:20:11 +08:00
Hukete fdb73b2e2a Qidi: profiles updates (#2506)
Add TPU-95A HF
2023-10-25 17:11:24 +08:00
SoftFever e6fcbfae07 fix 2023-08-26 20:55:44 +08:00
SoftFever 2a478ab4f9 post changes after merging BS1.7.4
Remove tracking etc..
2023-08-26 18:45:43 +08:00
xun.zhang a39c2018d4 ENH: optimize some params for third-party printer
Thanks for Orca's efforts to improve third-party profiles.
This modification is based on Orca's commits afdd753db7 and aaefc400e1.


commit afdd753db7
Author: SoftFever <softfeverever@gmail.com>
Date:   Thu Aug 3 00:40:30 2023 +0800

    tweak profiles

commit aaefc400e1
Author: SoftFever <softfeverever@gmail.com>
Date:   Mon Jul 31 18:48:25 2023 +0800

    Tweak profiles
    1. Fix Voron Trident printable height issue #1641
    2. Revamp Qidi X3 printer profiles
    3. Turn on accel_to_decel_enable for klipper machine by default
    4. Many other profiles tweaks


Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I7c3ffaec5b06df61eb44b1c565bcb4a6c8de89ea
2023-08-04 18:28:42 +08:00
xun.zhang 4733a9a602 ENH: pick Qidi and Voxelab printers from orca
Change-Id: Ic441a96dfe82915c6b1ddfba07c5cabd7a7a4148
2023-07-07 17:29:08 +08:00