Files
OrcaSlicer/resources/profiles/Anycubic/machine/Anycubic Kobra 2 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

115 lines
2.7 KiB
JSON

{
"type": "machine",
"name": "Anycubic Kobra 2 0.4 nozzle",
"inherits": "fdm_machine_common",
"from": "system",
"setting_id": "A5NqCueiXvqICdAN",
"instantiation": "true",
"printer_model": "Anycubic Kobra 2",
"default_print_profile": "0.20mm Standard @Anycubic Kobra2",
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"220x0",
"220x220",
"0x220"
],
"printable_height": "250",
"nozzle_type": "undefine",
"auxiliary_fan": "0",
"machine_max_acceleration_extruding": [
"2500",
"2500"
],
"machine_max_acceleration_retracting": [
"2500",
"2500"
],
"machine_max_acceleration_travel": [
"3000",
"1250"
],
"machine_max_acceleration_x": [
"2500",
"2500"
],
"machine_max_acceleration_y": [
"2500",
"2500"
],
"machine_max_acceleration_z": [
"800",
"800"
],
"machine_max_speed_e": [
"80",
"80"
],
"machine_max_speed_x": [
"300",
"300"
],
"machine_max_speed_y": [
"250",
"250"
],
"machine_max_speed_z": [
"8",
"8"
],
"machine_max_jerk_e": [
"10",
"10"
],
"machine_max_jerk_x": [
"15",
"15"
],
"machine_max_jerk_y": [
"10",
"10"
],
"machine_max_jerk_z": [
"2",
"2"
],
"max_layer_height": [
"0.32"
],
"min_layer_height": [
"0.04"
],
"printer_settings_id": "Anycubic",
"retraction_minimum_travel": [
"1"
],
"retract_before_wipe": [
"70%"
],
"retraction_length": [
"2"
],
"retract_length_toolchange": [
"1"
],
"retraction_speed": [
"80"
],
"deretraction_speed": [
"80"
],
"single_extruder_multi_material": "1",
"change_filament_gcode": "M600",
"machine_pause_gcode": "M601",
"default_filament_profile": [
"Anycubic Generic PLA"
],
"machine_start_gcode": "G90 ;Use absolute coordinates\nM83 ;Extruder relative mode\nM104 S[first_layer_temperature] ;Set extruder temp\nM140 S[first_layer_bed_temperature] ;Set bed temp\nM190 S[first_layer_bed_temperature] ;Wait for bed temp\nM109 S[first_layer_temperature] ;Wait for extruder temp\nG28 ;Move X/Y/Z to min endstops\nG1 Z0.28 ;Lift nozzle a bit\nG92 E0 ;Specify current extruder position as zero\nG1 Y3 F1800 ;Move Y to purge point\nG1 X60 E25 F500 ;Extrude 25mm of filament in a 5cm line\nG92 E0 ;Zero the extruded length again\nG1 E-2 F500 ;Retract a little\nG1 X70 F4000 ;Quickly wipe away from the filament line\nM117",
"machine_end_gcode": "M104 S0 ;Extruder off\nM140 S0 ;Heatbed off\nM107 ;Fan off\nG91 ;Relative positioning\nG1 E-5 F3000 ;Retract filament\nG1 Z+0.3 F3000 ;Lift print head\nG28 X0 F3000 ;Home X axis\nM84 ;Disable stepper motors",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n[layer_num] @ [layer_z]mm\nG92 E0",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n[layer_num] @ [layer_z]mm",
"scan_first_layer": "0"
}