All Projects → Autodesk-Forge → Viewer Javascript Offline.sample

Autodesk-Forge / Viewer Javascript Offline.sample

Licence: mit
Offline viewing: Use the viewer to run local files

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Viewer Javascript Offline.sample

Fern.vim
🌿 General purpose asynchronous tree viewer written in Pure Vim script
Stars: ✭ 552 (+804.92%)
Mutual labels:  viewer
Jukeboks
Jukeboks is a fast viewer / player app
Stars: ✭ 21 (-65.57%)
Mutual labels:  viewer
Imgviewer
jQuery plugin to zoom and pan images, even those with a size that is a percentage of their container
Stars: ✭ 50 (-18.03%)
Mutual labels:  viewer
Viewerjs
JavaScript image viewer.
Stars: ✭ 6,270 (+10178.69%)
Mutual labels:  viewer
Exhibit
Exhibit is a managed screensaver App for tvOS.
Stars: ✭ 19 (-68.85%)
Mutual labels:  viewer
Viewer
⚠️ [Deprecated] No longer maintained, please use https://github.com/fengyuanchen/jquery-viewer
Stars: ✭ 985 (+1514.75%)
Mutual labels:  viewer
Viewer
Image viewer (or Lightbox) with support for local and remote videos and images
Stars: ✭ 510 (+736.07%)
Mutual labels:  viewer
Mulimgviewer
MulimgViewer is a multi-image viewer that can open multiple images in one interface, which is convenient for image comparison and image stitching.
Stars: ✭ 57 (-6.56%)
Mutual labels:  viewer
Speckleviewer
⚠️ deprecated; viewer is now integrated in https://github.com/speckleworks/SpeckleAdmin
Stars: ✭ 23 (-62.3%)
Mutual labels:  viewer
Rdimageviewercontroller
Simple viewer not only image but also custom view.
Stars: ✭ 49 (-19.67%)
Mutual labels:  viewer
Zathura
a document viewer
Stars: ✭ 769 (+1160.66%)
Mutual labels:  viewer
Eylogviewer
A simple viewer to see your app's logs on your iDevice in realtime.
Stars: ✭ 16 (-73.77%)
Mutual labels:  viewer
Msbuildstructuredlog
A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
Stars: ✭ 988 (+1519.67%)
Mutual labels:  viewer
Clay Viewer
3D model viewer with high quality rendering and glTF2.0/GLB export
Stars: ✭ 558 (+814.75%)
Mutual labels:  viewer
Bisweb
This is the repository for the BioImage Suite Web Project
Stars: ✭ 54 (-11.48%)
Mutual labels:  viewer
Axphotoviewer
An iOS/tvOS photo gallery viewer, useful for viewing a large (or small!) number of photos.
Stars: ✭ 544 (+791.8%)
Mutual labels:  viewer
Lumberjack
A terminal-ui log watcher written in Go using the Flux architecture
Stars: ✭ 31 (-49.18%)
Mutual labels:  viewer
Imexam
imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
Stars: ✭ 57 (-6.56%)
Mutual labels:  viewer
Ueviewer
Viewer and exporter for Unreal Engine 1-4 assets (UE Viewer).
Stars: ✭ 1,083 (+1675.41%)
Mutual labels:  viewer
Gifloader
An Android Library to load your GIF files
Stars: ✭ 38 (-37.7%)
Mutual labels:  viewer

Offline viewing sample for Autodesk Viewer

Viewer

Description

This repository demonstrates a self-contained Forge Viewer application, with all the necessary dependencies and resources hosted on your own server, independent of any Forge API endpoints.

Use cases of hosting the entirety of a Viewer application like this sample on your own instance include:

  • To be able to view the model even if the client has no or limited networking access to the Forge API endpoints
  • Boost loading times if the client experiences slow networking with Forge API endpoints
  • To make your application self-contained and isolated from disruptions (though rare) to the Forge API

Live Demo

Setup

To replace the model (in extracted format .svf) to be viewed, change the value of document in index.html.

var options = {
    'document' : './shaver/0.svf',
    'env':'Local'
    };

Run with Python: to start this application with Python 2.x, run below in the directory of your local clone:

python -m SimpleHTTPServer 8000

Run with NodeJS: to start this application with NodeJS 5+, run below in the directory of your local clone:

npx http-server -p 8000

Alternatively feel free to spin this sample up with your favorite web server (IIS/Kestrel/Tomcat/Apache/Nginx etc.) as it's 100% static.

Navigate to http://localhost:8000 on Chrome/Firefox/IE 11+/Safari/Opera to see the result.

Tips and Tricks

To view other models, replace value of 'document' of 'options' with the url below:

Shaver

http://developer-autodesk.github.io/translated-models/shaver/0.svf

House

http://developer-autodesk.github.io/translated-models/dwfx-sample-house/f0224dd3-8767-45c1-ff99-5c9c881b9fee/0.svf

thumbnail

You can also download those translated models from this GitHub repo.

You can translate your own models at extract.autodesk.io.

Written By

Shiya Luo & Bryan Huang

Thumbnail

Thumbnail

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].