Commit Graph

534 Commits

Author SHA1 Message Date
casperlamboo
0670d54f4e fixed spelling errors 2017-06-22 13:21:07 +02:00
casperlamboo
f8d022226f added three js editor + slicer 2017-06-22 13:21:07 +02:00
casperlamboo
9aef506a4a changed format settings 2017-06-22 13:20:57 +02:00
casperlamboo
75d4d4758a Added slice abstraction to Slice class 2017-06-22 13:20:57 +02:00
casperlamboo
ccd650c533 improved index page
index page now checks if doodle boxes are alive before displaying them
2017-06-22 13:20:57 +02:00
casperlamboo
9723c2c237 improved network error handling
can now reconnect when connecting failed
2017-06-22 13:20:57 +02:00
Rick Companje
ba141a54a5 fixed typo in printer.type for ultimaker2go 2017-06-22 11:13:26 +02:00
casperlamboo
16d2468ced make variables private in GCode.js 2017-06-22 10:24:09 +02:00
casperlamboo
f4b9d565a7 clean up 2017-06-22 10:21:01 +02:00
casperlamboo
ef97f362e3 typo 2017-06-22 10:20:44 +02:00
casperlamboo
3d52fc9139 properly check for undefined 2017-06-22 10:19:15 +02:00
casperlamboo
68f1cd847d update add brim code 2017-05-26 17:35:30 +02:00
casperlamboo
8bf771b0f9 use includes instead of indexOf 2017-05-26 17:14:14 +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
5f5b1254ad re enable applying and removing precision for open shapes 2017-05-26 16:56:05 +02:00
casperlamboo
07d059d456 fix setting replace code 2017-05-19 12:34:57 +02:00
casperlamboo
721b75b1f5 Don't scale up or scale down open shapes 2017-05-19 11:56:53 +02:00
casperlamboo
e88e8804d2 always start first layer on Z0.2 2017-05-19 11:43:47 +02:00
casperlamboo
a0aec2f4ad Don't clean open shapes 2017-05-19 10:51:34 +02:00
casperlamboo
0d3ac6525c store calculation in const 2017-05-19 10:49:26 +02:00
casperlamboo
93c9040170 remove unused variable 2017-05-19 10:49:10 +02:00
casperlamboo
c5a6f3cf14 simplify getOutline function 2017-05-16 10:44:48 +02:00
casperlamboo
c9cbd1fc49 Scale down open paths 2017-05-16 10:38:40 +02:00
casperlamboo
bb213547e2 increase clean delta 2017-05-15 16:01:51 +02:00
casperlamboo
501f154569 remove unused import 2017-05-14 16:09:15 +02:00
casperlamboo
0ba712c049 update castle model 2017-05-14 13:45:21 +02:00
casperlamboo
a7a8ffa5f9 update slicer viewer 2017-05-14 12:57:55 +02:00
casperlamboo
f80ff22076 remove unused app.js 2017-05-13 15:44:41 +02:00
casperlamboo
183622e143 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	example/app.js
#	package.json
2017-05-13 15:41:46 +02:00
casperlamboo
0f10629a3c add save example 2017-05-13 15:39:45 +02:00
casperlamboo
1ec4f55c4b normalize cleanDelta with precision 2017-05-13 15:26:46 +02:00
casperlamboo
ff9ef8690a clean after simplify 2017-05-13 15:26:04 +02:00
casperlamboo
e6269bd581 fix construction of clipper paths 2017-05-13 15:25:58 +02:00
casperlamboo
229f194def replace tabs with spaces 2017-05-13 14:48:48 +02:00
Simon Voordouw
da8a54550a update dependencies and fix Three.js imports 2017-05-12 16:32:05 +02:00
casperlamboo
b7b2eff61b use simplify('pftNonZero') instead of deprecated removeOverlap function 2017-05-12 13:44:55 +02:00
casperlamboo
e9c2f653bf update three.js 2017-01-18 13:30:57 +01:00
casperlamboo
bbda9089d2 don't calculate 1 - alpha twice 2017-01-18 12:05:21 +01:00
casperlamboo
7f2b8da15f add stl loader 2016-10-16 11:10:39 +02:00
casperlamboo
0d5587a9c9 implement better viewer as example 2016-10-13 16:33:40 +02:00
casperlamboo
c34be4595a prettify 2016-10-13 14:24:53 +02:00
casperlamboo
fdff42b4a5 fix indenting 2016-10-13 14:24:12 +02:00
casperlamboo
83febd6aa0 remove enter 2016-10-13 14:22:54 +02:00
casperlamboo
45514218af rename sliceWorker to slicerWorker 2016-10-13 14:22:04 +02:00
casperlamboo
868748ee2c add all optional arguments in Shape constructor 2016-08-27 10:08:57 +02:00
casperlamboo
8d2ccc2c86 add break property to switch 2016-08-27 10:02:17 +02:00
casperlamboo
b8b13b2a6b use mapToLower to get path data 2016-08-27 10:01:50 +02:00
casperlamboo
bf2a9c512c added map to lower argument 2016-08-27 09:55:59 +02:00
casperlamboo
91fc46621f update config 2016-08-26 21:43:46 +02:00