mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 06:12:12 +00:00
CI flagged ~150 K2 profile files for using space indentation; repo convention
is tab indentation. Ran the upstream-provided fixer:
python3 scripts/orca_filament_lib.py -v Creality -p filament -f --force
Mechanical normalization:
- Spaces → tabs (1 tab per indent level)
- Field ordering normalized (name + type first)
- Single-value scalar fields converted to single-element arrays where the
schema expects arrays (filament_cost, filament_density,
temperature_vitrification, filament_max_volumetric_speed)
No semantic content changes. Pre-existing issue from the original K2
profile import; touching these files in the multicolor_method strip
brought them into the validator's PR-diff scope.
35 lines
750 B
JSON
35 lines
750 B
JSON
{
|
|
"type": "filament",
|
|
"name": "Creality Generic PLA-CF @K2-all",
|
|
"inherits": "Creality Generic PLA-CF",
|
|
"from": "system",
|
|
"setting_id": "GFSL96_00",
|
|
"instantiation": "true",
|
|
"filament_vendor": [
|
|
"Creality"
|
|
],
|
|
"filament_max_volumetric_speed": [
|
|
"18"
|
|
],
|
|
"slow_down_layer_time": [
|
|
"8"
|
|
],
|
|
"additional_cooling_fan_speed": [
|
|
"0"
|
|
],
|
|
"compatible_printers": [
|
|
"Creality K2 0.2 nozzle",
|
|
"Creality K2 0.4 nozzle",
|
|
"Creality K2 0.6 nozzle",
|
|
"Creality K2 0.8 nozzle",
|
|
"Creality K2 Plus 0.2 nozzle",
|
|
"Creality K2 Plus 0.4 nozzle",
|
|
"Creality K2 Plus 0.6 nozzle",
|
|
"Creality K2 Plus 0.8 nozzle",
|
|
"Creality K2 Pro 0.2 nozzle",
|
|
"Creality K2 Pro 0.4 nozzle",
|
|
"Creality K2 Pro 0.6 nozzle",
|
|
"Creality K2 Pro 0.8 nozzle"
|
|
]
|
|
}
|