The .tela format
What a Tensela project file is, and how to read or write one.
What it is
- A .tela file is a Tensela project: its nodes, how they are connected, and how the window shows them.
- It is plain text: a JSON object in UTF-8. You can open it in any text editor, read it, and keep it in version control (a change of a value is a change of a line).
- It holds the recipe, not the result: Tensela computes the geometry each time it opens the project. A .tela file is small, usually a few kilobytes.
How to recognise it
- The extension
.tela. - A JSON object whose first key is
"tensela", with the version of the format as a whole number. Today it is1. - On the Linux desktop its type is
application/x-tensela, a kind ofapplication/json. - Projects from before the program had its name are
.jsonfiles with"parametrico": 1in place of"tensela": 1. Tensela opens them too.
Its keys
Only tensela and nodes are needed; the rest appear when they have something to say.
tensela- The version of the format (1).
description- A text about the project.
nodes- Each node by its name: its
typeand only the inputs that differ from their default. A value is a number, a text, a list or a point; a connection to another node is{"node": "name"}. groups- The groups of nodes made in the project, each with its own nodes, inputs and output.
export- The nodes seen in the 3D view, and that go to an exported file.
controls- The values the window offers as sliders, with their range, step and unit.
view- How each node is drawn: colour, opacity, painted by a value…
positions- Where each node is on the canvas.
previews- The nodes whose card shows a picture of their result.
notes- The notes of the canvas: texts, arrows and frames.
look- How the 3D view is drawn: its style.
An example
{
"tensela": 1,
"description": "A facade with sun fins",
"nodes": {
"facade": {"type": "Rectangle", "width": 20, "height": 12, "plane": "elevation"},
"panels": {"type": "Grid", "rectangle": {"node": "facade"}, "cell_width": 1, "cell_height": 1}
},
"export": ["facade", "panels"],
"controls": [
{"value": "facade.width", "min": 10, "max": 30, "step": 0.5, "unit": "m", "label": "width"}
],
"view": {"facade": {"color": "#c9d6e2", "opacity": 0.6}}
}What opening one does
- Tensela reads the file and computes its nodes in a process of its own. Nothing is sent anywhere, and no file of yours is written: only when you save or export, where you choose.
- A node may name a file of your computer (an image, a weather file) by its path, relative to the project when it is in its folder. Tensela only reads it.
- A Code node holds a short piece of Python written by whoever made the project. Before it runs, it is checked against a list of what is allowed (numbers, lists, geometry, mathematics), and it runs apart, with limits: it is made not to touch your files, reach the network or start other programs. When a project has Code nodes, Tensela says so on opening, and their code can be read with «Edit code…».
- A node of an extension that is not installed stays as it is, with its inputs and connections, and is not computed.
Use it in your programs
Anyone may read and write .tela files in their own programs, without asking. The code that reads and writes them is in project_file.py, in the repository of Tensela.
Questions about the format: contact@tensela.com
Format version 1 · Last updated: 25 November 2026.