Creating customized g-code for 3D printer using Grasshopper

Hello Everybody,

I would like to ask if any of you know a specific way for creating non-planar g-code for simple FDM 3d printers using grasshopper.

Short answer: Just Google “grasshopper gcode” to find several examples

Long answer: the process for creating usable Gcode for FDM 3D printers is complex; that’s why there are so many slicing programs out there. I’ve got 4 of them, and regularly use 2 different ones because different geometry triggers different results from different slicers. It would not make sense to try to put a comprehensive slicing capability into Grasshopper. (Surely trying that would make David’s head explode, and none of us would want that.)

My suggestion: make some STL files that are typical of the kinds of geometry you want to create, and then try different slicers to see which one works best for you. Then try to stick to that one.

There’s this brand new plugin on Food4Rhino which doesn’t show up well on Google:

Looks like it allows for some degree of freedom with tweaking the tool paths after they’ve been generated. If you manage to play around with it and generate some prints, do share some results :slight_smile:

Look at Silkworm plugin
ArthurMamou Mami developed it and uses it a lot

Just want to share with people who may also interested in the topic.
I made a script for modifying gcode on grasshopper without using any extra plugins from the third party.
Pls refer to my blog if u r interested!

Although there r some parameters setting for different printer, but u can easily access them through the text file.


Hey! just read your post about customizing gcode - can I have the GH file???

By the way you are using a Plug-In in your definiton