# 生成G-code

## G代码简介

G代码（G-code）是最为广泛使用的数控编程语言，主要用于控制自动机床。G代码数控程序中的指令，一般都称为G指令。

不同的功能窗口生成G代码的方式不同。请点击下方链接跳转到对应功能生成G代码文件说明：

使用Rotrics Studio生成写字绘画G代码

使用Rotrics Studio生成激光雕刻G代码

使用Cura生成3D打印G代码

使用Rotrics Studio生成示教搬运G代码


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.rotrics.com/v1.0-chinese/rotrics_studio_chn/sheng-cheng-gcode-wen-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
