Shopbot open-sources their code

openSBPlogo18.jpg


The folks at Becausewecan, Oomlout, and others are all a-twitter because Shopbot has opened up their CNC control code, dubbed OpenSBP. Here's what they say about it on the new OpenSBP site:

OpenSBP® is a syntax standard for the toolpath and instruction code used to control CNC machines and digital fabrication tools. As described here, it is in the public domain and freely available for use on any equipment. It may be generated and exported by any software for use on digital fabrication tools.


The OpenSBP Group
The OpenSBP Group is composed of CNC software companies, CNC tool manufacturers, and users supporting the development of this open syntax standard for the toolpath and instruction code used to control CNC machines and digital fabrication tools. The group seeks to develop a standard syntax that is easy for human users to read, is readily implemented by different controllers, and offers more flexibility and extensibility than legacy G-code. OpenSBP® is freely available for use in any CNC or digital fabrication system and companies. The current certification process is described on the Licensing page. All users are invited to participate in the OpenSBP Group community.

The core coding format for OpenSBP® was developed by ShopBot Tools, Inc for use on ShopBot CNC routers. It has become attractive to other developers because of its simple, straightforward, and human-readable approach to machine control. ShopBots read g-code as well as OpenSBP but believe that OpenSBP is the most useful and efficient format for anyone not dependent on g-code for legacy reasons.

ShopBot has contributed the syntax, along with full documentation and support resources, to the public domain and it is available on this site. ShopBot encourage the use of OpenSBP® in any CNC tool or digital fabrication product and will continue to work with the OpenSBP Group and community of users on its development. The OpenSBP Group plans to develop an Advisory Board to establish general guidelines for using and expanding the OpenSBP® format and syntax, for managing certification, and for developing supporting documentation including helpful documentation for creating post-processors for OpenSBP®.



OpenSBP


Recent Entries

Comments

Oldest comments listed first.

Posted by: anonymouse on April 13, 2009 at 1:23 PM

g-code

So... Was G-Code not good enough?


Posted by: failrate on April 13, 2009 at 7:11 PM

From what I can gather about the article, no, G-Code was both too machine-specific and too clunky for most modern complex applications.


Posted by: The Snob on April 14, 2009 at 4:55 PM

G-code is fairly generic, but extremely low-level. Think if it like machine language vs. C vs. Ruby on Rails, if you're a coder. Except that in the real world, G-code is often specific to an individual machine, and not just an architecture.

As a result, no one shares G-code, since what runs on your machine will likely not run on mine. Instead, you swap DXFs, solid models, that sort of thing. This is because you often need to tune the "code" (manufacturing process) for the machine and tools that will actually run it. The part geometry is really the only thing you want to share.

G-code runs machines a lot more complex than Shopbots. I took a look at the code samples and briefly at the docs. I haven't run shopbots before, so I could be missing a lot, but at first glance I didn't see anything that different about it. It mostly felt like a slightly domain-specific version of g-code. Maybe it can do a better job of abstracting machine setup or other things like that.

Still, even if it's nothing but a weird Shopbot g-code dialect, opening it up is a good thing for Shopbot owners.


Posted by: Jeffrey McGrew on April 15, 2009 at 9:22 AM

Shopbot code does have something that G-code doesn't...

the Shopbot code is a little more than what you make of it, The Snob.

While you're spot-on about the problems with G-code, there are two things that I feel SBP has that give it somewhat of an advantage.

First off, it's human-readable. G-code, as you say, is pretty low-level. SBP is a lot more 'Ruby-like' if you will, in that the codes it uses are pretty trivial to understand for non-programmers. I'm a designer who uses (the hell) out of CNC machines, and frankly I don't care to memorize what all the G-codes are and what they are for. I've found the SBP so easy to work with, and I feel that it's actually a big advantage.

Secondly, SBP actually has some nice programming features, such as parameters and subroutines and calling other files and listening to inputs more. So it can be a lot more flexible than some G-code. For example, we've got lots of routines that we use to zero jobs on the table that are just SBP code. Or, we could easily setup jobs where a certina hole size on a part is parametric, and can be defined on a fill-in sheet upon job start and automatically change. Or we can do crazy things, like have the Z-depth vary over the length of the table based upon an equation off of the X-value.

And I don't think it's going to be about swapping part files, I think it's more likely going to be about swapping open plugins for generating SBP. For example, I can now make a SBP-generating plugin for Blender. Or someone could make an Aurdino understand SBP for homebrew CNC machining, and can use cheap or affordable CAM tools to drive it...


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television




Check out more videos from MAKE.

Maker SHED

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter



    MAKE Archives

    Make: Money

    Make: Science Room
    Subscribe to MAKE Magazine!

    Make: Online editors and authors!

    Gareth BranwynGareth Branwyn
    Editor-in-Chief


    Phillip TorronePhillip Torrone
    Senior Editor
    | Web | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter


    John BaichtalJohn Baichtal
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Current Podcast

    itunesdl.gif Behind the Scenes at MAKE and CRAFT In January, many of the remote MAKE/CRAFT team members (myself included) convened at the Maker Media headquarters at O'Reilly Media in Sebastopol, California. Take a look behind the scenes of your favorite DIY publications as Goli Mohammadi gives us... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    Sign up for the Make: Newsletter

    Our Make: Newsletter covers news from maker Media, has original columns, Shed deals, and more! You can also read the archives of past issues.


     



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en Español MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog