# 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`

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-M7RdllpHbgwYJC9QdV0%2F-M7RdslwrY4zhgFU3iiP%2Fimage.png?alt=media\&token=49f14064-8bd4-4402-8c3f-4665f5f8b38e)

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

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-M7RdllpHbgwYJC9QdV0%2F-M7RdvLPMJQnpseJG_mC%2Fimage.png?alt=media\&token=c1bb3b85-8587-419f-8939-0efb080386f3)

C. Set the printer settings and extruder parameters:

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-MFi4ays2On1shkkQZYs%2F-MFi4h_Oj01vt9Bd_T_H%2Fimage.png?alt=media\&token=42a93d9d-6029-4930-bd93-aa73c353b3ba)

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

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-MFi4ays2On1shkkQZYs%2F-MFi52IOb_un9Q8xO5U3%2Fimage.png?alt=media\&token=18dbf148-2cdf-4eee-822b-ae66e7af0629)

* 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 %}

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-M7Re_mUsSJ31yCOvcvs%2F-M7RfDExc4xMxNbXNN_W%2Fimage.png?alt=media\&token=645a78ac-b8a0-4ec9-9291-b92500f4f606)

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.

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-M7Re_mUsSJ31yCOvcvs%2F-M7RfPXPaL06NhPmnEcN%2Fimage.png?alt=media\&token=1d73bca9-9752-4742-9ae5-39f65e9f77fa)

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;

![](https://2132465959-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPFIBncU5l4J8tl5Yh%2F-M7Re_mUsSJ31yCOvcvs%2F-M7Rfcx5m_VAVzUYK_tl%2Fimage.png?alt=media\&token=0f57e812-d160-4178-b1f5-f5746263bd79)

{% 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;
