Files
OrcaSlicer/resources/profiles/Kingroon/machine/Kingroon KP3S PRO V2 0.4 nozzle.json
T
SoftFever 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
2026-06-27 20:11:25 +08:00

87 lines
2.1 KiB
JSON

{
"type": "machine",
"name": "Kingroon KP3S PRO V2 0.4 nozzle",
"inherits": "fdm_klipper_common",
"from": "system",
"setting_id": "mTLNFIFxtFsGkdyQ",
"instantiation": "true",
"printer_model": "Kingroon KP3S PRO V2",
"default_filament_profile": "Generic PLA @System",
"default_print_profile": "0.20mm Standard @Kingroon KP3S PRO V2",
"bed_exclude_area": [
"0x0"
],
"extruder_colour": [
"#FCE94F"
],
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"deretraction_speed": [
"45"
],
"machine_end_gcode": "{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+2, max_print_height)} F600 ; Move print head up{endif}\nG1 X5 Y200 F6000 ; present print\n{if max_layer_z < max_print_height-10}G1 Z{z_offset+min(max_layer_z+20, max_print_height-10)} F600 ; Move print head further up{endif}\n{if max_layer_z < max_print_height*0.6}G1 Z{max_print_height*0.6} F600 ; Move print head further up{endif}\nM140 S0 ; turn off heatbed\nM104 S0 ; turn off temperature\nM107 ; turn off fan\nM84 X Y E ; disable motors\nEND_PRINT",
"machine_max_acceleration_e": [
"10000",
"5000"
],
"machine_max_acceleration_extruding": [
"10000",
"9000"
],
"machine_max_acceleration_retracting": [
"10000",
"9000"
],
"machine_max_acceleration_x": [
"10000",
"9000"
],
"machine_max_acceleration_y": [
"10000",
"9000"
],
"machine_max_acceleration_z": [
"10000",
"100"
],
"machine_max_jerk_e": [
"20",
"5"
],
"machine_max_jerk_x": [
"20",
"7"
],
"machine_max_jerk_y": [
"20",
"7"
],
"machine_start_gcode": "START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]\nCANCEL_POWEROFF\nG90 ; use absolute coordinates\nM83 ; extruder relative mode\nG92 E0",
"max_layer_height": [
"0.32"
],
"retraction_length": [
"0.8"
],
"retraction_speed": [
"45"
],
"use_firmware_retraction": "1",
"wipe": [
"0"
],
"z_hop": [
"0"
],
"printable_area": [
"0x0",
"205x0",
"205x205",
"0x205"
],
"printable_height": "200",
"nozzle_diameter": [
"0.4"
]
}