mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 22:32:07 +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
26 lines
1.9 KiB
JSON
26 lines
1.9 KiB
JSON
{
|
|
"type": "machine",
|
|
"from": "system",
|
|
"name": "Thinker X400 0.2 nozzle",
|
|
"inherits": "Thinker X400 0.4 nozzle",
|
|
"setting_id": "hMvy9QaXQyM7tGke",
|
|
"instantiation": "true",
|
|
"printer_model": "Thinker X400",
|
|
"default_print_profile": "0.10mm Standard @Thinker X400 0.2 nozzle",
|
|
"default_filament_profile": "Eryone PLA @0.2 nozzle;Eryone ABS @0.2 nozzle;Eryone ASA @0.2 nozzle;Eryone PETG @0.2 nozzle;Eryone Silk PLA @0.2 nozzle;Eryone TPU @0.2 nozzle;Eryone ABS-CF @0.2 nozzle;Eryone ASA-CF @0.2 nozzle;Eryone PA @0.2 nozzle;Eryone PA-CF @0.2 nozzle;Eryone PA-GF @0.2 nozzle;Eryone PETG-CF @0.2 nozzle;Eryone PLA-CF @0.2 nozzle;Eryone PP @0.2 nozzle;Eryone PP-CF @0.2 nozzle;",
|
|
"machine_start_gcode": "M117 Heating\nM104 S[first_layer_temperature] ; set extruder temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nPRINT_START \nG90 ; use absolute coordinates\nM83 ; extruder relative mode\nM204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting]\nM104 S0\nM140 S[bed_temperature_initial_layer_single] ; set bed temp\nM117 Heating\nM190 S[bed_temperature_initial_layer_single]\nM104 S[first_layer_temperature] ; set extruder temp\nM109 S[first_layer_temperature] ; wait for extruder temp\n;QUAD_GANTRY_LEVEL\nCLEAN_N S=[first_layer_temperature] X=240 Y=-3 A=0 D=0.4\nM117 Quad Level\n_QUAD_GANTRY_LEVEL horizontal_move_z=10 retry_tolerance=1 LIFT_SPEED=5\nG28 Z\nM117 Quad Level\n_QUAD_GANTRY_LEVEL horizontal_move_z=5 retry_tolerance=0.05 LIFT_SPEED=5\nM117 Bed Mesh Level\nG1 X132.5 Y197.5\nG28 N\nBED_MESH_CALIBRATE\nM117 Heating\nG1 X275.0 Y0.0 Z0.3 F1500 ; move print head up\nM104 S[first_layer_temperature] ; set extruder temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nM117 .\nINTRO_LINE D=0.2 ;intro line with 0.2 mm nozzle",
|
|
"max_layer_height": [
|
|
"0.14"
|
|
],
|
|
"min_layer_height": [
|
|
"0.04"
|
|
],
|
|
"nozzle_diameter": [
|
|
"0.2"
|
|
],
|
|
"printer_variant": "0.2",
|
|
"retraction_length": [
|
|
"0.5"
|
|
]
|
|
}
|