Itasca Mesh Viewer

Interactive VS Code viewer for Itasca native meshes (FLAC3D, FLAC2D, 3DEC), FEM meshes (Nastran BDF), TIFF voxel volumes, and surface meshes (OBJ, STL, PLY) — built on VTK.js.
Open any supported file in VS Code and it renders instantly in a custom 3D editor with:
- Surface, wireframe, and edge rendering powered by VTK.js
- Per-zone/group coloring — FLAC
ZG zone groups, 3DEC BGROUP block groups, Nastran PID property groups, TIFF voxel values
- Group legend with checkboxes to toggle visibility per group
- Element edge overlay — draws true cell edges (not triangulation diagonals)
- Reference grid — 2D construction plane with major/minor lines (Rhino-style)
- Orthographic view shortcuts — X/Y/Z for YZ/XZ/XY planes
- Live refresh on file save
- Info panel — vertices, elements/zones/faces, groups, bounds
Features
| Format |
Extensions |
Description |
| FLAC3D/FLAC2D Grid |
.f3grid, .f2grid, .grid |
Itasca FLAC2D/FLAC3D native grid format |
| 3DEC Grid |
.3dgrid |
Itasca 3DEC native grid format |
| Nastran BDF |
.bdf, .nas, .dat, .fem |
Nastran bulk data format (volume elements: CHEXA, CTETRA, CPENTA, CPYRAM) |
| TIFF Voxel Volume |
.tif, .tiff |
Multi-page TIFF stacks as hexahedral meshes (8/16/32-bit, strip & tiled, planar & interleaved); each voxel value is a group |
| Wavefront OBJ |
.obj |
Standard 3D mesh format |
| STL |
.stl |
Stereolithography mesh format |
| PLY |
.ply |
Stanford Polygon Library format (ASCII & binary, little/big endian) |
Controls
| Action |
Control |
| Rotate |
Left mouse drag |
| Zoom |
Mouse scroll wheel |
| Pan |
Shift + left mouse drag (or middle mouse drag) |
| Reset view |
R |
| Toggle wireframe |
W |
| Toggle surface |
S |
| Toggle element edges |
E |
| Toggle grid |
G |
| View YZ plane (X axis) |
X |
| View XZ plane (Y axis) |
Y |
| View XY plane (Z axis) |
Z |
Usage
Open a supported file in VS Code and it opens in the Mesh Viewer editor. The camera frames the model, and the info panel in the top-left shows:
Vertices: N | Elements: N | Groups: M
Bounds: X x Y x Z
Groups is shown only when the file defines zone/block/PID groups; cells are colored by group, falling back to per-zone colors for ungrouped zones.
When groups exist, a legend in the top-right lists each group name with its color and a checkbox to toggle visibility. Group names may contain spaces. Unchecking a group hides both the elements and their edges.
The grid (G) shows a 2D reference plane at Z=0 (or min Z) with 100×100 cells, auto-spaced to the model. Major lines (every 10 cells) are darker.
Press X, Y, or Z for orthographic views aligned to the principal planes, preserving the current zoom/focal point.
The controls hint stays in the bottom-left.
Installation
Install from the VS Code Marketplace or from a .vsix package.
See CHANGELOG.md for release notes.
License
MIT