jonathanwin / yagv

A fast 3D Gcode Viewer for Reprap-style 3D printers, in Python and OpenGL
75 stars 48 forks source link

Render graphics, layer by layer, as a simulation? #6

Open shakthimaan opened 9 years ago

shakthimaan commented 9 years ago

Would it be possible to show the rendering of the graphics, layer by layer, as a simulation?

Some kind of "play" or "delay" option to see how the printing progresses for a given set of gcodes.

kamathln commented 8 years ago

I have been planning and had just begun to write a complete simulator in python for gcode simulations (had to pause as I got too much other work). My plan was to write a simulator code by code not just layer by layer. (for layer by layer, I use Cura, as it already provides that)

I strongly vote on this issue, if you plan to give gcode by gcode visualization (like in sfact) along with layer by layer.
Several features that I wanted to implement:

My plans were also to come up with a structured comment specification to describe various gcodes. Cura already enumerates layers. My idea was to include whether something is a raft, brim, support, infill, etc.. so that it can be shown in a different color or rendering to differenciate them. Also show overhang angles , etc.

You are welcome to steal these ideas. ;)