mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
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.
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"type": "filament",
|
|
"name": "Prusa Generic PLA",
|
|
"inherits": "fdm_filament_pla",
|
|
"from": "system",
|
|
"setting_id": "GFSA04",
|
|
"instantiation": "true",
|
|
"filament_flow_ratio": [
|
|
"0.98"
|
|
],
|
|
"filament_max_volumetric_speed": [
|
|
"12"
|
|
],
|
|
"slow_down_layer_time": [
|
|
"8"
|
|
],
|
|
"filament_start_gcode": [
|
|
"; filament start gcode\nM900 K{if printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.6}0.12{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.8}0.06{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/}0.2{elsif nozzle_diameter[0]==0.8}0.01{elsif nozzle_diameter[0]==0.6}0.04{else}0.05{endif} ; Filament gcode LA 1.5\n{if printer_notes=~/.*PRINTER_MODEL_MINI.*/};{elsif printer_notes=~/.*PRINTER_HAS_BOWDEN.*/}M900 K200{elsif nozzle_diameter[0]==0.6}M900 K18{elsif nozzle_diameter[0]==0.8};{else}M900 K30{endif} ; Filament gcode LA 1.0"
|
|
],
|
|
"compatible_printers": [
|
|
"Prusa MK3S 0.25 nozzle",
|
|
"Prusa MK3S 0.4 nozzle",
|
|
"Prusa MK3S 0.6 nozzle",
|
|
"Prusa MK3S 0.8 nozzle",
|
|
"Prusa MINI 0.25 nozzle",
|
|
"Prusa MINI 0.4 nozzle",
|
|
"Prusa MINI 0.6 nozzle",
|
|
"Prusa MINI 0.8 nozzle"
|
|
]
|
|
}
|