<!-- TE10 Studio documentation: /docs/app/importing -->
# Importing models

All imports are in **File › Import** and the **Import / Export** group on the Home tab.

| Command | Files | Brings in |
|---|---|---|
| **Import STEP / CAD File...** | `.step` `.stp` `.iges` `.igs` `.brep` `.brp` `.stl` | Solids and sheets. STEP and IGES keep their own units; BREP and STL have no unit in the file, so TE10 asks. Flat STL triangles are merged into faces; curved parts stay faceted |
| **Import Ansys Electronics Desktop Project...** | `.aedt` `.aedtz` | HFSS designs: geometry (its full history), parameters, materials, boundaries, ports, mesh operations, setups and sweeps, parametric sweeps. Q3D and 2D Extractor designs come in as driven S-parameter models (see [Coming from Q3D](/docs/app/q3d-users)) |
| **Import Ansys 3D Component...** | `.a3dcomp` | The component's geometry, materials, boundaries and ports |
| **Import CST Project...** | `.cst` | Geometry from the modelling history, parameters and materials (password-protected projects can't be read) |
| **Import 3D PCB Layout...** | `.brd` `.alg` `.kicad_pcb` `.xml` (IPC-2581) `.cvg` `.tgz` (ODB++) | A board, in 3D, from its stackup |
| **Import Gerber PCB Layout...** | a folder or `.zip` of Gerber and drill files | The same, built from Gerbers |
| **Import DXF Layout...** | `.dxf` | Layers of a 2D drawing, extruded by a stackup |
| **Import GDS / OASIS Layout...** | `.gds` `.oas` | A chip: metal layers, substrate and vacuum |
| **Import Mesh as Geometry...** | `.msh` `.vtu` `.exo` `.bdf` and others | A solid per mesh region, sheets for inner tagged surfaces |
| **Import Palace Model...** | `.json` (a Palace configuration) | Its mesh as geometry, with materials, boundaries, ports and the setup |
| **Insert Encrypted 3D Model...** | `.encryp10` | See [Encrypted 3D models](/docs/app/geometry#encrypted-3d-models) |

**File › Export** writes **STEP** files of the model and creates encrypted 3D models. Materials can be
exported to Ansys `.amat` and CST `.mtd` libraries from the material manager.

## CAD files

Imported solids keep their names where the file has them. A STEP assembly comes in as one object per
body. If something doesn't mesh afterwards, run **Geometry › Check Geometry...** and **Heal...**
([Checking and healing](/docs/app/geometry#checking-and-healing)), then give each solid its material.

## Ansys Electronics Desktop (HFSS)

TE10 replays the design's modelling history, so the objects come in with their parameters and stay
editable. Then it adds what the solver needs:

- Wave ports with several terminals become multi-mode wave ports.
- Finite-conductivity boundaries keep their surface roughness (see [Surface roughness](/docs/app/roughness)).
- Djordjevic–Sarkar materials become frequency-dependent materials.
- Each import writes notes to the **Messages** panel about anything that was approximated or left out.

## CST Studio projects

TE10 replays the project's modelling history and reads its parameters and materials. A lossy metal's
surface roughness comes in as the Groisse model with the same RMS value; CST's own gradient model isn't
available, so above a few GHz the imported loss is a little lower. The import log says so.

## PCB layouts

**Import 3D PCB Layout...** opens one window for every layout format:

- **Nets**: choose which nets to bring in (for example the signal nets of one channel and the grounds).
- **Layer Stackup**: each layer's thickness and material, taken from the file where it has them.
  Pick materials from the project or the [library](/docs/app/materials#pcb-stackups). Conductor layers
  get a fill dielectric for the space around the copper.
- **Region**: a 2D preview of the board; <kbd>Shift</kbd>+drag a box to import only that region.
- Copper can be drawn as thin sheets on each layer instead of solids.

Allegro `.brd` files are read through KiCad's converter. If KiCad isn't installed, TE10 offers to install
it. Altium, PADS and other tools can export IPC-2581 or ODB++, which TE10 reads directly.

**Gerbers**: TE10 reads the Gerber job file for the stackup when there is one, or assumes a standard board.
A table shows every file and what it is used for (a copper layer, the board outline, a drill file, or not
used); change any of them, and **Edit Stackup** to set the layers.

## Chip layouts (GDS / OASIS)

Pick the cell, then say what each layer is:

| Role | Becomes |
|---|---|
| metal | a metal sheet (thickness 0), or a film of the given thickness, at its height |
| solid | an extruded solid of a material |
| outline | the chip outline |
| ignore | left out |

A **negative** layer draws the gaps instead: the metal is the chip outline minus the polygons. Set the
substrate layers (for example 525 µm of silicon) and the vacuum above and below.

## Meshes and Palace models

**Import Mesh as Geometry...** turns each region of a volume mesh into a solid and each tagged inner
surface into a sheet, with a named selection per tagged surface. **Import Palace Model...** goes further:
it reads a Palace configuration file and its mesh and sets up materials, boundaries, lumped and wave ports
and the solve. Faces that Palace leaves unassigned get a PMC boundary, Palace's default. TE10 meshes the
model again, so results match Palace's to mesh accuracy.
