> For the complete documentation index, see [llms.txt](https://manual.rotrics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.rotrics.com/get-start/3d-printing/generate-3d-printing-g-code.md).

# Generate 3D Printing G-code with Cura

{% hint style="success" %}
:date: **Update: 2020/08/17**
{% endhint %}

## Generate G-code with Cura

**1. Click** [**here**](https://ultimaker.com/software/ultimaker-cura) **to download Cura software.**

**2. Download Cura configuration files and testing models on our Download Center.**

[**Cura Profile for Rotrics DexArm**](https://www.rotrics.com/pages/download)

**3. Open Cura, add printer into the software according to the following instructions:**

It's required to add new printer when you open Cura for the first time. After adding, please jump to step 4 for generating G-code.

A. Click **`Machine`** and add a printer.

`Machine -> Add printer -> Add a non-networked printer -> Custom -> Custom FFF printer`

![](/files/-M7RdslwrY4zhgFU3iiP)

B. Change **`Printer name`** into`Rotrics V1.0` , clic&#x6B;**`Add`** to add a new printer.

![](/files/-M7RdvLPMJQnpseJG_mC)

C. Set the printer settings and extruder parameters:

![](/files/-MFi4h_Oj01vt9Bd_T_H)

* X(Width) - 150 mm  \*this is the width of Rotrics plate. For other plate, please use related width.
* Y(Depth) - 150 mm  \*this is the length of Rotrics plate. For other plate, please use related length.
* Z(Height) - 270 mm
* Origin at center - Yes
* G-code flavor - Marlin
* X min - 0
* Y min - 0
* X max - 0&#x20;
* Y max - 0
* Start G-code, set the module as 3D printing module, set the filament position as 0 and motion mode as straight-line mode

```
;Start G-code
M888 P3
G92 E0 
M2000 
```

* End G-code, stop the cooling fan and stop heating the nozzle and lift up the nozzle after print is finished.

```
;End G-code
M106 S0
M104 S0
G91 
G0 Z20
G90
```

* Set extruder and filament parameters:

![](/files/-MFi52IOb_un9Q8xO5U3)

* Nozzle Size - 0.4 mm
* Compatible material diameter - 1.75 mm

D. Click **`Next`**&#x74;o complete printer setting

4\. Click **`Rotrics V1.0 -> Manage printers -> Profiles -> Import`** to import the recommended Rotrics printing configuration files.

{% hint style="info" %}
:man\_mage: **Tips:** If you haven't downloaded the configuration file in Step 2, click the following file to download > [**Cura Profile for Rotrics DexArm**](https://www.rotrics.com/pages/download)
{% endhint %}

![](/files/-M7RfDExc4xMxNbXNN_W)

You can also customize the printing parameters according to different filaments: layer height, fill density, printing temperature, print speed.&#x20;

5\. Upload your 3D model into workspace.

![](/files/-M7RfPXPaL06NhPmnEcN)

You can get 3D models from these methods:&#x20;

* Use 3D design software, like Fusion 360, Solidworks.&#x20;
* Use 3D scanner.&#x20;
* Through 3D model sharing website like [Thingiverse](https://www.thingiverse.com/).

6\. Adjust 3D model size, orientation with the left control section.&#x20;

![](/files/-M7Rfcx5m_VAVzUYK_tl)

{% hint style="warning" %}
:brain: **Note:** Make sure you've selected the correct machine and print profile before slicing.&#x20;
{% endhint %}

7\. Click **`Slice`** and then **`Save to File`** , save the G-code to your computer.&#x20;
