Generating G-code in Rhino 8

We just purchased a LaserPecker LP5 laser-cutter at the store I work at, and looks like I can’t generate G-code directly in Rhino 8. (we are aiming to cut bas-reliefs out in signet rings, charms, etc).

Rumor has it that somehow I can generate it in Grasshopper; also saw there’s a RhinoSlic3r but in Food4Rhino it says it’s for Rhino5. I see something called Xylinus, and a RhinoCAM. Anyone have an idea which might be best for such an application? I can’t import an STL to this laser-cutter, or any other mesh type of file like I would to a 3D printer.

Thanks for any suggestions!

I would assume you would use the CAM software that comes with the laser.

Typically this requires a heightmap (greyscale image). This can be generated from a 3D model in Rhino. I suspect you cannot import the STL because it does not accept 3D files, only images.

Hi @CarvedMetal,

KaroroCAM, my CNC/G-code CAM plugin for Rhino, is another option worth considering.

It’s available directly through the Rhino Package Manager and is the first cross-platform CAM plugin for Rhino.

More information here:

KaroroCAM on Food4Rhino

KaroroCAM discussion on the McNeel Forum

I’ll check when I get to my desk in about an hour and confirm the best post processor for your machine.

I’m also happy to provide you with a free 30-day license key to get you started.

Cheers,

DK

Looks like the Laser Pecker uses GRBL Laser format for it’s Gcode, I’ll have support written for that by later this morning.

Cheers

DK

@CarvedMetal

There is now a new version on KaroroCAM on the Rhino Package Manager with added support for GRBL Laser - both Constant and Dynamic Power:

If you send me a DM I’ll be more than happy to give you a trial license to test/see if this works for you.

Cheers

DK

Wouldn’t the G-code only be useful for 2D shape cutting? Maybe times have changed but the relief generation with a laser as I understand it would be done in a raster format varying the power level based on the greyscale value. The indication that the software does not accept meshes indicates that this is still how the laser generates reliefs.

:hammer_and_wrench: Execution Methods

1. Fiber Laser Engraving & Deep Etching

If you are using a modern desktop laser cutter (such as a fiber laser or specialized jewelry laser): [1]

  • Software Workflow: Design your high-detail 3D relief model in software like Rhino 8 or ZBrush. Because some laser software cannot process native CAD files or standard G-code directly, you must convert your 3D geometry into a grayscale depth map (BMP/TIFF) or a high-density STL mesh depending on the specific laser software. [1]
  • The Process: The fiber laser acts as a micro-cutter, removing metal layer by layer (often a fraction of a millimeter at a time) based on the grayscale gradient. Darker areas are etched deeply, while white areas remain untouched, leaving a raised bas-relief.

OK - that workflow is not currently supported in KaroroCAM, but would not be challenge to include support for if I was asked.

GBRL controllers support a per move power level - so pixel by pixel power adjustment based on a depth map is quite possible.

This workflow also sounds similar to 2D pocket clearing.

Cheers

DK