SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.33k stars 870 forks source link

more info in file names #987

Open Gizmo6 opened 1 year ago

Gizmo6 commented 1 year ago

Is your feature request related to a problem? Please describe. I switch a lot between materials and nozzle sizes depending on the product. I will sometimes forget which set up I have used.

Describe the solution you'd like If the file name had some sort of info such as manual PA or auto PA, nozzle size used and material. I think it would be very helpful.

Describe alternatives you've considered Manually putting this info in.

hliebscher commented 1 year ago

you can add more variable in filename.... samples https://wiki.bambulab.com/en/software/bambu-studio/placeholder-list

https://help.prusa3d.com/article/list-of-placeholders_205643. (names a little bit different as sample)

{input_filenamebase}{layer_height}mmJ1{print_time}{day}{print_preset}{print_preset}.gcode

AK - a_0.25mm_J1_31m19s80.20mm 0.6 Standard @Snapmaker J1 - Snapmaker J1 0.6 Düse 1.6.3.gcode

julie777 commented 1 year ago

@Gizmo6 Do you mean the filename for the file that is sent to the printer?

Aron3DP commented 1 year ago

I'd like to add to this request. I'd like at least filament temp to be added to naming. I've tried the tooltip items for nozzle_temperature and initial layer and they do not work.

Gizmo6 commented 1 year ago

@Gizmo6 Do you mean the filename for the file that is sent to the printer?

Yes. so for example file output would be. "name of file" "nozzle size" "material type" so like. "Sample 0.8 PLA"

Gizmo6 commented 1 year ago

Thanks to [hliebscher]

Go to process tab - other - filename format. copy this and replace with the text the box.

{input_filename_base}__{nozzlediameter[0]}{filament_type[0]}.gcode

This will give file name followed by nozzle size and material used.

JamesKR3D commented 1 year ago

I'd also like to have the print temperature variable to be added to the filename options.

VidiotGeek commented 1 year ago

I'd like to add to this request. I'd like at least filament temp to be added to naming. I've tried the tooltip items for nozzle_temperature and initial layer and they do not work.

I came here looking to see if I was missing something or if there really wasn't a way of pulling the temperature into the filename output. Seems like I'm not the only one. I've tried all the tool-tip names also, in {curly} and in [square] brackets. No dice.

ding-bat commented 1 year ago

someone please give a working example of temperatures in filename, thanks in advance

kylek29 commented 1 year ago

I'd like to add to this request. I'd like at least filament temp to be added to naming. I've tried the tooltip items for nozzle_temperature and initial layer and they do not work.

I came here looking to see if I was missing something or if there really wasn't a way of pulling the temperature into the filename output. Seems like I'm not the only one. I've tried all the tool-tip names also, in {curly} and in [square] brackets. No dice.

I'd also like to have the print temperature variable to be added to the filename options.

someone please give a working example of temperatures in filename, thanks in advance

nozzle_temperature is an array, so you have to reference a specific nozzle of that array. [0] would be the first one and would always be populated.

{input_filename_base}_{filament_type[0]}_{print_time}_{nozzle_temperature[0]}.gcode

Outputs as:

OrcaPlug_PLA_58m38s_230.gcode

xi2023 commented 12 months ago

thanks @kylek29 the only thing i was missig was a name/printer model in the filename. printer settings -> notes -> type in a name or model and add {printer_notes}

{input_filename_base}_{print_time}_{layer_height}mm_{filament_type[0]}{nozzle_temperature[0]}C_{printer_notes}.gcode

filename_25m59s_0.2mm_PLA200C_printername.gcode

kylek29 commented 12 months ago

thanks @kylek29 the only thing i was missig was a name/printer model in the filename. printer settings -> notes -> type in a name or model and add {printer_notes}

{input_filename_base}_{print_time}_{layer_height}mm_{filament_type[0]}{nozzle_temperature[0]}C_{printer_notes}.gcode

filename_25m59s_0.2mm_PLA200C_printername.gcode

Yeah, that's one way to do it (just remember to not make your notes too big!). PrusaSlicer has assignable variables in that same area of the program (so you could assign a printer_name variable and reference it), but that feature hasn't been ported yet.

Echo-o-Tree commented 11 months ago

thanks @kylek29 the only thing i was missig was a name/printer model in the filename. printer settings -> notes -> type in a name or model and add {printer_notes}

{input_filename_base}_{print_time}_{layer_height}mm_{filament_type[0]}{nozzle_temperature[0]}C_{printer_notes}.gcode

filename_25m59s_0.2mm_PLA200C_printername.gcode

Just to add on to this, in case others like to sort by Material color/type you can go to Filament Settings > Notes and type the Brand/Color/Material etc there. Then, in Process > Others > Filename Format use {filament_notes[0]} for single material prints, or {filament_notes[0]}_{filament_notes[1]} (add one per filament used for multi material prints)

This will append the filament notes per filament to the location you placed the line in your Filename Format section.

github-actions[bot] commented 8 months ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

gidgiddoni2 commented 8 months ago

I'm a NB at Orca Slicer 1.9.1and would like to change the name of the .gcode file to be plate_number print_time.gcode... Where in Orca do I set this filename format?

Catriks commented 5 months ago

Is there a code for using current/project file name? Lets say I open a file called file123.stl, then save it as a doorhandle.3mf, and I want the gcode filename to be doorhandle.gcode. Using {input_filename_base} will still use the original filename.

jbjhjm commented 4 months ago

@Catriks your problem is discussed here: https://github.com/SoftFever/OrcaSlicer/issues/1945

KubaMiszcz commented 3 months ago

it doesnt work for me, I've tried your patterns and it always send filename_plate_1

where filename is name of 3mf file on disk, plate has no names, it update plate names if named, but nothing more, changing pattern wont affect generated gcode name

jbjhjm commented 3 months ago

@KubaMiszcz {filename} is not implemented - its being requested in https://github.com/SoftFever/OrcaSlicer/issues/1945 Plate name works fine for me too and so does filament type (don't know the specifier out of my head). So "changing pattern wont affect generated gcode name" seems invalid to me. If your Orca build doesn't react to name changes at all, it is likely a different issue and you should open a new error report.

github-actions[bot] commented 1 week ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

KubaMiszcz commented 1 week ago

where should i set it? i'v changed field in: Process>others>filename format into "{input_filename_base}.gcode" and nothing changed when i click print, same name in popup

Uranoman commented 2 days ago

try this option: {year}.{month}.{day}_{input_filenamebase}{filament_type[initial_tool]}_T{nozzle_temperature[initial_tool]}n{textured_plate_temp[initialtool]}b{printtime}{total_weight}g{used_filament}m.gcode