30 Commits

Author SHA1 Message Date
Casper Lamboo
cd8687d148 fix filled shapes 2018-03-06 17:35:03 +01:00
Casper Lamboo
e056b37677 rename vars 2018-03-06 17:26:32 +01:00
Casper Lamboo
8bb97527f4 Fix incorrect order of points
#41
2018-03-06 17:01:52 +01:00
Casper Lamboo
16e6e11e2f Fix ignored last line 2018-03-06 12:41:00 +01:00
Casper Lamboo
3d308e2533 fix intersections to shapes step 2018-02-19 13:53:18 +01:00
casperlamboo
120b49dfb7 fix some edge cases in intersections to shapes 2018-02-13 16:37:50 +01:00
casperlamboo
e087fadd80 cleanup 2018-02-12 17:36:07 +01:00
casperlamboo
ca886afa25 rename file 2018-02-12 11:13:50 +01:00
casperlamboo
4352293e95 don't combine layerpoints and layer face indexes into objects 2018-02-12 00:36:05 +01:00
casperlamboo
03f95b7570 rename vectorutils 2018-02-11 23:50:57 +01:00
casperlamboo
0ef85cc918 fix intersecties to shapes code 2018-02-01 16:13:04 +01:00
casperlamboo
aad4c1564c can connect to both start and end in one cycle 2018-02-01 14:39:14 +01:00
casperlamboo
64d28affe6 improve intersections to shapes step
#36
2018-02-01 12:11:57 +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
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