mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-01 14:27:00 +00:00
filament_id v4.2b: re-mint the Qidi QD_* island (plan v4 SS4)
All 264 QD_* declarations re-derive from their family triples via --remint Qidi. Only 8 family ids are new: most QIDI-brand products already carried v3.2-minted ids on older printer series, so the QD-series declarations converge onto them (QD_0..4_1_1 -> OFKIQO2W "QIDI PLA Rapido"), and the six Generic families converge onto the shared generic ids (Generic PLA -> OFDSrzZ8 etc.) by triple math -- no inherits or compatible_printers changes anywhere. --update-snapshot retires all 204 QD_* ids with mode-rule successors. Audit: 204/204 non-null successors, every chain ends at a live id; the four ids hardcoded in QidiPrinterAgent's non-numeric-series fallback resolve to the OFL generics (QD_1_0_1 -> OFDSrzZ8, ...). The v4.1 agent hook translates device-composed QD_* ids through these entries at runtime, so box behavior is preserved on updated clients. Known accepted residue (plan v4 SS4): three case/spelling family splits keep distinct ids for one product line each -- QIDI PC-ABS-FR (series 1-2) vs QIDI PC/ABS-FR (series 3-4) vs Qidi PC-ABS-FR (X-Plus 4), and QIDI TPU 95A-HF vs Qidi TPU 95A-HF. Renames are ruled out; the ledger's per-series successors keep each device slot resolving to the right presets, and a future upstream name unification self-heals through content addressing. The code<->ledger lockstep test is now active (un-skipped). Gates: --check 0; orca_extra_profile_check 0/0; 117 script tests OK (0 skipped); validator base, -f tree-wide, -v Qidi all exit 0; libslic3r_tests green; Qidi profile diff is filament_id-value-only. Qidi.json version bumped.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1485,7 +1485,6 @@ class TestRealTree(unittest.TestCase):
|
||||
# QidiPrinterAgent::map_filament_type_to_setting_id returns must stay
|
||||
# retired ledger keys whose chains end at a live preset id, because the
|
||||
# agent resolves them through resolve_filament_id_succession() at runtime.
|
||||
@unittest.skip("enable with plan v4.2: QD_* ids are not retired yet")
|
||||
def test_qidi_agent_fallback_ids_resolve_through_ledger(self):
|
||||
cpp = os.path.join(REPO_ROOT, "src", "slic3r", "Utils", "QidiPrinterAgent.cpp")
|
||||
with open(cpp, encoding="utf-8") as f:
|
||||
|
||||
Reference in New Issue
Block a user