Go to file
Viktor Kovacs d43477d726 Self-hosted viewers should detect size automatically based on the size of the container div #43
Now the viewer's size is based on the parent container's size (not the width and height attribute) so it's possible to style the parent container with css and even use it in fullscreen.
2021-04-02 18:52:00 +02:00
libs Add code for new version. 2021-03-27 08:29:19 +01:00
source Self-hosted viewers should detect size automatically based on the size of the container div #43 2021-04-02 18:52:00 +02:00
test Add separator parameter for parameter builder and parser. 2021-04-02 11:03:45 +02:00
tools Self-hosted viewers should detect size automatically based on the size of the container div #43 2021-04-02 18:52:00 +02:00
website Typo fix. 2021-04-02 16:21:38 +02:00
.gitignore Add code for new version. 2021-03-27 08:29:19 +01:00
.jshintrc JSHint fix. 2021-03-29 15:25:22 +02:00
.nycrc.json Exclude tests from coverage report. 2021-03-30 18:57:29 +02:00
.travis.yml Remove build from travis. 2021-04-01 16:33:35 +02:00
appveyor.yml Make coverage report with only one package script. 2021-03-31 16:24:17 +02:00
codecov.yml Add codecov badge. 2021-04-02 12:39:13 +02:00
LICENSE.md Add code for new version. 2021-03-27 08:29:19 +01:00
package.json Update version. 2021-04-01 18:19:10 +02:00
README.md Update README.md 2021-04-02 16:00:22 +02:00
StartServer.bat Add code for new version. 2021-03-27 08:29:19 +01:00

Online 3D Viewer

This repository contains the source code of the https://3dviewer.net website and the library behind it.

  • The website can open several 3D file formats and visualize the model in your browser.
  • The library allows you to visualize 3D models easily on your own website.

Build status Build Status Language grade: JavaScript codecov

Documentation

Supported file formats

Import

  • obj (with mtl and texture)
  • 3ds (with texture)
  • stl (text and binary)
  • ply (text and binary)
  • gltf (text and binary)
  • off (text only)

Export

  • obj (with mtl)
  • stl (text and binary)
  • ply (text and binary)
  • gltf (text and binary)
  • off (text only)

Features

  • Load model:
    • Select files from a file browser dialog
    • Drag and drop files from your computer
    • Specify files by web url
    • Specify files by web url in hash parameters
  • Explore model:
    • Orbit, pan, zoom
    • Set up direction
    • Fit to window
  • Investigate model:
    • List used and missing files
    • List all materials and meshes
    • Show/hide and zoom to a specific mesh
    • List materials used by a specific mesh
    • Show model information (model size, vertex and polygon count)
  • Export model to various format
  • Embed viewer in your website