mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-28 03:11:47 +00:00
feature/texture_displacement
3
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ade9e77b6b |
Run every profile maintenance job from one tool (#15726)
* Run every profile maintenance job from one tool orca_id_tool.py becomes orca_profile_tool.py, and orca_extra_profile_check.py and orca_filament_lib.py fold into it as subcommands: check, generate-id, fix, trim, update-index and update-snapshot. The three scripts already overlapped -- the checker imported half of its rules from the id tool, which in turn kept a copy-pasted set of output helpers to avoid the resulting import cycle -- while disagreeing on how a vendor is enumerated, how a JSON file is read and what the exit code means. One file settles all three. check, normalize, trim and update-index reproduce their predecessors exactly; normalize and update-index were diffed byte-for-byte against the old scripts over a copy of the whole tree. Deliberate changes: the compatible-printers check no longer switches itself off when --check-materials is passed, an error exits 1 rather than -1, update-index honours --profile-type and reports a profile it cannot place instead of dropping it from the index, fix and update-index gained --dry-run, trim keeps an unindexed file some surviving profile still inherits from, and vendors are enumerated as directories with an index -- which is why blacklist.json, a data file that an unscoped index rebuild once wrote four empty list sections into, loses them here and will not collect them again. The dead rename_filament_system() helper is gone. The suite under scripts/tests now covers the maintenance commands too, and CI runs it; nothing there ran in CI before. No shipped profile data changes apart from those four keys. * update vendor index files with "python3 ./scripts/orca_profile_tool.py update-index" and "python3 ./scripts/orca_profile_tool.py normalize" |
||
|
|
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 |
||
|
|
abe6f95aae |
Updated profiles for all Creality K-series printers (+CFS-c support) and Creality SparkX i7 support (#13947)
* v2 updated profiles and fixes * Add files via upload fixing timelaps error * Add files via upload fix timelapses * syntax fix * fixing profil errors * Add files via upload fixing * Add files via upload fixing errors * fixing syntax errors * Add files via upload syntax fix * Add files via upload naming fix * Update SPARKX startgcode * Update SPARKX i7 startgcode * Update SPARKX i7 startgcode * Update SPARKX i7 startgcode * delete old file dublicates * SparkX gcode fix * indentation fix * name changes of printers and deleted 2025 versions * syntax fix * fixes * fixes * profil name fixes and syntax * fixed naming restored old names, renamed Ender 3 S1 Sonic, fixed Creality.json - used original formating and fixed the printer list order * syntax * Add files via upload syntax, formating * differences fix fixing deleted lines in creality.json * differences fix in creality.json * Update Creality CR-10 SE.json * Update Creality CR-10 V3.json * Update Creality CR-6 Max.json * Update Creality CR-10 V3.json * Update Creality CR-6 SE.json * Update Creality Ender-3 Pro.json * Update Creality Ender-3 S1 Plus.json * Update Creality Ender-3 V3 KE.json * Update Creality Ender-3.json * Update Creality Ender-5 Pro (2019).json * Update Creality K1 Max.json * Update Creality K1.json * Update Creality K1C.json * Update Creality K2 Plus.json * Update Creality K2 Pro.json * Update Creality K2.json * filament and process files formating and fixes form comments * formating fixes * 0 value fix * combine filament profiles * fix deleted filament * machine files formatting * machine files formatting * Update Creality Hi.json change bed type * Update bed type Creality Ender-5 Max.json * chore(profiles/Creality): update SPARKX i7 process names Update the profile names according to the existing ones, according to layer height vs nozzle diameter: - 0.10mm @ 0.2: "HighDetail" - 0.08mm @ 0.4: "SuperDetail" - 0.12mm @ 0.4: "Fine" - 0.16mm @ 0.4: "Optimal" - 0.20mm @ 0.4: "Standard" (maintained) - 0.24mm @ 0.4: "Draft" - 0.28mm @ 0.4: "SuperDraft" - 0.30mm @ 0.6: "Standard" (maintained) - 0.40mm @ 0.8: "Standard" (maintained) This leaves the "HueForge" one untouched, that's it's own setting. * chore(profiles/Creality): update machine with new process name Matches the default process for the 0.2 nozzle to the renamed process. * chore(profiles/Creality): update processes on `Creality.json` Update the main `Creality.json` manifest with the updated process (file) names. * Update Creality K1 Max (0.4 nozzle).json * Update Creality K1 Max (0.6 nozzle).json * Update Creality K1 Max (0.8 nozzle).json * delete cr30 and k1 se naming fix * Update 0.20mm Standard @Creality K1 SE 0.4.json * Update Creality.json delete duplicat entry * fixed formatting * split PR * formatting fixes * settings id instead of filament id delete * Delete Creality.json in wrong location * delete filament id * Update Creality SPARKX i7 0.2 nozzle.json * Update Creality SPARKX i7 0.4 nozzle.json * Update Creality SPARKX i7 0.6 nozzle.json * Update Creality SPARKX i7 0.8 nozzle.json * delete ender 5 files * delete ender 5 max files * adding ender 5 max files * Update Creality Hi 0.6 nozzle.json * fixes from comments * fixes from comments * fixes from comments and adding filamentid back * tabs formatting fixes * fixes * K1C fixes and printer_structure delete undefined * formatting * fixes from comments * fixes from comments * use original pictures * naming fixes, Default Filament profile and Filaments fixed * match order of key process files * match order in Creality.json and fix Profile error * order of printers in menu fix and max accel warning fixed * revert back fixes for warnings * fix duplicate keys from resolving merging conflicts --------- Co-authored-by: Alys Andreollo <3528187+alysandreollo@users.noreply.github.com> Co-authored-by: SoftFever <softfeverever@gmail.com> |