Make Cubicon's "@base" filament presets true base profiles

Cubicon's nine "@base" presets were the only instantiated ones of the 196
"@base" filament presets in the library; the other 187 are instantiation:false.
Being selectable, and claiming xCeler-I and xCeler-Plus, they put two presets of
one product on those two printers - which is what forced the nine filament_id
salt splits: one product deliberately kept on two ids so AMS matching stayed
unambiguous.

Flip them to instantiation:false and drop the compatible_printers, setting_id
and filament_settings_id that a base has no use for, matching what the other
150 bases carry. The three "@Cubicon xCeler-{I,Mini,Plus} 0.4 nozzle" variants
keep one printer each, so every printer still sees exactly one preset per
product and they converge on its single id; the nine salted ids retire.

A base is not added to the preset collection, so user presets that inherited
the selectable "@base" - the v2.3.2-v2.4.2 fixtures have one per material -
would lose their parent. renamed_from on the xCeler-I variant, the first model
the base ever claimed, redirects them; a preset built on "@base" while printing
on an xCeler-Plus narrows to the xCeler-I.

The six default_materials / default_filament_profile fields named
"Cubicon PLA @Cubicon xCeler-<model>", dropping the " 0.4 nozzle" the presets
actually carry, so none of them ever resolved; each model now names its own
variant.

Claude-Session: https://claude.ai/code/session_01Q3zm9HuyskkSb4hynviV99
This commit is contained in:
SoftFever
2026-09-07 15:45:29 +08:00
parent eebc82cc95
commit 6943b6ddc3
26 changed files with 34 additions and 169 deletions

View File

@@ -899,14 +899,6 @@
"filament_type": "PHA",
"filament_vendor": "Generic"
},
"OF79Fbo6": {
"filaments": [
"Cubicon/Cubicon PC"
],
"name": "Cubicon PC",
"filament_type": "PC",
"filament_vendor": "Cubicon"
},
"OF7H3VJM": {
"filaments": [
"OrcaFilamentLibrary/eSUN PLA-Marble"
@@ -997,14 +989,6 @@
"filament_type": "TPU-64D",
"filament_vendor": "Flashforge"
},
"OF8Hx3Pi": {
"filaments": [
"Cubicon/Cubicon PETG"
],
"name": "Cubicon PETG",
"filament_type": "PETG",
"filament_vendor": "Cubicon"
},
"OF8Jl6NT": {
"filaments": [
"Snapmaker/Snapmaker J1 PET"
@@ -1477,14 +1461,6 @@
"filament_type": "PLA",
"filament_vendor": "Volumic"
},
"OFD21ije": {
"filaments": [
"Cubicon/Cubicon PA-CF"
],
"name": "Cubicon PA-CF",
"filament_type": "PA",
"filament_vendor": "Cubicon"
},
"OFD8loeT": {
"filaments": [
"re3D/re3D rPETG"
@@ -2950,14 +2926,6 @@
"filament_type": "PLA",
"filament_vendor": "addnorth"
},
"OFN9fefN": {
"filaments": [
"Cubicon/Cubicon ABS-A100"
],
"name": "Cubicon ABS-A100",
"filament_type": "ABS",
"filament_vendor": "Cubicon"
},
"OFNBlAPT": {
"filaments": [
"OrcaArena/Arena PETG Basic"
@@ -3514,14 +3482,6 @@
"filament_type": "PVA",
"filament_vendor": "Volumic"
},
"OFRmGKVX": {
"filaments": [
"Cubicon/Cubicon PLA+"
],
"name": "Cubicon PLA+",
"filament_type": "PLA",
"filament_vendor": "Cubicon"
},
"OFRooa0F": {
"filaments": [
"Snapmaker/Snapmaker Dual PA-CF"
@@ -4623,14 +4583,6 @@
"filament_type": "PC-CF",
"filament_vendor": "Generic"
},
"OFafocjw": {
"filaments": [
"Cubicon/Cubicon ABS"
],
"name": "Cubicon ABS",
"filament_type": "ABS",
"filament_vendor": "Cubicon"
},
"OFausr3F": {
"filaments": [
"OrcaFilamentLibrary/FilAr PLA-mate Rosa"
@@ -4871,14 +4823,6 @@
"filament_type": "PLA",
"filament_vendor": "Snapmaker"
},
"OFdkWDiy": {
"filaments": [
"Cubicon/Cubicon PLAi21"
],
"name": "Cubicon PLAi21",
"filament_type": "PLA",
"filament_vendor": "Cubicon"
},
"OFdqkWtz": {
"filaments": [
"Flashforge/Flashforge PLA Luminous"
@@ -5296,14 +5240,6 @@
"filament_type": "PC",
"filament_vendor": "Volumic"
},
"OFgVQkqW": {
"filaments": [
"Cubicon/Cubicon ABSk"
],
"name": "Cubicon ABSk",
"filament_type": "ABS",
"filament_vendor": "Cubicon"
},
"OFgXgt98": {
"filaments": [
"Artillery/Artillery ABS"
@@ -5807,14 +5743,6 @@
"filament_type": "PLA",
"filament_vendor": "Polymaker"
},
"OFjcwUEm": {
"filaments": [
"Cubicon/Cubicon PLA"
],
"name": "Cubicon PLA",
"filament_type": "PLA",
"filament_vendor": "Cubicon"
},
"OFjiXpyf": {
"filaments": [
"Qidi/Generic TPU 95A",