Permalink
...
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Open a pull request
- 10 commits
- 66 files changed
- 0 commit comments
- 5 contributors
Unified
Split
Showing
with
22 additions
and 4 deletions.
- +0 −1 .gitignore
- +14 −0 Docker/docker-compose.yml
- +3 −0 src/.bowerrc
- +2 −0 src/.gitignore
- 0 { → src}/css/main.css
- 0 { → src}/index.html
- 0 { → src}/js/loader/stl.js
- +3 −3 { → src}/js/main.js
- 0 { → src}/js/slacer/mesh.js
- 0 { → src}/js/slacer/settings.js
- 0 { → src}/js/slacer/slicer.js
- 0 { → src}/js/slacer/viewcontrols.js
- 0 { → src}/js/slacer/viewer.js
- 0 { → src}/js/slacer/viewer2d.js
- 0 { → src}/js/slacer/viewer3d.js
- BIN { → src}/screenshot.png
- 0 { → src}/stl/Octocat-v2.stl
- BIN { → src}/stl/SLAcer.stl
- 0 { → src}/stl/StressTest.stl
- BIN { → src}/stl/cube.center.stl
- BIN { → src}/stl/cube_hole.stl
- 0 { → src}/vendor/FileSaver.min.js
- 0 { → src}/vendor/OrbitControls.js
- 0 { → src}/vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.css
- 0 { → src}/vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css
- BIN { → src}/vendor/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png
- BIN { → src}/vendor/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png
- BIN { → src}/vendor/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png
- BIN { → src}/vendor/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png
- BIN { → src}/vendor/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png
- 0 { → src}/vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.js
- 0 { → src}/vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js
- 0 { → src}/vendor/bootstrap-slider/bootstrap-slider.js
- 0 { → src}/vendor/bootstrap-slider/bootstrap-slider.min.js
- 0 { → src}/vendor/bootstrap-slider/css/bootstrap-slider.css
- 0 { → src}/vendor/bootstrap-slider/css/bootstrap-slider.min.css
- 0 { → src}/vendor/bootstrap/css/bootstrap-theme.css
- 0 { → src}/vendor/bootstrap/css/bootstrap-theme.css.map
- 0 { → src}/vendor/bootstrap/css/bootstrap-theme.min.css
- 0 { → src}/vendor/bootstrap/css/bootstrap.css
- 0 { → src}/vendor/bootstrap/css/bootstrap.css.map
- 0 { → src}/vendor/bootstrap/css/bootstrap.min.css
- BIN { → src}/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
- 0 { → src}/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
- BIN { → src}/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
- BIN { → src}/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
- BIN { → src}/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
- 0 { → src}/vendor/bootstrap/js/bootstrap.js
- 0 { → src}/vendor/bootstrap/js/bootstrap.min.js
- 0 { → src}/vendor/bootstrap/js/npm.js
- 0 { → src}/vendor/earcut.js
- 0 { → src}/vendor/jquery-2.1.4.min.js
- 0 { → src}/vendor/jquery-ui/jquery-ui.min.css
- 0 { → src}/vendor/jquery-ui/jquery-ui.min.js
- 0 { → src}/vendor/jszip.min.js
- 0 { → src}/vendor/libtess.min.js
- 0 { → src}/vendor/lodash.min.js
- 0 { → src}/vendor/poly2tri.min.js
- 0 { → src}/vendor/tessy.js
- 0 { → src}/vendor/three.min.js
- 0 { → src}/vendor/triangulation.js
- 0 { → src}/vendor/triangulation/.gitignore
- 0 { → src}/vendor/triangulation/README.md
- 0 { → src}/vendor/triangulation/tessy.js
- 0 { → src}/vendor/triangulation/triangulation.js
- 0 { → src}/viewer2d.html
View
1
.gitignore
@@ -1 +0,0 @@ | ||
-_*.* |
View
14
Docker/docker-compose.yml
@@ -0,0 +1,14 @@ | ||
+static-web: | ||
+ | ||
+ image: nginx | ||
+ environment: | ||
+ - VIRTUAL_HOST=${FQDN} | ||
+ | ||
+ volumes: | ||
+ - ../src:/usr/share/nginx/html:ro | ||
+ expose: | ||
+ - 80 | ||
+ restart: unless-stopped | ||
+# uncomment if you don't have another proxy | ||
+# port: | ||
+# - 80:80 |
View
3
src/.bowerrc
@@ -0,0 +1,3 @@ | ||
+{ | ||
+ "directory" : "vendors" | ||
+} |
View
2
src/.gitignore
@@ -0,0 +1,2 @@ | ||
+_*.* | ||
+/vendors/ |
View
0
css/main.css → src/css/main.css
File renamed without changes.
View
0
index.html → src/index.html
File renamed without changes.
View
0
js/loader/stl.js → src/js/loader/stl.js
File renamed without changes.
View
6
js/main.js → src/js/main.js
@@ -681,7 +681,7 @@ function updateBuildVolumeSettings() { | ||
}); | ||
viewer3d.setBuildVolume(settings.get('buildVolume')); | ||
- viewer3d.dropObject(slicer.mesh); | ||
+ slicer.mesh && viewer3d.dropObject(slicer.mesh); | ||
viewer3d.render(); | ||
size && updateMeshInfoUI(); | ||
@@ -1064,8 +1064,8 @@ var stl = 'stl/StressTest.stl'; | ||
//var stl = 'stl/SLAcer.stl'; | ||
// File url | ||
-var url = 'http://' + window.location.hostname + window.location.pathname + stl; | ||
- | ||
+// var url = 'http://' + window.location.hostname + window.location.pathname + stl; | ||
+var url = window.location.href + stl; | ||
// Create http request object | ||
var xmlhttp = new XMLHttpRequest(); | ||
View
0
js/slacer/mesh.js → src/js/slacer/mesh.js
File renamed without changes.
View
0
js/slacer/settings.js → src/js/slacer/settings.js
File renamed without changes.
View
0
js/slacer/slicer.js → src/js/slacer/slicer.js
File renamed without changes.
View
0
js/slacer/viewcontrols.js → src/js/slacer/viewcontrols.js
File renamed without changes.
View
0
js/slacer/viewer.js → src/js/slacer/viewer.js
File renamed without changes.
View
0
js/slacer/viewer2d.js → src/js/slacer/viewer2d.js
File renamed without changes.
View
0
js/slacer/viewer3d.js → src/js/slacer/viewer3d.js
File renamed without changes.
View
0
screenshot.png → src/screenshot.png
File renamed without changes
View
0
stl/Octocat-v2.stl → src/stl/Octocat-v2.stl
File renamed without changes
View
0
stl/SLAcer.stl → src/stl/SLAcer.stl
File renamed without changes
View
0
stl/StressTest.stl → src/stl/StressTest.stl
File renamed without changes
View
0
stl/cube.center.stl → src/stl/cube.center.stl
File renamed without changes
View
0
stl/cube_hole.stl → src/stl/cube_hole.stl
File renamed without changes
View
0
vendor/FileSaver.min.js → src/vendor/FileSaver.min.js
File renamed without changes.
View
0
vendor/OrbitControls.js → src/vendor/OrbitControls.js
File renamed without changes.
View
0
...colorpicker/css/bootstrap-colorpicker.css → ...colorpicker/css/bootstrap-colorpicker.css
File renamed without changes.
View
0
...rpicker/css/bootstrap-colorpicker.min.css → ...rpicker/css/bootstrap-colorpicker.min.css
File renamed without changes.
View
0
...ootstrap-colorpicker/alpha-horizontal.png → ...ootstrap-colorpicker/alpha-horizontal.png
File renamed without changes
View
0
...icker/img/bootstrap-colorpicker/alpha.png → ...icker/img/bootstrap-colorpicker/alpha.png
File renamed without changes
View
0
.../bootstrap-colorpicker/hue-horizontal.png → .../bootstrap-colorpicker/hue-horizontal.png
File renamed without changes
View
0
...rpicker/img/bootstrap-colorpicker/hue.png → ...rpicker/img/bootstrap-colorpicker/hue.png
File renamed without changes
View
0
.../img/bootstrap-colorpicker/saturation.png → .../img/bootstrap-colorpicker/saturation.png
File renamed without changes
View
0
...p-colorpicker/js/bootstrap-colorpicker.js → ...p-colorpicker/js/bootstrap-colorpicker.js
File renamed without changes.
View
0
...lorpicker/js/bootstrap-colorpicker.min.js → ...lorpicker/js/bootstrap-colorpicker.min.js
File renamed without changes.
View
0
vendor/bootstrap-slider/bootstrap-slider.js → ...ndor/bootstrap-slider/bootstrap-slider.js
File renamed without changes.
View
0
.../bootstrap-slider/bootstrap-slider.min.js → .../bootstrap-slider/bootstrap-slider.min.js
File renamed without changes.
View
0
...bootstrap-slider/css/bootstrap-slider.css → ...bootstrap-slider/css/bootstrap-slider.css
File renamed without changes.
View
0
...strap-slider/css/bootstrap-slider.min.css → ...strap-slider/css/bootstrap-slider.min.css
File renamed without changes.
View
0
vendor/bootstrap/css/bootstrap-theme.css → src/vendor/bootstrap/css/bootstrap-theme.css
File renamed without changes.
View
0
vendor/bootstrap/css/bootstrap-theme.css.map → ...dor/bootstrap/css/bootstrap-theme.css.map
File renamed without changes.
View
0
vendor/bootstrap/css/bootstrap-theme.min.css → ...dor/bootstrap/css/bootstrap-theme.min.css
File renamed without changes.
View
0
vendor/bootstrap/css/bootstrap.css → src/vendor/bootstrap/css/bootstrap.css
File renamed without changes.
View
0
vendor/bootstrap/css/bootstrap.css.map → src/vendor/bootstrap/css/bootstrap.css.map
File renamed without changes.
View
0
vendor/bootstrap/css/bootstrap.min.css → src/vendor/bootstrap/css/bootstrap.min.css
File renamed without changes.
View
0
...ap/fonts/glyphicons-halflings-regular.eot → ...ap/fonts/glyphicons-halflings-regular.eot
File renamed without changes.
View
0
...ap/fonts/glyphicons-halflings-regular.svg → ...ap/fonts/glyphicons-halflings-regular.svg
File renamed without changes.
View
0
...ap/fonts/glyphicons-halflings-regular.ttf → ...ap/fonts/glyphicons-halflings-regular.ttf
File renamed without changes.
View
0
...p/fonts/glyphicons-halflings-regular.woff → ...p/fonts/glyphicons-halflings-regular.woff
File renamed without changes.
View
0
.../fonts/glyphicons-halflings-regular.woff2 → .../fonts/glyphicons-halflings-regular.woff2
File renamed without changes.
View
0
vendor/bootstrap/js/bootstrap.js → src/vendor/bootstrap/js/bootstrap.js
File renamed without changes.
View
0
vendor/bootstrap/js/bootstrap.min.js → src/vendor/bootstrap/js/bootstrap.min.js
File renamed without changes.
View
0
vendor/bootstrap/js/npm.js → src/vendor/bootstrap/js/npm.js
File renamed without changes.
View
0
vendor/earcut.js → src/vendor/earcut.js
File renamed without changes.
View
0
vendor/jquery-2.1.4.min.js → src/vendor/jquery-2.1.4.min.js
File renamed without changes.
View
0
vendor/jquery-ui/jquery-ui.min.css → src/vendor/jquery-ui/jquery-ui.min.css
File renamed without changes.
View
0
vendor/jquery-ui/jquery-ui.min.js → src/vendor/jquery-ui/jquery-ui.min.js
File renamed without changes.
View
0
vendor/jszip.min.js → src/vendor/jszip.min.js
File renamed without changes.
View
0
vendor/libtess.min.js → src/vendor/libtess.min.js
File renamed without changes.
View
0
vendor/lodash.min.js → src/vendor/lodash.min.js
File renamed without changes.
View
0
vendor/poly2tri.min.js → src/vendor/poly2tri.min.js
File renamed without changes.
View
0
vendor/tessy.js → src/vendor/tessy.js
File renamed without changes.
View
0
vendor/three.min.js → src/vendor/three.min.js
File renamed without changes.
View
0
vendor/triangulation.js → src/vendor/triangulation.js
File renamed without changes.
View
0
vendor/triangulation/.gitignore → src/vendor/triangulation/.gitignore
File renamed without changes.
View
0
vendor/triangulation/README.md → src/vendor/triangulation/README.md
File renamed without changes.
View
0
vendor/triangulation/tessy.js → src/vendor/triangulation/tessy.js
File renamed without changes.
View
0
vendor/triangulation/triangulation.js → src/vendor/triangulation/triangulation.js
File renamed without changes.
View
0
viewer2d.html → src/viewer2d.html
File renamed without changes.