ateeducacion/omeka-s-threedviewer
Composer 安装命令:
composer require ateeducacion/omeka-s-threedviewer
包简介
Embeds 3D models (GLB, etc.) in Omeka S collections using either model-viewer.js or three.js
README 文档
README
Try in your browser
This module allows users to view and interact with 3D models (STL and GLB files) directly within Omeka S.
Features
- View 3D models (STL and GLB formats) directly in the browser
- Interactive controls for rotating, zooming, and panning 3D models
- Customizable display options including background color
- Optional auto-rotation for better visualization
- Grid display option for better spatial reference
- Toggle between the original Three.js/model-viewer pipeline and an experimental Babylon.js renderer
- Babylon.js renderer with configurable cameras, lighting, and WebXR support
Installation
Manual Installation
- Download the latest release from the GitHub repository
- Extract the zip file to your Omeka S
modulesdirectory - Log in to the Omeka S admin panel and navigate to Modules
- Click "Install" next to Three3DViewer
Installation
See general end user documentation for Installing a module
Usage
- Upload STL or GLB files to your Omeka S items as you would any other media file
- When viewing an item with a 3D model, the model will automatically be displayed in an interactive viewer
- Use your mouse to:
- Left-click and drag to rotate the model
- Right-click and drag to pan
- Scroll to zoom in and out
- The module settings allow administrators to choose the default viewing library. Select the legacy Three.js/model-viewer stack for the original experience or opt into Babylon.js for advanced camera behaviour, lighting presets, optional environment ground/skybox, WebXR (VR/AR) support, and an inspector toolbar for fine-tuning scenes on demand.
Local Development with Docker
This repository includes a Makefile and a docker-compose.yml for quick local development using erseco/alpine-omeka-s.
Quick start
make up
Then open http://localhost:8080.
Sample data import
On first boot, the container automatically installs CSVImport and, if data/sample_3d_data.csv is present, imports it so you immediately have items to test the viewer. To trigger a manual import inside the container, run:
make shell
cd /var/www/html && OMEKA_CSV_IMPORT_FILE=/data/sample_3d_data.csv php import_cli.php "$OMEKA_CSV_IMPORT_FILE"
Preconfigured users
The environment automatically creates several users with different roles:
| Role | Password | |
|---|---|---|
| admin@example.com | global_admin | PLEASE_CHANGEME |
| editor@example.com | editor | 1234 |
The ThreeDViewer module is automatically enabled, so you can start testing right away.
Useful Make commands
make up– Start Docker containers in interactive modemake upd– Start in detached mode (background)make down– Stop and remove containersmake shell– Open a shell inside the Omeka S containermake lint– Run PHP_CodeSniffermake fix– Auto-fix coding style issuesmake package VERSION=1.2.3– Build a.ziprelease of the modulemake test– Run PHPUnit tests
Run make help for a full list.
ateeducacion/omeka-s-threedviewer 适用场景与选型建议
ateeducacion/omeka-s-threedviewer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 04 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「module」 「3d」 「Omeka S」 「three.js」 「model-viewer」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ateeducacion/omeka-s-threedviewer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ateeducacion/omeka-s-threedviewer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ateeducacion/omeka-s-threedviewer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
Symfony HttpClient wrapper for the Omeka-S REST API
Yii2 module to manage website content. Kind of a CMS...
Codeurx Modular is simply a package for Laravel to help you create and manage modules.
Omeka CLI
User Module for the Attogram Framework
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-04-07
