Skip to content

feat(round 3): OBJ and STL open in the viewer, and restored private files are owner-only (0.9.4) - #9

Merged
nodemode-ai merged 3 commits into
mainfrom
fix/round3-0.9.4
Nov 28, 2026
Merged

nodemode-ai merged 3 commits into
mainfrom
fix/round3-0.9.4

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(round 3): OBJ and STL open in the viewer, and restored private files are owner-only (0.9.4)

Summary

  • OBJ and STL files open in the 3D viewer, show a preview and a cover, and can be placed in a scene. They are converted to GLB in the window, the way FBX files already are, and show in neutral grey because the library keeps no material file beside them. Mesh tools preview them. The README and wiki say so; USDZ and DAE are still stored only.
  • The library picker shows the "stored, cannot be previewed yet" note for formats the viewer cannot show. It asked for a cover that could not be made.
  • A private file restored from its backup copy was made with default permissions and narrowed afterwards. Private files and their backup copies are opened owner-only.

Commits

  • feat(viewer): OBJ and STL files open, preview and can be placed in a scene
  • fix(files): a private file restored from its backup copy is owner-only from the moment it is opened
  • chore(release): 0.9.4

Short hashes are left out because they change when the commits are signed.

Version

v0.9.4 (release commit is last). setup/versions.py reports all 10 sites at 0.9.4. This is the version to build and release.

Checks

On Linux, on the last commit's tree: npm run typecheck pass; npm run build pass with 0 .map files; npm test 1186 passed; backend pytest 478 passed; engine --selfcheck pass; setup/versions.py pass; skills check 0 failures; ./formcraft agents sync --check in step. A small OBJ and a small STL were converted through the built app in a headless browser; an empty OBJ gave its error.

Two assertions in frontend/tests/unit/ui/viewers/kinds.test.ts changed, with the owner's approval: modelFormat for an .obj file expects 'obj' where it expected null, and previewable for an .obj model expects true where it expected false. No test was added.

Not run: ./formcraft install and the CI install job; the engine freeze; the desktop build; a generation against a provider; the OBJ path with a material file (checked by type check only).

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

Known and left open

  • A 3D model as a canvas layer reads only glTF; that is true for FBX as well as OBJ and STL.
  • No generation has been run against fal or World Labs. One run per media kind on a real key is the first thing to do after the build.
  • setup/versions.py accepts one digit in the patch part, so 0.9.9 is followed by 0.10.0.

…scene

OBJ and STL are converted to GLB in the window, as FBX already is, and show in neutral grey because the library keeps no material file beside them. Mesh tools preview them. The library picker shows the stored-only note for formats that still cannot be shown. Two assertions in kinds.test.ts that said OBJ is unknown and cannot be previewed now expect it to be known and previewable, with the owner's approval; no test was added. Ran: typecheck, interface tests 1186, production build, and a headless conversion of a small OBJ and STL through the built app.
…y from the moment it is opened

core/durable.py made the temporary and restored file with default permissions and narrowed them afterwards. Private files and their .bak copies are opened 600. Other files are unchanged. Ran: engine tests 478; a hand run under umask 022.
Version sites, the changelog section and the two side logs for 0.9.4. Ran: every runnable CI job on this commit's tree; setup/versions.py reports all 10 sites at 0.9.4.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 28, 2026 23:11
@nodemode-ai
nodemode-ai merged commit 53aa5d8 into main Nov 28, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/round3-0.9.4 branch November 28, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant