# File Handling

C6 handles 3D part files and g-code files in normal operation. Simply put, 3D part files are uploaded in the interface, sliced by the Cloud engine and a g-code file is generated as result. During the operation, and for saving jobs for future usage, files can be saved in cloud on user discretion.

Currently, **C6 only handles .STL and .gcode files**. No other files can be loaded in the interface. If a file with these extensions is not correct in its content or is corrupted, the same will not load properly in C6 interface

{% hint style="danger" %}
Only .gcode files prepared by C6 are best visualized in C6. G-code files created by other slicers can show unexpected geometry in C6. Similarly, g-code files created by C6 can show unexpected geometry in other slicer softwares
{% endhint %}

Following topics will give you a better understanding of File handling in C6

1. Temporary files
   * Load files
   * Delete temporary files
2. Cloud files
   * Saving files in cloud
   * Deleting files from cloud

## Temporary Files (Local)

Temporary files mean the files loaded in C6 interface in your browser. These files are local to your system, and are not saved anywhere. Uploading and saving of files can only happen once you start a slicing operation.

{% hint style="info" %}

* If the interface has a 3D part file, another 3D part file can be loaded with it.&#x20;
* If the interface has a g-code files, loading a 3D part file will remove the g-code after confirmation. Similarly, if a 3D part file is loaded in interface, loading a g-code file will remove the STL file.
* If a 3D part file is loaded, sliced and a result g-code file exists in the interface, loading either a 3D part or g-code file will remove the previous files
  {% endhint %}

### 1. 3D part files

#### <mark style="color:blue;">LOAD FILES</mark>

There are two ways to open 3D part files in C6

1. **Open files using the folder** <img src="/files/1KAfnOpYbJWKgLP0pi0M" alt="" data-size="line"> **button**

Click the button ***"***&#x46;older Ope&#x6E;***"*** <img src="/files/fejjL9Y5YATGziz2GLoU" alt="" data-size="line">  to import .stl files.

![C6 - Load multiple files ](/files/wipzjkV5n0zukXUK68s1)

**2. Drag and drop files on the interface**

Multiple files can be dragged together at a time to load in the interface

![C6 - Load multiple files by dragging](/files/UZw7dEtEXCxpySSAWtl3)

#### <mark style="color:blue;">REMOVE FILES</mark>

Loaded 3D part files can be removed by&#x20;

* Individually selecting and deleting the files using **DELETE** key

![C6 - Delete individual files ](/files/9wbOI2OE2Fi5kM6m4trG)

* Or by deleting all files together using delete button <img src="/files/l31GHF22gXwOgyobMlYy" alt="" data-size="line">

![C6 - Delete multiple files together](/files/WgmX4uH7hfSASW8Di7u5)

### 2. G-code files

#### <mark style="color:blue;">LOAD FILES</mark>

Similar to 3D part files, you can either

1. Open a g-code file from open dialog box, OR
2. Drag a g-code file in the interface

![C6 - Load g-code file](/files/H2r4CDqV4af2LP8G9FQm)

![C6 - Load g-code by drag and drop](/files/MpHl2YSs0Z2AClVjEiww)

#### <mark style="color:blue;">DELETE FILES</mark>

Similar to 3D part files, g-code file can be deleted using the delete button <img src="/files/l31GHF22gXwOgyobMlYy" alt="" data-size="line">

![C6 - Delete g-code files](/files/LCdvGGLP0TsmPGORxg55)


---

# 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://docs.c6.fabheads.com/modules/file-handling.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.
