Standards for color-coding CNC files?

Anyone aware of any standards?

Apparently Ponoko:

uses:

  • Blue stroke = cutting
  • Red stroke = line engraving
  • Gray fill = area engraving

while the default layer colour/ordering for Carbide Create seems to currently be:

Usually I use Cyan for reference images (since it matches the guides in Macromedia Freehand) — anyone have any especial preferences or habits?

I change the original file to red, copy and paste it off the work space then lock it. Then work off the copy. While I select some layers for the tool paths, I usually assign tool paths by selecting them individually vs using layers. It depends on the complexity of the design, which at this point are not very complex for me! :rofl:

I’ve learned allot this past week working on file for a cousin of mine that is a trace of a sign she has with hand drawn chalk lettering on it. Between pocket path in the lettering and other pockets with the in/outside path assignment I learned to group and ungroup numerous times in the same file to assign tool paths. Lots and lots of learning……

1 Like

Digging a bit deeper into this we have the following for DXF colours:

Colour Code Colour Name
0 Black (or Background)
1 Red
2 Yellow
3 Green
4 Cyan
5 Blue
6 Magenta
7 White (or Foreground)
8 Dark Gray
9 Light Gray

(there are also RGB colours for 10–255)

which has only a few matches. Given that Teal is potentially confusable with Forest Green, my inclination is to get in the habit of replacing it with Red:

Unfortunately, I’m not finding a tool which will convert a DXF to an SVG and preserve its colour settings (if someone knows of a free/opensource tool which does this, I would be glad to know of it).

Would you mind dropping a file here for me to play with? Just so I’m working with a known good reference :slightly_smiling_face:

I have more svg editing programs than I care to count, some free, some not, and I’m curious if ~any will do this. I’m guessing, no…but Inkscape has a robust plugin ecosystem so maybe🤞

Of course!

gcpdxf.dxf (3.5 KB)

which imports into Carbide Create as:

1 Like

It looks like opening the dxf in Inkscape and simply “saving as” svg will keep the color information on the strokes. It is converted to hex, not sure if that matters for your application.

Example path from the grey element:
id=“g48”><path
d=“m 200.97638,1009.1339 a 12,12 0 0 0 -12,-12.00004”
style=“fill:none;stroke:#c0c0c0

It’s pretty neat that Inkscape does this by default. That said, I still want to find a “replace colour palette” plugin for mapping colors [a; b; c] → [e; f; g]
This would be super handy for quickly converting between the different standard color palettes by application (specifically light burn in my case but it seems generally useful as well :person_shrugging: )

1 Like

Updated file:

gcpdxf.dxf (4.7 KB)

which works as expected in Inkscape as you describe:

matching LibreCAD:

Thanks!

Made a template file in Carbide Create which matches that pretty well:

Design_layers_DXFcolours.c2d (44 KB)

What is the “standard color palette” for Lightburn?

@WillAdams Here’s the color palette for Lightburn

HTH.

3 Likes