« Fall 09 Workshops | Main | Grasshopper G-Code Writer for 2D Shape Milling »

Grasshopper G-Code Writer for Surface Milling

Posted on July 29, 2009 by Registered CommenterAOP in , | Comments4 Comments



In this video, we will walk through how to setup a Grasshopper definition that will write the G-code for surface milling on a 3-axis CNC milling machine.  When surface milling - the contouring engine is crucial.  For speed reasons, I found the C# contouring definition written by Giulio Piacentino works extremely well because it allows the user to specify a step distance (tool path offset).  After we have generated the contours (or tool paths) we can subdivide each curve, using the evaluate length component, to create a series of points which will guide the CNC mill head in order.   Because we now have data structures, we can weave formatted text strings that have been derived from the point data into a G-code that will work with the ShopBot CAM software.

As in the previous example, we have formatted our text strings to work with the opensource CAM software, Shopbot.  You can download a free version of the software here: http://www.shopbottools.com/controlsoftware.htm.

 You can also check out this video in HD after the jump.

Note: This video is for demonstration purposes only. Andrew Payne and LIFT architects will not be held responsible for any damages that might arise from using this method. Please consult your machine's operating manual before implementing this fabrication method.

PrintView Printer Friendly Version

Reader Comments (4)

Once again, nice job, Andy. Kudos for extending Grasshopper into another realm of digital fabrication. Thanks for the info on Shopbot also. I've worked with MadCam in the past but I like the open-source idea of Shopbot.

Thanks.

09-4-2009 | Unregistered CommenterJerrod Kennard

Is there a shared grasshopper source file for this? I'm rather new to the grasshopper tool, getting acquainted with it. In any case, this would be a stellar find!

No more need for MasterCAM! Yayy!

11-16-2009 | Unregistered CommenterDay

Hi Day,
I have decided not to publicly release any of the g-code writer files because they have more liability attached to them if something were to go wrong. Ideally, you could put together the file after watching the video though. If you get stuck somewhere feel free to email me and I can try to trouble shoot your problem.
Cheers,
Andy

11-18-2009 | Registered CommenterAOP

Does this include how to stream parametric data? I need that to write my essay.

Comments for this entry have been disabled. Additional comments may not be added to this entry at this time.