Commit Graph

671 Commits

Author SHA1 Message Date
casperlamboo
6c7c2b1708 remove printer_settings.json file 2017-07-18 14:05:25 +02:00
casperlamboo
9c04511f94 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	settings/printer_settings.json
2017-07-18 14:05:09 +02:00
casperlamboo
a5384b3de1 Merge branch 'develop' 2017-07-18 14:02:45 +02:00
casperlamboo
365680a693 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	jspm.config.js
#	package.json
2017-07-18 12:53:59 +02:00
casperlamboo
e675cf200a update readme 2017-07-18 12:43:27 +02:00
casperlamboo
1d2a9ba965 use npm version of three.js 2017-07-18 12:38:03 +02:00
casperlamboo
e54d077db0 update example 2017-07-18 12:30:56 +02:00
casperlamboo
0a041ddae0 update progress api 2017-07-18 12:26:30 +02:00
casperlamboo
4a238f9089 remove settings class 2017-07-18 11:39:38 +02:00
casperlamboo
622be82706 Merge remote-tracking branch 'origin/feature/split-settings' into develop
# Conflicts:
#	example/save.js
#	example/viewer.js
#	jspm.config.js
#	package.json
#	src/GCode.js
#	src/Slicer.js
#	src/index.js
#	src/sliceActions/addBrim.js
#	src/sliceActions/calculateLayersIntersections.js
#	src/sliceActions/createLines.js
#	src/sliceActions/detectOpenClosed.js
#	src/sliceActions/generateInfills.js
#	src/sliceActions/generateInnerLines.js
#	src/sliceActions/generateSupport.js
#	src/sliceActions/intersectionsToShapes.js
#	src/sliceActions/removePrecision.js
#	src/sliceActions/slice.js
2017-07-18 11:26:11 +02:00
casperlamboo
4e38acd9bd Merge branch 'feature/improved-open-closed-detection' into develop 2017-07-18 10:42:04 +02:00
casperlamboo
94181d6660 update save example 2017-07-18 10:34:20 +02:00
casperlamboo
0f579b8055 update detect open closed shapes logic 2017-07-18 10:23:16 +02:00
casperlamboo
b92a35a0c1 remove stl's and add json files 2017-07-18 10:22:26 +02:00
casperlamboo
8988bc4368 remove stl loader 2017-07-18 10:21:37 +02:00
casperlamboo
8b9b789c56 remove unused three js imports 2017-07-17 16:18:44 +02:00
casperlamboo
87f7f2f906 Fix geometry type check
#21
2017-07-17 15:22:13 +02:00
Rick Companje
f3c0960512 set default top thickness to 1.2 2017-07-13 18:12:45 +02:00
Rick Companje
a216ee0e94 fixed typo 'high' and added fill.gridSize:0.15 2017-07-13 17:56:57 +02:00
Rick Companje
cd3c2d8cb4 fixed typo in title of Renkforce RF100 printer 2017-07-13 15:59:07 +02:00
Rick Companje
f374139238 added custom dimensions for Renkforce printer 2017-07-12 12:54:20 +02:00
Rick Companje
8cf264b437 renamed 'title' of 'Ultimaker' to 'Ultimaker Original' 2017-07-12 10:45:20 +02:00
Simon Voordouw
cff8dfffc0 map old config names to new split settings 2017-07-11 17:19:05 +02:00
Simon Voordouw
f87a9c0a56 don't export settings object 2017-07-11 13:49:21 +02:00
Simon Voordouw
d47c8ca07b replace default settings in json with split yml files 2017-07-10 16:07:38 +02:00
peteruithoven
7a111371e9 Fixed code in readme 2017-07-07 18:11:37 +02:00
peteruithoven
94c21360b2 Added simple example 2017-07-07 18:10:29 +02:00
Simon Voordouw
dc99f417da add progress reporting 2017-07-04 14:19:07 +02:00
Peter Uithoven
b517ad222b Added version to package.json 2017-07-03 14:47:34 +02:00
Peter Uithoven
d8fdfd3e11 Fixed package.json syntax error 2017-07-03 14:45:11 +02:00
Peter Uithoven
c7f4553b4e Added name to package.json 2017-07-03 14:44:40 +02:00
Simon Voordouw
1f206e5784 remove erronous bracket 2017-06-22 14:06:26 +02:00
Simon Voordouw
3f998bd604 add low, medium and high quality setting profiles 2017-06-22 13:43:45 +02:00
casperlamboo
5fda1b3729 make variables private in GCode.js 2017-06-22 13:22:17 +02:00
casperlamboo
2284eb16fb clean up 2017-06-22 13:22:17 +02:00
casperlamboo
3e52a11a9b typo 2017-06-22 13:22:17 +02:00
casperlamboo
55b63ac8ad properly check for undefined 2017-06-22 13:22:17 +02:00
casperlamboo
b4b6e59807 update add brim code 2017-06-22 13:22:17 +02:00
casperlamboo
4825222b09 use includes instead of indexOf 2017-06-22 13:22:17 +02:00
casperlamboo
1fa98ae6de move merge vertices and compute normals to slice actions 2017-06-22 13:22:17 +02:00
casperlamboo
8b3a33eb86 Better detection of open closed shapes
when a ‘single walled’,  ‘closed’ shape is sliced the shape will appear
to be closed by the slicer. This happens because the start and endpoint
of the 2d shape are connected. This commits fixes this.

In the new approach al parts of the geometry are split up into shapes.
Then the 3d shapes are places into two categories (closed and open
geometries).

Based on weather the 3d geometry is open or closed the 2d shape will be
open or closed

@mith @peteruithoven
2017-06-22 13:22:17 +02:00
casperlamboo
4fb2caee53 re enable applying and removing precision for open shapes 2017-06-22 13:22:17 +02:00
casperlamboo
f0b23647bb fix setting replace code 2017-06-22 13:22:17 +02:00
casperlamboo
922111c3e3 Don't scale up or scale down open shapes 2017-06-22 13:22:17 +02:00
casperlamboo
04a66da688 always start first layer on Z0.2 2017-06-22 13:22:17 +02:00
casperlamboo
ca7c02c0d7 Don't clean open shapes 2017-06-22 13:22:17 +02:00
casperlamboo
ba2467b923 store calculation in const 2017-06-22 13:22:17 +02:00
casperlamboo
a14cf8448d remove unused variable 2017-06-22 13:22:17 +02:00
casperlamboo
e1336581dc simplify getOutline function 2017-06-22 13:22:17 +02:00
casperlamboo
0c1c47c0c1 Scale down open paths 2017-06-22 13:22:17 +02:00