Skip to content
/ gcode2png Public
forked from shodushi/gcode2png

generate 3d rendering from gcode files

Notifications You must be signed in to change notification settings

Zst/gcode2png

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcode2png

python script for 3d rendering gcode files with mayavi

all images are created with width of 800px and somewhat ~600px height

Installation:

sudo pip install six==1.12.0 bokeh matplotlib numpy mayavi Pillow wxPython

Usage:

Single file generation

python ./gcode2png test.gcode moves=[true/false] support=[true/false] show=[true/false] bed=[true/false]

moves: show movements in red; default=false

support: show support layers in grey; default=true

bed: show printbed; default=true

show: true = show rendered image; false = save rendered image as png file

batch generation

python ./gcode2png batch /Users/yourname/3dfiles/ moves=[true/false] support=[true/false] show=[true/false] bed=[true/false]

Thanks to:

gcodeParser.py forked and modifed from: https://github.com/jonathanwin/yagv

About

generate 3d rendering from gcode files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • G-code 99.9%
  • Python 0.1%