mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-03 00:02:14 +00:00
* 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
59 lines
2.0 KiB
JSON
59 lines
2.0 KiB
JSON
{
|
|
"type": "machine",
|
|
"name": "Creality CR-M4 0.4 nozzle",
|
|
"inherits": "fdm_creality_common",
|
|
"from": "system",
|
|
"setting_id": "8j6T4rBpObLegPyx",
|
|
"instantiation": "true",
|
|
"printer_model": "Creality CR-M4",
|
|
"gcode_flavor": "marlin",
|
|
"printer_structure": "i3",
|
|
"default_filament_profile": [
|
|
"Creality Generic PLA"
|
|
],
|
|
"default_print_profile": "0.20mm Standard @Creality CR-M4",
|
|
"nozzle_diameter": [
|
|
"0.4"
|
|
],
|
|
"printable_height": "470",
|
|
"printable_area": [
|
|
"0x0",
|
|
"450x0",
|
|
"450x450",
|
|
"0x450"
|
|
],
|
|
"machine_max_speed_e": [
|
|
"50",
|
|
"50"
|
|
],
|
|
"machine_max_acceleration_z": [
|
|
"100",
|
|
"100"
|
|
],
|
|
"machine_max_acceleration_extruding": [
|
|
"700",
|
|
"700"
|
|
],
|
|
"machine_max_jerk_x": [
|
|
"10",
|
|
"10"
|
|
],
|
|
"machine_max_jerk_y": [
|
|
"10",
|
|
"10"
|
|
],
|
|
"retraction_minimum_travel": [
|
|
"0.8"
|
|
],
|
|
"retraction_length": [
|
|
"0.8"
|
|
],
|
|
"retraction_speed": [
|
|
"40"
|
|
],
|
|
"nozzle_type": "undefine",
|
|
"auxiliary_fan": "0",
|
|
"machine_start_gcode": "M220 S100 ;Reset Feedrate\nM221 S100 ;Reset Flowrate\nM140 S[bed_temperature_initial_layer_single] ; set final bed temp\nG28 ;Home\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move Z Axis up\nG1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position\nM104 S[nozzle_temperature_initial_layer] ; set final nozzle temp\nM190 S[bed_temperature_initial_layer_single] ; wait for bed temp to stabilize\nM109 S[nozzle_temperature_initial_layer] ; wait for nozzle temp to stabilize\nG1 X10.1 Y145.0 Z0.28 F1500.0 E15 ;Draw the first line\nG1 X10.4 Y145.0 Z0.28 F5000.0 ;Move to side a little\nG1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line\nG92 E0 ;Reset Extruder\nG1 E-1.0000 F1800 ;Retract a bit\nG1 Z2.0 F3000 ;Move Z Axis up\nG1 E0.0000 F1800",
|
|
"machine_end_gcode": "G91 ;Relative positionning\nG1 E-2 F2700 ;Retract a bit\nG1 E-2 Z0.2 F2400 ;Retract and raise Z\nG1 X5 Y5 F3000 ;Wipe out\nG1 Z10 ;Raise Z more\nG90 ;Absolute positionning\nG1 X0 Y0 ;Present print\nM106 S0 ;Turn-off fan\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\nM84 X Y E ;Disable all steppers but Z"
|
|
}
|