33 Commits

Author SHA1 Message Date
Casper Lamboo
6c8b8e9d44 implement new combing 2018-05-02 15:12:45 +02:00
Casper Lamboo
0be1ee6d51 comply with linter 2018-04-17 14:17:28 +02:00
Casper Lamboo
6be1291923 cleanup 2018-04-03 11:38:49 +02:00
Casper Lamboo
701d736cc0 store gcode as blob instead of string
Less prone to crashing
2018-04-03 11:38:40 +02:00
Casper Lamboo
b29198edd4 fix rounding errors
#38
2018-03-06 17:16:33 +01:00
casperlamboo
dbc01167e5 fix line preview 2018-02-12 11:07:06 +01:00
casperlamboo
4352293e95 don't combine layerpoints and layer face indexes into objects 2018-02-12 00:36:05 +01:00
casperlamboo
4b17325c3f don't send instance of geometry to slicer
making importing three obsolete, reducing te worker from 700kb to 200kb
2018-02-12 00:10:44 +01:00
casperlamboo
5944153de7 disable line priview 2018-02-11 23:28:25 +01:00
casperlamboo
bc06f703ac move casting to string in slice.js 2018-02-01 18:13:55 +01:00
casperlamboo
d4743ef867 improve bundle size 2018-01-18 12:06:14 +01:00
casperlamboo
10fb3714c7 add support for start and end code 2018-01-15 13:44:59 +01:00
casperlamboo
a4d8e255cc mesh now slices geometry again
No need for doodle3d-core import
2017-12-19 12:38:58 +01:00
casperlamboo
b85781620e Slicer now slices d3sketch files instead of stl's
Easier to differentiate between open and closed shapes
2017-12-18 16:37:03 +01:00
casperlamboo
6b84572931 use three as modules 2017-12-06 11:54:09 +01:00
casperlamboo
65d44db405 Make changes to UI 2017-12-04 15:08:29 +01:00
casperlamboo
245e1b705a construct geometry in worker 2017-11-12 11:53:45 +01:00
casperlamboo
cb61566c08 update comb code 2017-08-24 10:55:36 +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
c390cc335a increase total stages because step is added 2017-07-19 17:37:40 +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
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
0f579b8055 update detect open closed shapes logic 2017-07-18 10:23:16 +02:00
Simon Voordouw
dc99f417da add progress reporting 2017-07-04 14:19:07 +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
e457994496 implement async slicing 2017-06-22 13:21:18 +02:00
casperlamboo
d92f6bb056 move merge vertices and compute normals to slice actions 2017-05-26 17:12:01 +02:00
casperlamboo
846ddcd97a 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-05-26 17:11:38 +02:00
casperlamboo
bf9d98611a implement async slicing 2016-08-19 14:46:02 +02:00