Skip to content

7. Your own door and trim

The game’s doors and the built-in trims cover a lot, but sometimes you want a door that fits exactly or a skirting with your own shape. This tutorial makes both.

You will learn: the Door editor, door archetypes, the Trim profile editor and .ietrim files.

  1. With the Select tool (V), click a doorway in the view.
  2. In Properties, find the Door and portal section (it is open for a door). Under its Door heading, press Make a door…. The Door editor opens with a door the size of the doorway.
The Door heading of a doorway's Door and portal section. Make a door... opens the Door editor.
  1. The editor suggests a Name (door_1). Choose the Style: Flat, Panelled, Glazed, Half glazed or Louvred. Pick Panelled and set Panels (rows, columns), for example 3 rows and 2 columns. Width / height start at the doorway’s size, and Thickness is in millimetres.
  2. Choose the Handle: Lever, Knob, Pull bar or None, and its Handle height above the bottom of the leaf. Tick Kick plate for a metal plate at the foot.
  3. Under Materials, pick the Leaf material from the project’s materials. Glass appears for the glazed styles and Metal when the door has a handle or a kick plate. Until you pick one, each part uses the project’s Wood frame, Glass or Metal frame material.
  4. Behaves like chooses the game door whose archetype your door copies, so the game swings your door the way it swings that one. It lists the game doors of your project; the default is the first of them, or the built-in v_ilev_mm_door when the project has none.
  5. The preview on the right shows the door from the front and follows every change. Press Create: the door goes into the doorway.
The Door editor: the settings on the left, the door seen from the front on the right, Create at the bottom.

The door is written as its own model with its collision embedded, a box laid out the way the game’s own doors carry theirs, with the weight and balance a door needs to swing. In game it collides and opens like the door it Behaves like. It is exported with the resource and built again from its settings at every export. Edit this door…, in the same place of the doorway’s Properties, reopens the editor (its button then says Apply). If you resize the doorway, the door is rebuilt at the new size, as long as it stands in that one doorway only.

The custom door in its doorway. Edit this door... reopens the Door editor on it.

A trim’s profile is its cross-section, drawn as points in millimetres.

  1. Open Window > Trim profiles. The Trim profile editor opens. A double-click on a trim card in the Assets window opens it too.
  2. Start from a built-in style. Open the Profile list at the top of the editor and, under Built-in styles (read-only), pick Skirting: Board 10 cm. Press Duplicate beside the list: the copy is yours to edit. Rename it in the Details section’s Name field, for example Ogee skirting.
Built-in styles are read-only: pick one in the Profile list and press Duplicate to start from it.
  1. The drawing shows a skirting’s frame: the wall on the left, the floor below, the origin in the corner between them. x goes out of the wall, y goes up. The points are numbered from 0: Board 10 cm starts on the floor at the front of the board (point 0) and ends on the wall at its top (point 3).
  2. Drag a point to move it. It snaps to the Snap step under the drawing (1 mm; Free and 5 mm are the other choices), and Shift drags without snapping. Double-click a line to add a point on it, Ctrl+click adds one at the end, and Delete, with the pointer over the drawing, removes the selected point. The wheel zooms; a middle or right drag pans.
  3. Make it taller with a curved top: drag points 0 and 1 out to 18 mm, point 1 up to about 95 mm and point 3 (on the wall) up to 120 mm. Then double-click the lines between point 1 and the wall two or three times and drag the new points into a curve from the front face back to the wall. For exact values, type them in the Points table under the drawing (x and y in millimetres).
  4. Watch the picture in the top right corner of the drawing: the profile swept round a room corner, updated as you edit.
The profile's drawing. The picture in the corner is the profile swept round a room corner.

Under the drawing are Mirror up / down, Reverse order, Add point, Delete point and Scale to depth x height (mm) (type the depth and the height in the two fields before it). Then come the sections Checks (what is wrong with the outline, in red), Points (the table), Details (name, kind, author, notes and Shade smooth for curves), Preview (the picture’s material) and Use and share.

The tools, the Checks and the Points table, where each point's x and y can be typed in millimetres.

Select a room and open Trims in its Properties. Click the picture beside Skirting: a grid of the styles opens, with your profile under Your profiles after the built-in ones. Click it. The room then shows Skirt scale (100 % is the profile’s own size), Edit profile… and Skirt material.

You can also drag the profile’s card from the Assets window (the Assets/Trims folder) onto a room in the view, or select the room and press Use as skirting of (the room’s name) in the editor’s Use and share section.

The Skirting picker of a room's Trims section. Your own profiles follow the built-in styles.

Each kind of trim has its own origin:

Trim Origin and axes
Skirting The floor and wall corner. x out of the wall, y up.
Dado rail On the wall at the rail height. x out of the wall, y up or down.
Cornice The ceiling and wall corner. x out, y down.
Architrave The opening’s edge on the wall face. x away from the opening (negative x goes into the reveal), y out of the wall.

A profile is a portable .ietrim text file. The project writes its profiles to Assets/Trims/ when you save it. In the editor’s Use and share section:

  • Save as a file… writes it anywhere, to send to someone. A trim card’s right-click menu in the Assets window has Export file… for the same.
  • Save to my library keeps a copy in your library folder for all your projects. Library… lists it and puts a profile into the current project (Add to project).

To read in a profile someone sent you, press Import at the top of the editor, or use + Add > Import trim profile (.ietrim)… in the Assets window. The file is copied into the project.

Use and share: apply the profile to the selected room, write it as a file, or keep it in your library.