31 lines
983 B
HTML
31 lines
983 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>FreeCAD Web Viewer</title>
|
||
|
<style>
|
||
|
body { margin: 0; }
|
||
|
</style>
|
||
|
<link href="static/main.css" rel='stylesheet' type='text/css' />
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type='importmap'>
|
||
|
{
|
||
|
"imports": {
|
||
|
"three": "./static/three.js-master/src/Three.js",
|
||
|
"Loader": "./static/three.js-master/src/loaders/Loader.js",
|
||
|
"GUI": "./static/three.js-master/examples/jsm/libs/lil-gui.module.min.js",
|
||
|
"OrbitControls": "./static/three.js-master/examples/jsm/controls/OrbitControls.js",
|
||
|
"STLLoader": "./static/three.js-master/examples/jsm/loaders/STLLoader.js"
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<content>
|
||
|
<file-loader> </file-loader>
|
||
|
<three-renderer src='static/master_railx10.stl'></three-renderer>
|
||
|
<three-gui></three-gui>
|
||
|
</content>
|
||
|
<script src='./static/index.js' type='module'></script>
|
||
|
</body>
|
||
|
</html>
|