fcwv-flask/templates/index.html
Morgan 'ARR\!' Allen 0dbe610d68 its a start
2023-03-21 16:42:22 -07:00

30 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>