Commit Graph

399 Commits

Author SHA1 Message Date
casperlamboo
740d9d53ca fix combing 2017-08-25 15:35:38 +02:00
casperlamboo
cb61566c08 update comb code 2017-08-24 10:55:36 +02:00
casperlamboo
1afbe54dc7 update combing 2017-08-17 16:13:21 +02:00
casperlamboo
65472890eb basic implementation of comb 2017-08-11 18:54:04 +02:00
casperlamboo
4ededa4dfe add duration and filament usage 2017-08-03 00:17:34 +02:00
casperlamboo
9363fe58af actually edit parts array 2017-08-01 14:24:15 +02:00
casperlamboo
b566a387c6 remove parts that don't contain shells 2017-08-01 13:58:44 +02:00
casperlamboo
ab4427e818 differentiate between open lines and closed lines for non filled paths 2017-07-28 15:02:24 +02:00
casperlamboo
53bd335d7f fix settings 2017-07-28 12:17:40 +02:00
casperlamboo
72db7105fb combine interlines and outline into shell 2017-07-28 12:13:53 +02:00
casperlamboo
d380db1d7a remove log 2017-07-28 11:21:51 +02:00
casperlamboo
39f29eb489 separate inner fill and outer fill 2017-07-28 11:05:48 +02:00
casperlamboo
9805991d9f use new settings
#25
2017-07-27 18:33:25 +02:00
casperlamboo
bcf62c71ec remove settings from gcode class 2017-07-27 18:20:08 +02:00
casperlamboo
34f6a91db9 remove unnecessary check 2017-07-27 14:48:15 +02:00
casperlamboo
bcfbe99579 remove overlap setting 2017-07-27 12:42:14 +02:00
casperlamboo
ccc88bdb77 pre calculate bounding boxes 2017-07-27 10:35:30 +02:00
casperlamboo
4304f7373d add comment
@peteruithoven I was wrong about the less then :(
2017-07-25 14:36:26 +02:00
casperlamboo
2304560a13 Revert "Fix generate inner lines"
This reverts commit b62e3b5cb8.
2017-07-25 14:34:12 +02:00
casperlamboo
b62e3b5cb8 Fix generate inner lines
Use correct number of shells
2017-07-25 14:19:26 +02:00
peteruithoven
b366861326 Merge branch 'babel' into develop 2017-07-24 15:52:27 +02:00
casperlamboo
0ad8de8c80 simplify code 2017-07-24 15:45:18 +02:00
casperlamboo
4a61164af9 Terminate web worker on error 2017-07-24 15:40:54 +02:00
casperlamboo
cb465b9eee Throw error when provided mesh is empty
@peteruithoven
2017-07-24 15:40:39 +02:00
casperlamboo
8b475d8e4b typo 2017-07-24 13:01:22 +02:00
peteruithoven
0f4434330b Lowercasing slicer.js 2017-07-20 16:25:02 +02:00
peteruithoven
541d205a2f Merge branch 'develop' into babel 2017-07-20 16:24:14 +02:00
peteruithoven
fa1ae069bf Removing jspm specific loader specification 2017-07-20 11:54:49 +02:00
peteruithoven
f330aad040 Clipper-js dependency 2017-07-20 11:51:48 +02:00
peteruithoven
02b1f080fb Assumming package user configured loaders 2017-07-20 11:34:47 +02:00
casperlamboo
30645f634a Updated API
@peteruithoven @mith

I think this is a somewhat nicer API for the slicer. I completely
removed the Slicer class and instead added two function: sliceGeometry
and sliceMesh
2017-07-20 10:29:33 +02:00
casperlamboo
0564f3e7bc fix onProgress handling in slice function 2017-07-20 00:06:19 +02:00
casperlamboo
a79308dc8f better error handling 2017-07-20 00:05:50 +02:00
casperlamboo
d7a525f75b camel casing 2017-07-19 20:54:39 +02:00
casperlamboo
e4880106f1 remove progress promise
@mith @peteruithoven
2017-07-19 20:54:21 +02:00
casperlamboo
c390cc335a increase total stages because step is added 2017-07-19 17:37:40 +02:00
casperlamboo
8c57e16998 cleanup Slicer 2017-07-19 17:36:20 +02:00
casperlamboo
3f140d7f03 don't catch result of void detectOpenClosed function 2017-07-19 17:36:03 +02:00
casperlamboo
8e45881a45 pre calculate outer lines 2017-07-19 17:33:55 +02:00
casperlamboo
44197dd5e4 remove unnecessary new key word 2017-07-19 11:50:23 +02:00
casperlamboo
fdbb1469ee format settings deconstructing 2017-07-19 11:04:13 +02:00
casperlamboo
3b4dbc0d4a fix settings deconstructing 2017-07-19 11:03:16 +02:00
casperlamboo
1e16c741a0 move helper classes to helper folder 2017-07-19 11:02:42 +02:00
casperlamboo
73f0433e00 wrap progress in object
So data could be extended in the future
2017-07-19 11:02:14 +02:00
casperlamboo
83f543b62b fix isFlat check 2017-07-18 16:55:27 +02:00
casperlamboo
1d2a9ba965 use npm version of three.js 2017-07-18 12:38:03 +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
94181d6660 update save example 2017-07-18 10:34:20 +02:00