Skip to content
/ gnode Public

GNode reads gcode files and simulates the operation of a CNC machine or 3D printer.

Notifications You must be signed in to change notification settings

Droog71/gnode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNode

GNode reads gcode files and simulates the operation of a CNC machine or 3D printer.

GNode was created using a voxel game engine called Minetest.

A stand-alone version of GNode can be downloaded here: stand-alone download
To run GNode, simply extract the contents of the downloaded file
and run start.bat (windows) or start.sh (linux).

If you already have the Minetest game engine installed and would
like to install GNode inside of Minetest, you can
simply clone this repository in the Minetest games directory.
More information is available here: 'Installing games in Minetest'

Some example gcode files are provided.
Additional files can be placed in the directory 'mods/gnode/gcode'.
If the file names are added to files.json in this directory,
a button will be added to the GUI for that file.
Otherwise the file can be used via commands.

Available commands are as follows:

'/cut file_name': Starts a cutting job for the given file name.
'/print file_name': Starts a printing job for the given file name.
'/pause': Pauses the current job.
'/resume': Resumes a paused job.
'/stop': Stops the current job.
'/output': Toggles the display of job info.
'/paint_color ': Changes the paint brush color. Options are 0 to 255. Zero is the default color.

The workflow used to create gcode files for GNode 
is the same as if you were using a real CNC router or 3D printer.

Engraving

GNodeGNode In this engraving example, inkscape was used to prepare the .svg file. A tutorial for this process can be found here: https://www.youtube.com/watch?v=bbe56S_O-uI The gcode file was then created using jscut. A good tutorial for jscut can be found here: https://cncphilosophy.com/svg-to-g-code/ Software such as Candle can also be used to preview the results. The working area was defined as 300mm by 180mm with a depth of 3mm and a center point of 0,0. In GNode, this means the engraving will take place at (0,0,0), remain within an area of 300x180 nodes and cut 3 nodes deep into the surface. GNode Simulated CNC wood engraving.

3D Printing

GNodeGNode In this 3D printing example, slicing software such as Slic3r is used to create a gcode file by slicing the given .stl file. Some tools such as worldedit and mapfix are included with GNode for the purpose of modifying or moving objects around after the job is finished. The skybox mod is included as well along with 2 new skyboxes. This inclusion is primarily to provide backdrops for your 3D printed objects. GNodeGNode Simulated 3D printing.

Painting

GNodeGNode Painting a 3D printed cat in Minetest. Objects you create can be painted. The paint color can be selected by pressing I and clicking the 'Paint Color' button or by using the '/paint_color' command. GNode To paint an area, left click a node. This marks one corner of a bounding box. Left click another node. This marks the opposite corner of the bounding box. These nodes must be made of the same material, ie: plastic or wood. Once you have selected an area, right click and the entire area will be painted with the color you have selected. GNode

Credits

CNC art ------- rabbit: CC0, https://publicdomainvectors.org/en/free-clipart/Rabbit/35622.html dog: CC0, https://publicdomainvectors.org/en/free-clipart/Dog-portrait-vector-drawing/12093.html face: CC0, https://publicdomainvectors.org/en/free-clipart/face/28404.html 3D printer art -------------- cat: GPLv2, https://www.thingiverse.com/thing:24255/files boat: CC BY 4.0, https://www.thingiverse.com/thing:2763479/files cube: CC0, https://www.thingiverse.com/thing:38108/files bunny: CC BY 4.0, https://www.thingiverse.com/thing:2763479/files Color Palette ------------- CC BY-SA 4.0, https://stackoverflow.com/a/33295456 Paint Brush ----------- CC0, https://publicdomainvectors.org/en/free-clipart/Paint-brush-vector-drawing/15461.html Icon ---- CC0, https://openclipart.org/detail/160057/machine-controlblue Menu Background --------------- CC0, https://commons.wikimedia.org/wiki/File:Printer_3D_Bioprinting_Solutions.jpg Interior Skybox --------------- Walls, CC0, https://ambientcg.com/view?id=Bricks059 Ceiling, CC0, https://ambientcg.com/view?id=OfficeCeiling001 Floor, CC0, https://ambientcg.com/view?id=Tiles078 Skybox Mod ---------- * Code: LGPLv2.1 Copyright (C) 2017 - Auke Kok Contributors: sofar LoneWolfHT auouymous Maverick2797 * Artwork (textures): SkyboxSet by Heiko Irrgang ( http://gamvas.com ) is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. Based on a work at http://93i.de. Mapfix Mod ---------- Made by wsor. License: GPLv3 Worldedit Mod ------------- Copyright (c) 2012 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote). License: AGPL-3.0 Contributors: Alexander Weber ANAND beyondlimits Carter Kolwey cornernote Cy Daniel Sosa electricface est31 Eugen Wesseloh h3ndrik HybridDog Isidor Zeuner Jean-Patrick Guerrero Joseph Pickard kaeza kilbith KodexKy Kyle MT-Modder Niwla23 Panquesito7 Pedro Gimeno Rui Sebastien Ponce sfan5 ShadowNinja shivajiva101 spillz Starbeamrainbowlabs TalkLounge tenplus1 Uberi/Temperest Wuzzy

About

GNode reads gcode files and simulates the operation of a CNC machine or 3D printer.

Resources

Stars

Watchers

Forks

Packages

No packages published