noahyoda / gcode_viz

cs5635 final project where we visualize gcode process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

singed_slices

Installation

  • clone repo onto local machine
  • cd into repo directory
  • run 'pip install -r requirements.txt'

How to run

  • cd into ./scripts/ directory
  • run python3 render.py
  • enjoy :)

Advanced Controls

  • to specify a gcode file to run, use -f <path-to-file>
  • to specify how many layers to simulate, use -n <nth layer> to only simulate every nth layer (default is 10 to save resources)

Warning - Increasing the value of n will decrease the resolution of the simulation. It is recommended to not use lower n values if you are short on ram or want to simulate larger data sets. If the simulation is running slow we recommend increasing the value of n.

Controls

Zoom in/out

  • mouse scroll up/down

Rotate

  • click and drag mouse

Slide (left/right/up/down)

  • arrow keys

Play/Pause Simulation

  • space bar

Tasks Complete

  • Write project description
  • Setup git and other project tools
  • Generate simple cube sample gcode
  • Write script to parse gcode
  • Write Progress Report
  • write shape viewing script
  • write simulation drawing script
  • extract temp and speed from gcode script
  • write 2d diffusion equation
  • write 3d diffusion equation
  • implement atmospheric diffusion

Progress

Project Board

Resources

3d Files

Gcode File(s)

About

cs5635 final project where we visualize gcode process


Languages

Language:Python 100.0%