Skip to content

Failed to import model. (TypeError: can't access property "mesh", objectData is undefined) #35

@roberwinkler

Description

@roberwinkler

Describe the bug

Can not display .3mf files in viewer

To Reproduce

Steps to reproduce the behavior:

  1. Install 3D Model Viewer via Nextcloud Apps page.
  2. Download any .3mf ( ie. from makerworld.com)
  3. Try to view downladed .3mf file
  4. See error

Expected behavior

Works with .stl files!
Would expect same behaviour.

I have checked that the files are not corrupted

If I try to open files either in Fusion or any 3d Slicer Software (Bambu Studio) they open correctly and display without problems.

Yes, using <name it>.

Screenshots

Browser log

Firefox

[WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config
Object { app: "viewer", uid: "[email protected]", level: 2, ignoredMimes: (4) […] }
viewerAction-nlNatCwN.chunk.mjs:5:366
OCA.Files.Settings initialized files-main.js:1:257601
OCA.Files.Sidebar initialized files-sidebar.js:1:22864
OCA.Sharing.ShareSearch initialized files_sharing-files_sharing_tab.js:1:680
OCA.Sharing.ExternalLinkActions initialized files_sharing-files_sharing_tab.js:1:1468
OCA.Sharing.ExternalShareActions initialized files_sharing-files_sharing_tab.js:1:2364
OCA.Comments.View initialized comments-comments-app.js:1:21355
[ERROR] viewer: Could not register handler
Object { app: "viewer", uid: "[email protected]", level: 2, error: "The handler doesn't have a valid component", handler: {…} }
viewerAction-nlNatCwN.chunk.mjs:5:434
Notifications permissions granted NotificationsApp-CNC27OJu.chunk.mjs:38:61514
Polling interval updated to 30000 NotificationsApp-CNC27OJu.chunk.mjs:38:60945
Started background fetcher as session_keepalive is enabled NotificationsApp-CNC27OJu.chunk.mjs:38:58149
Got notification data, restoring default polling interval. NotificationsApp-CNC27OJu.chunk.mjs:38:59900
[WARN] viewer: No files provided, skipping update
Object { app: "viewer", uid: "[email protected]", level: 2 }
viewerAction-nlNatCwN.chunk.mjs:5:366
File info for /Documents/3D Printing/Bambu Lab/P1S/Downloaded Print Project Files/IKEA365-FilaBox/FilamentAufbewahrung.3mf fetched
Object { filename: "/Documents/3D Printing/Bambu Lab/P1S/Downloaded Print Project Files/IKEA365-FilaBox/FilamentAufbewahrung.3mf", basename: "FilamentAufbewahrung.3mf", lastmod: "Tue, 02 Sep 2025 06:39:26 GMT", size: 1727484, type: "file", etag: "cb3f843a567c2f1fb465647f303c7527", mime: "model/3mf", tags: "", getcontentlength: 1727484, getcontenttype: "model/3mf", … }
viewer-main.mjs:8:13769

Installation and configuration

How the app was installed?

  • Via app store.

App server configuration Parameters

  • apps_path parameter is not explicitly configured/customised in config/config.php

Versions

3D Model Viewer

  • Version: 0.0.15

Nextcloud

  • Installation type: Docker
  • Version: Nextcloud Hub 10 / (https://nextcloud.com/) / (31.0.8)
  • Webserver: ?? via Docker

Desktop

  • OS: Windows 11
  • Browser and version: Firefox Version 142.0 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamThe answer lies upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions