Introduction
Overview
The SView for HTML5 control package is a wrapper sample of the SView for HTML5 layer libraries. It provides a complete demo integration of model loading, UI handling, and more, making it easy for developers to achieve rapid integration.
Control Package Structure
The SView for HTML5 control package consists of the following parts:
SView for HTML5
- └───configs——SView-related configuration files
- ├──commandParameters.json — SView command-related configuration file
- ├──DefaultDensityTables.json — Default density table configuration file for volume and weight
- ├──documentParameters.json — SView document settings-related configuration file
- ├──systemParameters.json — SView system settings-related configuration file
- └──propertiesParameters.json — SView property settings-related configuration file
- ├───css — SView UI style-related resources
- ├───data — Resources used internally by SView
- ├───background — Background resources, including background colors and skybox resources
- ├───font — Font resources
- ├───handler — Handler resources, including drag widgets, etc.
- ├───materialTemplate — Material resources
- ├───pic — Image resources
- └───Tools — Animation tool resources
- ├───images — SView icon resources
- ├───js — SView script resources
- ├───bomContrast — BOM comparison-related scripts
- ├───ClickFunction — UI button click-related scripts
- ├───Components — UI JSON configuration-related scripts
- ├───crypto — Third-party scripts
- ├───fignerPrint — Third-party scripts
- ├───jszip — Third-party scripts
- ├───nurbs — Third-party scripts
- ├───oda — 2D-related scripts
- ├───pako — Third-party scripts
- ├───stats — Third-party scripts
- ├───sview — SView low-level library scripts
- ├───colorpicker.js — Color picker script
- ├───jquery-3.1.0.min.js — jQuery third-party script
- ├───main.js — SView demo main entry script
- ├───main_local.js — SView open-model script
- ├───main_server.js — SView server rendering entry script
- ├───modelCompare.js — Model comparison script
- ├───odamain.js — 2D entry script
- ├───pdfmain.js — PDF entry script
- ├───sview.html5.js — SView demo script
- ├───SView-tree.js — SView assembly tree script
- └───volumeWeightRerelease.js — Volume and weight secondary development sample script
- ├───lic — SView license resources
- ├───models — SView sample model resources
- ├───oda — 2D opening resource library
- ├───pdf — PDF opening resource library
- ├───textures — SView texture mapping resources
- ├───sview3d.html — SView 3D viewing main interface
- ├───index.html — SView demo home page (displays the model list interface when using the mongoose service and opened in Google Chrome)
- ├───mongoose.conf — mongoose service configuration file
- ├───mongoose-free-6.5.exe — mongoose service application; after starting the service, it opens the browser directly and opens index.html in this directory. Chinese characters must not appear in the directory path when using the mongoose service
- └───version.txt — Frontend version file