Read-only mirror of https://github.com/eth-library/easydb-3d-specimen-viewer-plugin — ETH Library. Issues & pull requests at the source.
  • CoffeeScript 51.9%
  • TypeScript 17.5%
  • HTML 9.2%
  • Makefile 8.1%
  • JavaScript 6.9%
  • Other 6.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-25 13:34:23 +02:00
.github/workflows Bump version 2026-05-25 13:34:23 +02:00
dist Revise some stuff, improve stability of detection 2025-10-11 17:07:16 +02:00
easydb-library@61b9281b5c First commit before initialising react app 2024-11-03 12:47:12 +01:00
l10n initial commit of a fylr compatible version 2025-09-12 11:24:08 +02:00
public Switch to vite for building things, remove react-scripts 2025-04-20 07:52:32 +02:00
src Revise some stuff, improve stability of detection 2025-10-11 17:07:16 +02:00
.gitignore Revise some stuff, improve stability of detection 2025-10-11 17:07:16 +02:00
.gitmodules Use https instead of ssl for easydb-library module 2024-12-13 16:36:55 +01:00
eslint.config.js Switch to vite for building things, remove react-scripts 2025-04-20 07:52:32 +02:00
index.html initial commit of a fylr compatible version 2025-09-12 11:24:08 +02:00
LICENSE Add LICENSE 2024-11-10 13:04:09 +00:00
Makefile initial commit of a fylr compatible version 2025-09-12 11:24:08 +02:00
manifest.yml Create GitHub Action to make releases 2025-10-02 14:51:15 +02:00
package-lock.json Bump version 2026-05-25 13:34:23 +02:00
package.json Bump version 2026-05-25 13:34:23 +02:00
README.md Adjust README to new repository URL 2024-12-03 20:58:07 +01:00
tsconfig.app.json Switch to vite for building things, remove react-scripts 2025-04-20 07:52:32 +02:00
tsconfig.json Switch to vite for building things, remove react-scripts 2025-04-20 07:52:32 +02:00
tsconfig.node.json Switch to vite for building things, remove react-scripts 2025-04-20 07:52:32 +02:00
vite.config.ts Use relative paths for built HTML 2025-04-20 08:27:19 +02:00

3D Specimen Viewer Plugin

This is an easydb plugin that integrates a 3D viewer for various 3D file types.

Currently supported are the file extensions:

  • gltf, glb
  • stl,
  • obj,
  • ply,
  • fbx,
  • p3v

For more details on these file types and the viewer, please refer to 3d-specimen-viewer.

Installation

Please follow the official installation guidelines.

Development

This plugin mostly consists of the plugin functionality server-side (src/SpecimenViewer3DPlugin.coffee) and a react-app providing an iframe that does the actual file loading, display etc.

Therefore, after cloning this repository, you need npm to install the dependencies:

npm install

To build the react app, use

npm run build

Note that currently, the build folder is commited, as that simplifies deployment to easydb. Consequently, though, the git history is not as clean as it could be.