2026 · 3D printing · In progress
my-3d-files
A desktop catalog for a 3D printing library, with real previews of 3MF, STL and G-code, slicing metadata and a shortcut to the slicer.
- Role
- Design and development
- Period
- Aug 2026 — present
- Stack
- Electron · React · SQLite · three.js · TypeScript
- Team
- Solo, with AI agents
The problem
A folder with 320 3D printing files, sliced for different printers in three slicers: .3mf projects from Bambu Studio and Creality Print, .stl files downloaded from the internet, parts of the same kit spread across subfolders. Explorer shows names. To know which file was which, which printer it was sliced for or whether it fits the bed, I had to open them one by one in the slicer.
my-3d-files is a Windows desktop app that turns that folder into a library: it finds any part in seconds, shows the real geometry and opens the file in the right slicer. The screens below come from the app running on a copy of my library; the G-code of a Benchy was sliced just for them, because the library had none. The app's interface is in Portuguese.
A library, not a file explorer
The app points at a folder and indexes everything in it, without moving, renaming or changing anything on disk: the index, the generated thumbnails, the favorites, tags and notes live in a separate SQLite database. Each file becomes a card with its thumbnail, folder, size, printer and material, as in the image at the top.
The sidebar filters by format, folder, printer, material and favorites, with a count for each. Search looks at the file name, the path and the names of the objects inside the projects: «gol gti» brings up the 48 parts of the kit, even those without «gol» in their name.

Indexing reads only what is cheap: in a 3MF, the settings and the embedded thumbnail; in an STL, the 84-byte header; in a G-code, the start and the end of the file. The mesh is never touched at this stage. A watcher on the folder reindexes on its own when something changes, and files with the same date and size are skipped.
If the folder cannot be read, such as an unplugged external drive, the scan stops before pruning the index: a library that is offline is not treated as a deleted one, and the favorites, tags and notes stay. Moving or renaming the whole folder loses nothing either, because the index relinks the files by their relative path.
Real previews
Opening a model loads the real geometry in a worker and draws it with three.js on the printer's bed, to scale. The bed size comes from the file itself when it has one, and the outline turns red when the part does not fit. Next to the viewport sit the slicing metadata: printer, profile, material, layer height, nozzle, infill and the slicer that produced the file.
Bambu Studio, OrcaSlicer and Creality Print keep every plate of a project in the same coordinate space, side by side. Drawing them all together gave an 800 mm part, so the viewport shows one plate at a time, with a picker at the top. In my library, 93 of the 224 projects have more than one plate.

An STL has no thumbnail, so one is generated in the background from the model's own render, and generation pauses while a model is open. Parsing runs off the interface thread: a 66 MB STL with 1.4 million triangles opens without freezing the window.

G-code
G-code has no mesh: it is the path of the nozzle. The app draws every extruding move as a line, colored by the type the slicer marks (outer wall, inner wall, infill, bridge, support) and grouped by layer. The estimated time, the filament used and the layer count come from the file's own comments.

A slider goes through the layers, and the «só ela» (only this one) button isolates one. The parser understands the markers of Bambu Studio, OrcaSlicer, Creality Print, PrusaSlicer and Cura, absolute and relative coordinates and extrusion, and G2/G3 arcs. It reads the file as bytes, without turning a 100 MB G-code into millions of strings.

From catalog to slicer
The installed slicers are detected at startup: Bambu Studio, OrcaSlicer, Creality Print, PrusaSlicer and UltiMaker Cura, including installs in folders with the version in their name, and a slicer outside the known paths can be added by hand. Right-clicking any card opens the file in the chosen slicer, adds it to the favorites or shows it in its folder. In the details panel, each model gets tags, a source link, such as one from Printables or MakerWorld, and notes.

How it is built
Electron with React and Tailwind CSS in the interface, three.js in the viewport and SQLite for the index, all in TypeScript. The main process handles the scan, the metadata, slicer detection and a custom protocol that streams files to the interface, without loading a whole 60 MB STL into memory. The geometry is decoded in a worker and comes back as transferable buffers, with no copy.
The 3MF reader follows the format slicers actually write: in Bambu and Orca 3MF files, the main file has no mesh, only references to other files inside the zip, and the 3MF transformation matrix, in row-vector convention, is converted to three.js's column-vector one. Verification runs the 3MF, STL and G-code readers over the full folder of print files and opens every model inside the app: all 229 3MF projects and 241 STL files open in the viewport.
The installer is the classic Windows wizard, in Portuguese. Uninstalling does not delete the index or the user data, so reinstalling keeps the favorites, tags and notes.
320
files from my library indexed, 765 MB in total
66 MB
in the largest STL, with 1.4 million triangles, opened without freezing the window
0
files moved, renamed or changed in the library folder