© 2017 HCII Institute, Carnegie Mellon University

G-code Generator for Printing

2016

We integrated a gCode generate with Rhino, a 3D CAD software, and developed our own gCode generator as an enabling platform for the lab.

Tools exisit for g-code generation. We developed our own, as an enabling platform for the lab. We integrated a gCode generate with Rhino, a 3D CAD software. Users can draw 2D and 3D geometries in Rhino, and generate g-Code within the same CAD environment. It created a smooth printing pipeline for us.

1D Tool – Offsetting a line path.
If the goal is to print one open or closed line, once or multiple times, with a certain width, this is the correct tool to use. Since the print head has maximum line width (~5mm), if the targeted width is larger than 5mm, a more offset line path can be generated with a slider
2D Tool – Filling a geometry.
The user draws a closed curve to indicate the region for printing, and then the tool will generate a printing path to fill the region; the distance, or line gap is adjustable through a slider. If the printing needs to be looped a few times, the time of looping and waiting time in between can be adjusted.
3D Tool – Slicing and filling each layer.
This tool slices the model vertically, and then fills each slice with a line path. It enables a user to define the height gap between each slide, and the gap between each line
Save