# Generating G-code in Rhino 8

**URL:** <https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522>\
**Category:** Rhino for Windows\
**Tags:** windows\
**Created:** [September 8, 2026, 10:08pm UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522 "2026-09-08T22:08:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CarvedMetal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/carvedmetal/32/490854_2.png) [@CarvedMetal](https://discourse.mcneel.com/u/CarvedMetal)\
**Post date:** [September 8, 2026, 10:08pm UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/1 "2026-09-08T22:08:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![JimCarruthers](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jimcarruthers/32/504725_2.png) [@JimCarruthers](https://discourse.mcneel.com/u/JimCarruthers)\
**Post date:** [September 8, 2026, 10:22pm UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/2 "2026-09-08T22:22:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cdordoni](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cdordoni/32/473711_2.png) [@cdordoni](https://discourse.mcneel.com/u/cdordoni)\
**Post date:** [September 9, 2026, 12:42am UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/3 "2026-09-09T00:42:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kiteboardshaper](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kiteboardshaper/32/767533_2.png) [@kiteboardshaper](https://discourse.mcneel.com/u/kiteboardshaper)\
**Post date:** [September 9, 2026, 4:56am UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/4 "2026-09-09T04:56:51Z")

</div>

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](https://www.food4rhino.com/en/app/karorocam-cnc-gcode-cam-plugin-rhino-8)

[KaroroCAM discussion on the McNeel Forum](https://discourse.mcneel.com/t/karorocam-cross-platform-cnc-gcode-plugin-for-rhino-8/188624/67)

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

---

<div class="post-metadata">

**Author:** ![kiteboardshaper](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kiteboardshaper/32/767533_2.png) [@kiteboardshaper](https://discourse.mcneel.com/u/kiteboardshaper)\
**Post date:** [September 9, 2026, 5:15am UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/5 "2026-09-09T05:15:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kiteboardshaper](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kiteboardshaper/32/767533_2.png) [@kiteboardshaper](https://discourse.mcneel.com/u/kiteboardshaper)\
**Post date:** [September 9, 2026, 9:02am UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/6 "2026-09-09T09:02:46Z")

</div>

@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:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/7/f/a7f113d618095ef852a9519d9f62af8cc3fbd604.jpeg)

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

---

<div class="post-metadata">

**Author:** ![cdordoni](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cdordoni/32/473711_2.png) [@cdordoni](https://discourse.mcneel.com/u/cdordoni)\
**Post date:** [September 9, 2026, 11:50am UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/7 "2026-09-09T11:50:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kiteboardshaper](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kiteboardshaper/32/767533_2.png) [@kiteboardshaper](https://discourse.mcneel.com/u/kiteboardshaper)\
**Post date:** [September 9, 2026, 11:58am UTC](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522/8 "2026-09-09T11:58:31Z")

</div>

> [@CarvedMetal](#):
>
> cut bas-reliefs out in signet rings

**🛠 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](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522)]

- **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](https://discourse.mcneel.com/t/generating-g-code-in-rhino-8/222522)]
- **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
