Skip to content

Convert 2D drawings into layered GCode for printing, with multi-material support for bioprinting. Based off of Lorien, the drawing software made in Godot.

License

Notifications You must be signed in to change notification settings

QueenChristina/draw-to-gcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrawN'Gcode - 2D Drawing to GCode

Based on Lorien, 2D Drawing Software Made By MBRLabs

Draw and convert multiple 2D images into layered g-code for printing, with multi-material support for bioprinting, chocolate printing, 3D printing, and more! The only multi-layered software that converts multiple unique images into layered g-code with support for co-axial printing (mutliple nozzles printing at once and/or separately).

Try it Yourself

Download at https://eggcat.itch.io/draw-n-gcode.

Features

Make drawings over multiple layers and with multiple materials, and convert it into GCode.

  • Vector layers
  • Set layer name
  • Layer system with undo-redo capatibility
  • Converts each layer into G-Code, stacked on top of each other
  • Can set amount of times a layer is duplicated (stacked) in G-Code
  • Onion skin feature to allow you to trace over past and future layers
  • Custom settings for printing, such as guide for size of print-bed, set units, and set layer height
  • Supports multiple nozzles moving synchronously, such as for use coaxial printing, or separately
  • Multimaterial support: any axes (not just Z or A), add offset between axes, and custom ordering
  • Custom saved settings for nozzles, pre-extrusion amount, and axes by printer
  • Save unique custom settings for multiple different printers

Note: Sending G-code and commands directly to the printer from Draw N' Gcode is a work in progress, but theoretically working! You can help me test it by using "Connect to Printer", then generate G-code and send to the printer. Use buttons to move axes of the printer. It supports moving any axes (vertical or extruder) defined in printer settings -- making this more versatile than typical printer software that assumes single nozzle.

Roadmap

  • Undo-redo with duplicate layer amount
  • Undo-redo with layer name
  • Save layer name
  • Better default palette
  • Better settings: custom onion skin settings (modulate color of above/below layers, opacity, number of layers visible), set color of printbed platform outline
  • Fix printbed size magnitude (10x)
  • Export GCode settings on export as extra dialog, not in settings
  • Extrusion amount based on pressure sensitivity
  • Fill polygons with lattice structure and option to trace outline
  • Import images such as bitmap and svg types
  • Support raster layer
  • Convert vector to raster layer, and/or handle when lines overlap on the same layer
  • Editable points, filled polygons, and lines (settings for width, color/material, etc.) in vector layers
  • Grid snap and ruler
  • Default brush/line width size to match real scale/width size (default of 2.5 mm width)
  • Solutions for embedded printing eg., allow for lines that are not parallel to XY plane to be traced (such as along Z-axis)
  • Equation layers (print equations, not just images)
  • More error handling for opening projects of the incorrect version / failure to open projects on launch
  • Support language localization for the new features
  • Pan and Zoom tools (as tools, not shortcuts)
  • Support for touch (export to App store)

Credits

About the original software

Build Passing License

Lorien is an infinite canvas drawing/note-taking app that is focused on performance, small savefiles and simplicity. It's not based on bitmap images like Krita, Gimp or Photoshop; it rather saves brush strokes as a collection of points and renders them at runtime (kind of like SVG). It's primarily designed to be used as a digital notebook and as brainstorming tool. While it can totally be used to make small sketches and diagrams, it is not meant to replace traditional art programs that operate on bitmap images. It is entirely written in the Godot Game Engine. For an overview on how to use Lorien have a look at the manual.

Lorien demo

This is very much a WIP and still a bit rough around the edges ⚠. The savefile format might also change in the future. Contributions (be it bug reports, code, art or translations) are very welcome.

Features as of v0.6.0-dev:

  • Infinite canvas
  • Infinite undo/redo
  • (Almost) Infinite zoom
  • Infinite grid
  • Distraction free mode (toggles the UI on/off)
  • Extremely small savefiles (File format specs)
  • Work on multiple documents simultaneously
  • Tools: Freehand brush, eraser, line tool, rectangle tool, circle/ellipse tool, selection tool
  • Move and delete selected brush strokes
  • SVG export
  • Rebindable keyboard shortcuts
  • Built-in and custom color palettes
  • Designed to be used with a drawing tablet (Wacom, etc.). It also supports pressure sensitivity
  • A little Surprise Mechanic™ when pressing F12
  • Runs on Windows, Linux & macOS
  • Localizations: English, German, Italian, Korean, Russian, Spanish, Turkish, Brazilian Portuguese, Chinese

Download

You can download the latest stable releases on Github.

If you want to check out the bleeding edge main branch without building the project yourself you can also check out the CI builds. But make sure to backup your files and be prepared for bugs if you do that.

More information

Credits

About

Convert 2D drawings into layered GCode for printing, with multi-material support for bioprinting. Based off of Lorien, the drawing software made in Godot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published