Snagtwin

Learn User guide Reference

Settings: Models and performance

Applies to Snagtwin for Windows, version 0.416.0.

These settings decide how large models are opened and drawn on this PC, how the 3D view looks, and what the model cache keeps, and they are kept on this PC only.

This machine

Settings › Models and performance › This machine
Settings › Models and performance › This machine

This section says what the app found about this PC. There is nothing to set: it explains what the Automatic choices below will do here.

It shows three lines:

  • the processor and its threads, the memory, and how much of it is free now;
  • the graphics adapter the app draws with, and whether it has memory of its own or shares the system memory;
  • on a laptop with two graphics adapters, the other one (Also on this PC);
  • with the memory free now, the largest IFC file the 64-bit in-app reader would take under Automatic. Larger files go to IfcConvert.

The numbers are read each time Settings opens, so they change with what else is running.

Graphics

Graphics chooses what the 3D view is drawn with. It applies when Snagtwin is started again.

  • Direct3D 11 (default): what Chromium uses on Windows by itself.
  • Vulkan: less memory. On an integrated GPU the same models took about a third of the graphics memory that Direct3D 11 took, with the same picture. A very large model is drawn more slowly: one with 27 million vertices turned at about half the frames a second.

Choose Vulkan on a day the PC is short of memory and the models you need will not fit; keep Direct3D 11 otherwise.

If Vulkan does not start, Snagtwin starts again with Direct3D 11 and says so.

3D view drawn with

3D view drawn with chooses the web graphics interface that draws the 3D view. It applies when Snagtwin is started again.

  • WebGL (default): every visual style, edge lines, the sky and cast shadows of the Environment, and up to 8× anti-aliasing.
  • WebGPU: less graphics memory, and a faster picture on a large model. On integrated graphics, a model of 41 million triangles took 1,224 MB of graphics memory with WebGPU against 3,180 MB with WebGL, and turned at 42 ms a frame against 68 ms; a set of 14 smaller models (22 million triangles) took 863 MB against 1,907 MB and turned at about the same speed. With WebGPU the 3D view is drawn in the Standard visual style, without edge lines, the sky or cast shadows, and with 4× anti-aliasing. Layout plans are drawn the same as with WebGL.

When the PC offers no WebGPU, the 3D view is drawn with WebGL and the line under the choices says why. Settings › Models and performance › 3D view says which of its choices apply with WebGPU.

Graphics card

Graphics card chooses which adapter draws on a laptop with integrated graphics and a discrete graphics card. It applies when Snagtwin is started again.

  • High performance (default): the discrete graphics card. Its own memory holds the models, so a large model does not take the PC's memory as it does on integrated graphics, and Snagtwin does not ask before loading one.
  • Power saving: the integrated graphics. The battery lasts longer, but the models take the PC's memory, and Snagtwin asks before a model that will not fit.

On a PC with one graphics adapter, both choices draw on it. If the line below still names the integrated graphics with High performance chosen, set Snagtwin to High performance in Windows Settings › System › Display › Graphics too, and start it again.

Below the choices, two lines say what this session draws with — the backend and the adapter — and how much memory is free now.

Parser workers

Parser workers chooses how many workers mesh an IFC model the first time it is opened. After that the model opens from the model cache, and this setting makes no difference.

  • Automatic (default): up to four, from this PC's processor threads and the memory free when the model is loaded. Each worker holds its own copy of the model, so a large model gets fewer workers, and one when memory is short.
  • One: one worker meshes the whole model, as in versions before 0.230.0. This uses the least memory.
  • Two, Four or Eight: that many, or fewer when the memory free will not hold them.

The model comes out the same with any number of workers: the cache they write is the same, byte for byte. More workers save the most time on a model with many heavy elements. They cannot speed up the slowest single element, such as a slab with hundreds of openings, so a model with one very slow element saves less.

When memory is short

When the graphics share the PC's memory, drawing a model takes several times the memory of its geometry: about 3.6 times on Direct3D 11 and 1.7 times on Vulkan, at its peak. Before each model goes to the graphics, the app checks the memory free. When it is short, it asks, naming what the model needs, what is free, and the programs holding the most memory:

ButtonWhat it does
Check againMeasures again, after you close programs. The model loads when it fits.
Load anywayLoads the model. The 3D view can be lost part-way. The app does not ask again for 10 minutes.
Do not loadThe model is not loaded, and the app says why.
Use WebGPU after a restartShown while the 3D view is drawn with WebGL: saves 3D view drawn with as WebGPU, which holds the same models in less graphics memory. The model is not loaded now; restart Snagtwin, then load it again.

If the 3D view is lost while memory is short, the message says so. The view comes back without the largest models. Close the programs you are not using, then tick those models on again in Models.

