25 Commits

Author SHA1 Message Date
Casper Lamboo
0be1ee6d51 comply with linter 2018-04-17 14:17:28 +02:00
casperlamboo
e087fadd80 cleanup 2018-02-12 17:36:07 +01:00
casperlamboo
caf5e655da calculate face normals in slice process 2018-02-12 11:41:51 +01:00
casperlamboo
ca886afa25 rename file 2018-02-12 11:13:50 +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
03f95b7570 rename vectorutils 2018-02-11 23:50:57 +01:00
casperlamboo
6a63077b55 don't use three.js in worker 2018-02-01 17:57:20 +01:00
casperlamboo
8f475195b8 clean up create lines 2018-02-01 12:23:34 +01:00
casperlamboo
d4743ef867 improve bundle size 2018-01-18 12:06:14 +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
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
0f579b8055 update detect open closed shapes logic 2017-07-18 10:23:16 +02:00
casperlamboo
f4b9d565a7 clean up 2017-06-22 10:21:01 +02:00
casperlamboo
3d52fc9139 properly check for undefined 2017-06-22 10:19:15 +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
Simon Voordouw
da8a54550a update dependencies and fix Three.js imports 2017-05-12 16:32:05 +02:00
casperlamboo
e9c2f653bf update three.js 2017-01-18 13:30:57 +01:00
casperlamboo
4237195b5e update create lines 2016-05-06 19:45:03 +02:00
casperlamboo
bd910a270c geplakt var with const or let in createLines 2016-03-29 09:53:48 +02:00
casperlamboo
e573a0662b move adeline to separate file 2016-03-29 08:15:30 +02:00
casperlamboo
3531d64dbf use s6 string 2016-03-29 08:01:07 +02:00
casperlamboo
3db03cd873 separate into actions into different files 2016-03-29 00:26:58 +02:00