File formats

From ShapeOko
Revision as of 15:42, 17 April 2019 by Willadams (Talk | contribs) (What file formats does Carbide Create save?)

Jump to: navigation, search

What are the kinds of graphic file formats?

Files for graphics output are divided into two notable categories:

  • pixel --- short for picture element, these are files which are made up of dots which are either on/off, shades of grey or black or white, or colours. Also known as raster, common extensions are bmp, jpg, png, tif
  • vector --- these are files which are made up of mathematically described dots, lines, arcs, and/or curves, making up either open or closed paths. Note that it is possible for most vector file formats to also include pixel elements, or even to be nothing more than a wrapper around a pixel file, common extensions are .ai, .eps, .pdf, .svg

What file formats does Carbide Create save?

Carbide Create outputs two different file formats:

  • .c2d --- this is its native format, such files are warned of not being saved in the menu bar (Save and Save As will appear as red when a file is not saved). A .c2d file once saved may be re-opened and modified and adjusted or completed
  • .nc --- these are exported, not saved, and are G-Code which are simply machine instructions on how to move the machine and are an output, not a reusable file format. A .nc file may be opened in Carbide Motion Machine Control Software to the machine, but Carbide Create cannot re-open it (in theory such a file can be processed using pstoedit and converted into an editable format).

What file formats can I use with the Nomad883/Shapeoko 3?

The Nomad883 and Shapeoko 3 use Grbl, an opensource motion control program which implements the G-Code standard (or at least, a subset of it, providing the entire standard is neither feasible nor desirable) for the Carbide Motion micro-controller.

This means that one can use as a design source, any file which can be imported into a CAM (Computer Aided Manufacturing) program which will export to G-Code.

Both the Nomad and Carbide 3D's SO3 support Carbide Create, an all-in-one drawing program which does design, and CAM, in concert with Carbide Motion: (CC will import .dxf and .svg files, and will also V-carve or engrave drawings and/or text, and will allow one to place pixel images on a background layer to trace or re-draw them)

  • DXF (Drawing Interchange Format, or Drawing Exchange Format) is a CAD data file format developed by Autodesk for exchanging drawings. Most CAD programs are able to export to a .dxf, e.g., AutoCAD, Cadintosh, LibreCAD, DraftSight, PowerCADD, FreeCAD (n.b., MeshCAM supports the R12 standard) as well as some vector drawing programs.
  • SVG (Scalable Vector Graphics) --- when opened, one will be able to specify the thickness to which filled elements will be set

For the Nomad883, a MeshCAM license is included with the purchase of a machine, so one may use the additional file formats which it supports:

  • STL (STereoLithography) is a 3D file format which defines 3D shapes as a mesh of triangles. Most 3D CAD programs will export to .stl, e.g., Rhino, Solidworks, Autodesk Inventor, Viacad, Blender, Sketchup, Tinkercad, AutoCAD, Alibre, ZBrush and OpenSCAD (licensing discussion)
  • Image files (JPG, BMP, or PNG) --- MeshCAM also supports importing a pixel image and converting it into a 3D file for cutting. Carbide Create allows one to place a pixel image on a background layer so as to use it as a reference.

One may if desired, purchase a license and use MeshCAM with a Shapeoko 3.

It is also possible to convert vector drawings, (EPS, SVG, some PDF files, i.e., those done in a Bézier curve drawing program/as vectors) into files which the machine can cut using a CAM program which accepts such files. One free and opensource toolchain for this is Inkscape and MakerCAM:

  • Inkscape is an opensource vector drawing program (available for Windows, Mac OS X and Linux) which uses SVG (Scalable Vector Graphics) as its native file format. It may be downloaded from: Commercial programs able to create .svg files include Adobe Illustrator (Windows and Mac OS X) and Affinity Designer (Mac OS X)
  • MakerCAM is an opensource CAM program which will import an appropriate SVG and allow one to assign operations such as drill, follow path, pocket and profile so as to cut the design out as one wishes. A Flash file, it is available on-line from:

A further option is to simply directly engrave text, Carbide Create has added support for this. Some tools allow direct use of a pixel image, an opensource tool for this is F-Engrave.

Once CAM is complete, the machine instructions will be saved as G-Code, usually with an appropriate file extension, typically .gc, .gcode, .ngc, or .tap.

Further information is available at Workflow.