Building the Light 3D needs memory too: Publish Light 3D… says so when memory is short.

IfcOpenShell helper

Settings › Models and performance › IfcOpenShell helper
Settings › Models and performance › IfcOpenShell helper

Under This machine, the state of the IfcOpenShell helper: a separate program installed with Snagtwin that runs Check against an IDS (IfcTester), Validate the file and the COBie workbook (IfcFM). It starts for each job and closes afterwards; it reads the model's IFC file and writes only its result. Test the helper starts it once and reports its version, or why it could not start.

Its files are in the install folder's tools\ifcos. A copy of your own in your workspace's tools\ifcos folder is used first. IfcOpenShell is licensed under LGPL-3.0-or-later.

Large IFC files

Settings › Models and performance › Large IFC files
Settings › Models and performance › Large IFC files

Most models open in the app's own parser. This section chooses the engine for a file that parser cannot take: one over 1.4 GB, or with over 60,000 elements. It applies the next time such a file is loaded, and the app says which engine it used and why.

  • Automatic (default): chosen per file, from the memory free when the file is loaded. The 64-bit in-app reader is used when its memory estimate fits; otherwise IfcConvert.
  • IfcConvert: the geometry is converted outside the app by IfcConvert 0.9.0post1, which Snagtwin installs, and cached. Files over 2 GiB are split into parts first. Element names and property sets come from a scan of the file, and ports are not read. IfcConvert comes with the installer. A copy in your workspace's tools folder is used only when Snagtwin carries none.
  • 64-bit in-app reader: the file is read like any other model, with the same property sets, ports and rooms, and cached afterwards. It needs a lot of memory: the section gives measured examples, such as about 8 GB free for a 2.5 GB model. A load that would not fit the memory free at the time is refused, with both numbers. Files over 3 GiB still go to IfcConvert.

Leave it on Automatic unless you have a reason. Choose IfcConvert on a PC with little memory, or 64-bit in-app reader when a large model's ports matter and the PC has the memory to spare.

GPU memory limit

Settings › Models and performance › GPU memory limit
Settings › Models and performance › GPU memory limit

The budget is how much model geometry the app may upload to the graphics card, across all loaded models together. It is checked before each model loads, and a model that would take the total past it is refused.

ControlWhat it does
The budget, in GBFrom 0.5 to 64 GB. The default, 1.6 GB, is the value the app has always used, not a measured limit of this PC's graphics card.
Loaded nowWhat the models loaded now hold, and across how many models.
What Windows reportsThe display adapters installed, their dedicated video memory, and which one the app is drawing with. These are reported values, not a measured limit.
Measure this GPU…Measures what this graphics card can hold and proposes a budget.

To measure the card:

  1. Close other programs that use the graphics card.
  2. Press Measure this GPU…. The section says how much it will try to allocate. Press Start measuring.
  3. Wait up to a minute. The section says how much geometry the card held before it stopped, and why, and proposes 60 % of it as the budget, because the card holds more than geometry.
  4. Press Use it to put the proposal in the field, then Save settings.

A new budget applies to the next model loaded; nothing already loaded is removed. If the models loaded now hold more than the new budget, they stay, but the next load is refused until you remove some.

Raise the budget when a model you need is refused and the card has room; lower it if the view resets or the PC slows down.

3D view

Settings › Models and performance › 3D view
Settings › Models and performance › 3D view

This section sets how the 3D view is drawn on this PC.

SettingChoicesDefault
Render on demandTicked, the model is redrawn while it moves or changes and not otherwise, so the graphics card rests and the side panel answers faster. Untick it only if the view ever fails to show a change.Ticked
Visual styleEnhanced: the models' own colours in daylight, with edge lines; the light is set under View › Appearance › Environment…. Classic: paler colours and no edge lines.Enhanced
Edge linesWhen idle: drawn once the view is still, none while it moves, so it turns as fast as without them. Always: on every picture, and the view turns more slowly. Off.When idle
Include joins between elementsAlso draws a line where two elements meet flush. A still picture of a large model takes about twice as long.Off

Edge lines are part of the Enhanced style, so their choices are greyed out under Classic. When the GPU memory limit has too little room left, the section says the lines are drawn without the joins, or are off for now.

Anti-aliasing

How many times each pixel of the 3D view is sampled. More samples smooth the edges of thin elements, such as railings, louvres and pergola slats, so they shimmer less while the view moves.

  • 8× (default): measured on two of your projects, the shimmer while turning was a quarter to a tenth of 4×'s, with the view turning at much the same speed. The pictures take about twice the graphics memory, counted against the GPU memory limit.
  • 4×: half that memory, and slightly faster on a large federation.

