Commit Graph

6 Commits

Author SHA1 Message Date
SoftFever
8cb2e4e01e profiles: deterministic setting_id from vendor/type/name (#14432)
* profiles: enforce globally-unique, per-vendor-namespaced setting_id

Many non-Bambu vendors copied Bambu's generic setting_ids (GFSA04 alone
appeared in 1557 files), so setting_id was not globally unique. This
namespaces every vendor's ids and reserves Bambu/OrcaFilamentLibrary space.

- Reserve "G*" (Bambu) and "O*" (OrcaFilamentLibrary) id spaces.
- Assign each other vendor a 2-char prefix (first+last letter, collision
  resolved) and renumber every instantiated preset to <PREFIX><NNNN>.
- Strip setting_id from base profiles (instantiation:false) per Bambu's
  convention; assign one to instantiated presets that lacked it.
- Remove the pre-existing misspelled "settings_id" key (91 files).
- filament_id is left untouched (it is a per-material id).
- Add one-time migration script scripts/assign_vendor_setting_ids.py with a
  persisted registry resources/profiles/vendor_prefixes.json. Re-runs freeze
  existing ids; only new vendors/profiles get new ids.
- Bump version in each changed vendor index file.
- Extend scripts/orca_extra_profile_check.py with a CI guard: global
  uniqueness, in-namespace, no base setting_id, no gaps, no settings_id typo.

7425 profile files changed across 61 vendors; 0 cross-vendor collisions;
validator clean; migration idempotent. BBL and OrcaFilamentLibrary id spaces
untouched.

* profiles: add setting_id authoring guide for new vendors / profiles

* profiles: drop in-repo README; setting_id guide now lives in the wiki

* profiles: derive setting_id deterministically from vendor/type/name

* bump profile version
2026-06-27 20:11:25 +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
cochcoder
64d0c324c1 Add Creality CR-10 SE (#4757)
* Add CR-10 SE and standard profiles

* Misc

Add more perimeters to CR-10 SE profiles
Add printer to filament profiles
Link everything in Creality.json

* Fix two bugs

* Forgot this
2024-03-29 17:57:01 +08:00
Thomas
48541be681 Creality K1 Profiles improvements (and K1C addition) (#3728)
* Added K1C and fixed some settings (took from config files instead of Creality Print)

* Files renaming

* New PLA-CF, prettify json for K1C, naming uniformisation, ...

* Port Special PLA profiles to K1/K1 Max

* Changed slow down layer time and slow down min speed in order to improve overall speed on details.

* Raised PLA bed temp to 55°C

* Optimisations for ABS, ASA and added Generic PC profile.

* Added PA-CF and fixed PC profiles.

* Added new filaments to default materials
2024-01-24 14:19:36 +00:00
Thomas
25447877c6 Config changes for Creality K1/K1 Max (#2380)
* Update 0.16mm Optimal @Creality K1 (0.4 nozzle).json

Improved K1 0.16mm profile

* Improved 0.20mm Standard @Creality K1 (0.4 nozzle).json

* Improved 0.24mm Draft @Creality K1 (0.4 nozzle).json

* Create Creality High Flow Hotend PLA.json

* Create fdm_filament_tpu.json

* Create fdm_filament_asa.json

* Create Creality Generic ASA.json

* Update Creality Generic PLA.json

* Create Creality Generic Speed PLA.cfg

* Rename Creality High Flow Hotend PLA.json to Creality High Flow Hotend Generic PLA.json

* Rename Creality Generic Speed PLA.cfg to Creality High Flow Hotend Generic Speed PLA.cfg

* Update Creality Generic ASA.json

* Update Creality K1 (0.4 nozzle).json

* Update Creality K1 (0.6 nozzle).json

* Update Creality K1 (0.8 nozzle).json

* Update Creality Generic ASA.json

* Rename Creality High Flow Hotend Generic PLA.json to Creality HF Generic PLA.json

* Rename Creality High Flow Hotend Generic Speed PLA.cfg to Creality HF Generic Speed PLA.cfg

* Update Creality Generic PLA.json

* Update 0.24mm Draft @Creality K1 (0.4 nozzle).json

* Update Creality HF Generic PLA.json

* Update Creality HF Generic Speed PLA.cfg
2023-10-14 10:59:51 +08:00