GCode Print Simulator
by mdietz, published
Use This Project
Give a Shout Out
If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.Print Thing Tag
This application can visualize Gcodes and simulate a real 3D print.
GCode Simulator recognizes the print speeds and can simulate the print in realtime, but you can also speedup the prints (fast forward,slow motion). Each layer is painted in a different color to see how a layer overlaps with the layer below.
GCodeSimulator Home page: http://3dprintapps.de/
Video of GCodeSimulator in action: http://www.youtube.com/watch?v=i1SY2N21EDQ
GCodeSimulator let you to check how your print should turn out, making it easier to spot errors and fix them instead of wasting filament. If the print object looks ok you can directly send it over Wifi to GCodePrintr (Android) to print it.
GCodePrintr - 3D Printing for ANDROID available
Allows real 3D printing from an Android device
In addition GCodeSimulator analyses the Gcode file and prints additional information like:
It calculates various print details like
-yx move distance
-print object dimension
-average print speeds
-number of layers
-speed distribution / Acceleration
-weight and price of the printed object
-much more ...
It also allows to debug your gcode by stepping through it line by line and show the results. (debug mode)
Developed for my reprap printer but works with other printers (e.g. makerbot, ultimaker,...) as well, tested with Silc3r and skeinforge gcodes.
Download the latest Version V130
Add GCode Simulator as post-processing script in Slic3r !!
GCode Simulator for ANDROID available
Allows real 3D printing from an Android device (not just simulation)
Fix for G02/G03 gcodes
Fit to page zoom
Improved behavior when jumping between layers
Support for G00,G01,G02 gcodes
Thumbnail support - can be integrated with Nautilus
New Snapshot Image function to create a snapshot of the model and store it as jpg. Helps to get an overview and categorize your existing gcodes.
Round print bed support
Option to autostart print when sending gcode to GcodePrintr (>=V1.67)
Option to autosave model when sending gcode to GcodePrintr (>=V1.67)
Option to configure offset for dual extruder
Many bug fixes
Added limited support for BfB style gcodes
Added "Jump to Layer" option
New button bar & banner
Fixed nozzle offset
Configurable bed size
Gray and Autumn Themes
New Button bar
New print panel (not working yet)
Fix wrong label painting
Remember Network IP
Remember last file path
Many performance improvments
GCode Parser improvements
Paint Extruder on frotn view
Workaround for MacOS load bug
Fixed problem when parsing gcodes with multiple whitespaces
Fixed NullPointerException with G4 gcode
Fixed Network Send Feature (broken in V1.12)
Improved load time
Add makeware specific extrusion code ( A&B instead of E)
Removed debug message which slowed down the load
Fixed side view, slicer comments view, 1st layer temp
Removed experimental edit mode (speek up if you need it!)
Add makeware specific extrusion code ( A instead of E)
Fixed boundary calculation (start position was ignored)
Significantly reduced memory usage
-New Network Send (Remote Print) Feature - allows you to send the Gcode to an Android device running Gcode Simulator V1.05 Beta.
-Added new menu items for the functions added in V1.02
-Fixed Z-lift Bug (layers were reordered by Z-pos)
Various updates to the Android Beta Version
Fixed some ReplicatorG Bugs
Fixed some "Invalid Gcode" errors by adding support for addtl. Gcodes (M204,M70,G161,...)
Show current Gcode line when in pause (debug mode)
Added step by step execution (debug mode). Use space/backspace to step through the gcodes during pause
Added fast forward/rewind (skip 50 gcodes). Use space/backspace during run.
Added increase/decrease of speedup in larger steps (10x). Use / (Up) * (Down)
The current location of the nozzle is painted to improve usability.
Replaced blue with a lighter pink to improve readability.
Click on speedup label box will toggles pause
Scrollwheel for speedup is only active when mouse is over printbed or labels
Support for center format G2/G3 Gcodes (Arc) - Radius format not supported yet
More reslilient against errors and unsupported gcodes
Display extrusion rate (mm/min) in real time
Display pause status in status bar
Display of Fan output changed (III=Full Speed, II=Medium, I=Slow, ""=off)
Rendering bug (Grey spots) fixed
Based on new GCodeInfo
Experimental Edit Mode added
Optimize lavel repaint
Fixed bugs with details toggle and temperature
Some performance improvements.
Window Icon added.
Automatic Zoom on Window resize.
Filedialog uses current user path.
Fixed some multi-threading bugs.
Show model details by default.
Fixed double buffering bug for MAC OS.
Some Performance improvements
Show current speed and remaining print time.
Fixed double buffering bug.
Render Front and Side View
Experimental Printing support (requires RXTXcomm.jar and /dev/ttyUSB0)
Added S Key-Shortcut for "Start Print"
Some Bug Fixes
Added Mouse Support
Mousewheel = Speed up/down
ALT+Mousewheel = Zoom in/out
Left Button on Bed = Next Layer
ALT+Left Button on Bed = Previous Layer
Right Button = Show Model Details
Left Button on Details = Toggle Model Details
Middle Button = Show Help
Show percentage when loading gcode files
Start with default gcode (GCode Simulator Key Chain) , press f to load file.
Much smoother painting by splitting longer lines into multiple draws
Added nice looking labels with boxes for current infos (instead of plain test string)
Toggle modeldetails can now page through multiple pages of layer details
Unknown keys open about/help dialog.
Fixed acceleration (ignore acceleration for speed distribution), use acceleration for paint and layer time.
Show separate time values (with and without acceleration)
Non-disruptive zoom (no restart) implemented
Jump to previous layer added.
"Next Layer" option completes the layer painting (not skips it)
Paint grid on print bed.
Show new GCodeInfo modeldetails (Material,Weight,Price,.. See GcodeInfo for details.)
Fixed some issues with Skeinforge comments and average calulations.
Support for Java Version 1.6 (MacOS)
Added option (t) to toggle details (show more model & layer details similar to Gcodeinfo)
Added option (f) to open another gcode file.
Handle gcode files with Z-Lifts and negative coordinates (auto center on bed).
Show details of the printed model (e.g. overall print time, size, layers,..)
Start the java program by calling on the command line (Java 1.6.x required)
java -jar GCodeSimulator.jar
Or Open with java from explorer or your favorite file browser.is optional , if not specified then a browse dialog will open. IMPORTANT: Due to a bug in the linux java jre do not choose a file from the "recent file" list, this will cause a crash. Instead go to the full path of the file and open it there. The GCode Print simulator can be controlled with the following hotkeys: i/o=Zoom +/-=Speed n=NextLayer r=Restart p=Pause q=Quit I have tested it with many Slic3r gcodes and some skeinforge gcodes. But GCodes can be very complex, therefore I'm pretty sure there will still be bugs. Z-Lifts might causes problems and negative coordinates as well (fixed with V0.65). Relative positioning is not supported yet. Feedback is highly welcome !
GCode Print Simulator by mdietz is licensed under the Creative Commons - Attribution - Non-Commercial license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- Remixing or Changing this Thing is allowed.
- Commercial use is not allowed.
Show Some Love
Say thanks by giving mdietz a tip and help them continue to share amazing Things with the Thingiverse community.Tip Designer
We're sure mdietz would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).