This is an extension for ownCloud web for viewing 3D files.
- Supported formats: [
.glb,.stl,.fbx,.obj] - Zoom/Rotate model
- Fullscreen view
- Navigate between model files
- Download the zip file from the releases page
- Extract the zip file to the apps directory of the oCIS server, which is set using the
WEB_ASSET_APPS_PATHenvironment variable
App Installation With oCIS Deployment
-
Copy
deployments/3dviewer.yamlinto the web_extensions subfolder of oCIS full deployment example. -
Add
APP_3D_VIEWER=:web_extensions/3dviewer.yamlto the## oCIS Web Extensions ##section of the.envfile of your installation (file is located in deployments/examples/ocis_full) and append it to theCOMPOSE_FILEvariable.## oCIS Web Extensions ## APP_3D_VIEWER=:web_extensions/3dviewer.yaml COMPOSE_FILE=docker-compose.yml${...}${APP_3D_VIEWER:-}
-
Run
docker compose upto run oCIS with the extensionsoCIS URL: ocis.owncloud.test
See the docs for more information.
For building and running the app from the code base, follow these steps:
-
Install the dependencies
pnpm i
-
Build the extension
pnpm build
For development, build with watch.
pnpm build:w
-
Start the extension and the web services
docker compose up
Now, you can access the app at https://localhost:9200
You can find models on the following platforms:
