rgomezjnr / GcodeFilenameFormatPlus

Cura plugin for controlling output filename format, now with multi-extruder and OctoPrint support
https://marketplace.ultimaker.com/app/cura/plugins/rgomezjnr/GcodeFilenameFormatPlus
GNU Lesser General Public License v3.0
30 stars 4 forks source link
3d-printing cura cura-plugin filename format gcode gui hacktoberfest octoprint python qml qt slicer

Gcode Filename Format Plus

Cura plugin for controlling output filename format, now with multi-extruder and OctoPrint support

Default filename format:

[abbr_machine] [brand] [material] lw [line_width]mm lh [layer_height]mm if [infill_sparse_density]% ext1 [material_print_temperature]C bed [material_bed_temperature]C

Example filename output:

PI3MK3M paperclip Generic PLA lw 0.4mm lh 0.2mm if 20% ext1 200C bed 60C.gcode

Requirements

Cura 5.0 or later

Installation

Preferred method

Install plugin from Ultimaker Marketplace

Alternatively

  1. Clone repository (or download repository .zip)
    git clone https://github.com/rgomezjnr/GcodeFilenameFormatPlus.git
  2. Move GcodeFilenameFormatPlus folder to Cura plugins folder
    • Windows: C:\Users\%USERNAME%\AppData\Roaming\cura\5.0\plugins
    • Mac: $User/Library/Application\ Support/Cura/5.0/plugins
    • Linux: $HOME/.local/share/cura/5.0/plugins
  3. Launch Cura

Usage

  1. Specify filename format using Extensions -> Gcode Filename Format Plus -> Edit Format

    Edit Format Dialog

  2. Slice object

  3. Select Save to Disk button, or File -> Export, or send job to printer

Besides .gcode, the plugin also works with other file types such as .3mf and .stl. Simply select from the available file types in the save dialog. Additionally, GFF+ will pass the custom job name to an OctoPrint server when using the OctoPrint Connection plugin.

Format options

For the full list please refer to fdmprinter.def.json.pot

Multiple extruder options

For printers with multiple extruders, individual extruder settings can be specified by appending the extruder number to the option.

Example filename format:

[abbr_machine] [base_name] ext1 [brand1] [material1] [material_print_temperature1]C [line_width1]mm ext2 [brand2] [material2] [material_print_temperature2]C [line_width2]mm

Example filename output:

PI3MK3M paperclip ext1 Ultimaker ABS 255C 0.7mm ext2 Ultimaker Tough PLA 215C 0.35mm.gcode

Support

If you find an issue or have any feedback please submit an issue on GitHub.

You can also reachout via Twitter @rgomezjnr.

If you would like to show your support donations are greatly appeciated via:

Authors

Robert Gomez, Jr.

Michael Chan

Geoffrey Young

Source code

https://github.com/rgomezjnr/GcodeFilenameFormatPlus

License

LGPLv3