GithubHelp home page GithubHelp logo

cappy0815 / gcodefilenameformat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rgomezjnr/gcodefilenameformat

0.0 1.0 0.0 114 KB

Cura plugin that adds print settings in gcode filenames

License: GNU Lesser General Public License v3.0

Python 91.64% QML 8.36%

gcodefilenameformat's Introduction

Gcode Filename Format

Cura plugin for specifying filename format with print settings

Example:

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

Default filename format:

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

Requirements

Cura 4.4 or later

Installation

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

Usage

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

    Edit Format Dialog

  2. Slice object

  3. Select Save Gcode button (instead of default Save to File button)

    Edit Format Dialog

  4. Futher modify formatted filename as desired in the save dialog

  5. Select Save

Besides .gcode, the plugin will also work other file types such as .3mf and .stl. Simply select from the available file types in the save dialog.

Format options

  • base_name - the initial output filename from the object name and Cura's "Add machine prefix to job name" setting
  • layer_height - layer height/thickness, vertical resolution (mm)
  • machine_nozzle_size - nozzle diameter e.g. 0.2 mm, 0.4 mm, 0.6 mm
  • line_width - line/nozzle width e.g. 0.2 mm, 0.4 mm, 0.6 mm
  • wall thickness - thickness of shell walls (mm)
  • infill_sparse_density - infill percentage (%)
  • infill_pattern - infill pattern e.g grid, lines, triangles
  • top_bottom_pattern - pattern of the top and bottom layers e.g. lines, concentric, zig zag
  • brand - the brand of the filament e.g. Generic, Prusa, MatterHackers, eSun, etc.
  • material - material type e.g. PLA, PETG, ABS, etc.
  • material_diameter - filament size e.g. 1.75 mm, 3 mm
  • material_print_temperature - material/nozzle temperature (°C)
  • material_bed_temperature - build plate temperature (°C)
  • material_flow - extruded material flow rate (%)
  • speed_print - print speed (mm/s)
  • retraction_combing - combing mode
  • magic_spiralize - spiralize outer contour, vase mode

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

Source code

https://github.com/rgomezjnr/GcodeFilenameFormat

Authors

Robert Gomez, Jr.

Michael Chan

License

LGPLv3

gcodefilenameformat's People

Contributors

mchan016 avatar rgomezjnr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.