Files
OrcaSlicer/resources/profiles/Creality/filament/Creality Generic ASA @K2-all.json
grant0013 3df71d86aa harktech: normalize Creality K2 filament profiles per repo convention
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.
2026-05-20 11:27:29 +00:00

41 lines
954 B
JSON

{
"type": "filament",
"name": "Creality Generic ASA @K2-all",
"inherits": "Creality Generic ASA",
"from": "system",
"setting_id": "GFSA04_00",
"instantiation": "true",
"filament_vendor": [
"Creality"
],
"filament_flow_ratio": [
"0.95"
],
"filament_max_volumetric_speed": [
"14"
],
"slow_down_layer_time": [
"10"
],
"slow_down_min_speed": [
"20"
],
"filament_start_gcode": [
";filament start gcode\n{if (position[2] > first_layer_height) }\nM104 S[nozzle_temperature]\n{else} \nM104 S[first_layer_temperature]\n{endif}"
],
"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"
]
}