Commit Graph

14 Commits

Author SHA1 Message Date
casperlamboo
ab4427e818 differentiate between open lines and closed lines for non filled paths 2017-07-28 15:02:24 +02:00
peteruithoven
f330aad040 Clipper-js dependency 2017-07-20 11:51:48 +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
94181d6660 update save example 2017-07-18 10:34:20 +02:00
casperlamboo
3d52fc9139 properly check for undefined 2017-06-22 10:19:15 +02:00
casperlamboo
8bf771b0f9 use includes instead of indexOf 2017-05-26 17:14:14 +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
7517f522d0 use single quotes 2016-05-07 23:46:08 +02:00
casperlamboo
ebbe75ef2e implement constants 2016-04-23 00:24:01 +02:00
casperlamboo
4edb1985c8 rafacter 2016-04-21 22:14:22 +02:00
casperlamboo
3db03cd873 separate into actions into different files 2016-03-29 00:26:58 +02:00