When the budget has no room for 8×, or the graphics card cannot draw it, the view is drawn at 4× and Notifications say why. Lowering the budget or loading more models can switch it back to 4× by itself.

Transparency

A model drawn below 100 % opacity, for example from its slider in the Models panel, in the Status view or during a tour, is faded.

  • Front surface only (default): the model is blended once, at its nearest surface. Every element is at the same level and nothing is covered by what stands behind it, but the model's own inner elements are not shown through it.
  • Depth-sorted (all elements): the nearest surface as above, and what the model holds behind it drawn through it from back to front, so its inner elements show through (an X-ray at 50 %). The order is worked out again when the view rests or has turned 15°. A copy of the model's drawing order is held on the graphics card and counted against the GPU memory limit, and the model is drawn twice while faded, so the view turns more slowly. Where two faded models meet, the order is right for only one of them. On a PC whose graphics share its memory, the memory free is checked before the copy is made; when it is short, the model stays Front surface only and a note in Notifications says how much it needs. Close the programs you are not using, then change its opacity to try again.

Choose Depth-sorted (all elements) when you fade the architecture to see the services inside it and want to see its inner walls too.

Coplanar surfaces

Two elements whose faces lie in the same plane, such as a roof finish modelled flush with the layer under it or an element exported in two models, cannot be told apart by depth. Snagtwin draws the same one of the two in every view, so they no longer flicker as the view moves.

  • Lighter in front (default): the lighter of the two faces is drawn. A finish is usually the lighter face.
  • Darker in front: the darker one is drawn.

Faces of the same colour look the same whichever is drawn.

Selected and highlighted elements

  • X-ray (default): a selected or highlighted element is drawn over everything in front of it, shaded as it is, with a light rim round its outline. The edge lines of the walls, floors and services in front of it are drawn across it, so you see where it sits. The X-ray button under the ViewCube switches to the normal drawing and back for the session.
  • Normal (depth-tested): the element is hidden behind whatever stands in front of it. The X-ray button under the ViewCube still draws the selection through the walls when you want it, for the session.
SettingWhat it doesDefault
Blink for 2 secondsA new selection or highlight is shown and hidden five times, then stays. No blink when Settings › Appearance › Motion is Reduced or Off.On
SelectedThe colour of what you click or what the app shows you.Amber
HighlightedThe colour of a set highlighted from the right-click menu or a connected run. The colour swatch on the highlight's chip changes it too.Amber

Reset to amber resets both colours to the default amber. Pick a different Highlighted colour when you want a highlighted set and the selection told apart at a glance.

Light 3D on this PC

A cloud project's models that are not loaded on this PC can be drawn from the project's Light 3D, the light model an Admin publishes: their tracked elements at 5 mm and their walls and slabs at 2 cm. This section chooses when.

ChoiceWhat happens when a cloud project opens
Automatically (default)Each model of the Light 3D that is not loaded here is drawn from it, until its IFC model is loaded.
Ask each timeThe bell asks, with Show the Light 3D.
NeverNothing is drawn. Show on the Light 3D strip in the Models tab draws it whatever this says.

What works on it and what waits for the IFC model is on the Models page.

Model cache

Settings › Models and performance › Model cache
Settings › Models and performance › Model cache

The first time an IFC file opens it is read in full, which can take minutes for a large model. The result is kept in the workspace's model cache so the file opens in seconds the next time. This section shows how much the cache holds, and offers the caches that are no longer needed.

The first line gives the cache's size, its number of folders and the free space on its drive. Below it, each cache that can go is listed with its model's name, its size, why it is offered and when it was last used:

LabelWhy it is offeredTicked for you
File goneIts IFC file is no longer there.Yes
File changedIts IFC file has changed since it was cached.Yes
Earlier revisionA newer revision of its file has taken its place in your projects.Yes
Never finishedThe first read of the file did not finish.Yes
Made by a test runA test run of the app made it.Yes
LeftoverSmall files left behind, or a removal that did not finish.Yes
Not recordedNothing says where its file is, so the app cannot tell whether it has gone.No

A cache is never offered while its file is still there at that revision, while its model is loaded, or while it is kept for Compare with the previous revision after a model was replaced.

To free the space:

  1. Tick the caches to remove, or use Tick all and Tick none.
  2. Press Remove ticked. The button shows how many caches and how much space.
  3. Press OK in the question that follows. The caches are deleted, not moved to the Recycle Bin. A model whose IFC file is still on disk is rebuilt from it the next time it is opened.

About a minute after the app starts, once a session, it tells you on the notification button when 100 MB or more can go. Review… on that notification opens this section. Models covers loading and replacing models.

The same page opens in the application's Help: press F1 on the PC, or select ☰ › User guide on the phone. The whole guide on one page · The guide as a PDF