There is a newer version of the record available.

Published April 11, 2022 | Version v0.9.9
Software Open

Simple G-Code creator for precise Direct-writing

  • 1. CNRS

Description

Simple G-Code creator for precise Direct-writing

About this app

This App was initially developed during an academic research project, WEPRINT, funded by the French National Research Agency (N° ANR-16-CE09-0008-01). See the related paper reference in How to cite.

The first aim was to design specific patterns for a device of direct writing. As the device used a combination of a 3D printer and an electric field, the printing precision was very high and the pattern had to be made of lines a few hundreds to a few thousands of nanometers wide. As such a scale was not easy to manage with conventional CAD softwares, at least at that time, the idea to develop this App came naturally.

This application is meant to help you write GCcode files for various shapes:

  • Lines
  • Circles with inner grid
  • Spirals

See the running app here.

Otherwise, download this repo, navigate to its folder, and launch the app with streamlit run GCode.py

Usage

Select the shape you want to produce at the top of the sidebar, then enter all your parameters in the sidebar panel. The resulting shape is drawn in the right panel with a color ranging from green to red, i.e. from start to end of the printing. The printing area is represented by the thick black rectangle.

Once you are happy with your shape, click the "Download GCODE" button to download the resulting GCode file.

The "Remote voltage/current control" checkbox adds the lines "M42 S255 P5" and "M42 S24 P4" in the GCode initialization to allow for remote control of the voltage and current.

The image of the structure can be saved by right clicking on it and saving it.

Support

This app was made by Colin Bousige. Contact me for support or to signal a bug.

Notes

If you use this software, please cite it as below.

Files

colinbousige/StreamGCode-v0.9.9.zip

Files (16.2 kB)

Name Size Download all
md5:705a2ef7ef8be4a91e46066765ac51a5
16.2 kB Preview Download

Additional details