mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 06:27:33 -06:00
Add check for obsolete keys in profiles (#9955)
* feat: Add check for obsolete keys in filament profiles and improve error handling * feat: Enhance error handling in machine profile checks and filament name consistency * feat: Add option to check for obsolete keys in profile validation * feat: Clarify help message for obsolete keys check in filament profiles
This commit is contained in:
parent
8aec3f69e5
commit
5c42b396e0
2 changed files with 150 additions and 51 deletions
|
@ -401,11 +401,15 @@ In addition to the Orca validator, you should run the `orca_extra_profile_check.
|
|||
python ./orca_extra_profile_check.py
|
||||
```
|
||||
|
||||
|
||||
You can also enable or disable specific checks:
|
||||
|
||||
- `--help`: displays help information
|
||||
- `--vendor` (optional): checks only the specified vendor. If omitted, all vendors are checked.
|
||||
- `--check-filaments` (enabled by default): checks `compatible_printers` fields in filament profiles
|
||||
- `--check-materials`: checks default material names in machine profiles
|
||||
- `--check-obsolete-keys`: checks for obsolete keys in profiles
|
||||
|
||||
|
||||
#### Sample usage with all checks enabled
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue