/Blender-Gcode-Import

Import G-code from slicer to Blender mesh

Primary LanguageG-code

Blender G-Code Importer

G-code importer with some extra functionalities to convert from G-code to Blender mesh.
Having access to the toolspaths directly let's you do some interesting things conventional slicers can't do.
I've been using the importer in conjunction with Alessandro Zomparelli's Gcode exporter for Blender.

For some Blender operations it helps if the paths are evenly segmentized to give some modifiers the necessary resolution.
Use the 'subdivide' option in the importer for that.

Another option is to split the layers into single Blender objects, makes editing or animating them easier.
There are other use cases like combining input from different slicers or using the sculpt tool to directly to edit the paths.

You can find more examples in the wiki (16MB of .gifs) or have a look at my more experimental prints here.

Compatibility

Add-On works with Blender 2.8. I tested with G-code from Slic3r and Cura.
All G1 and G0 commands with an E-value get drawn as an edge. (Travel lines get omitted)