31 Commits

Author SHA1 Message Date
Benjamin Landers
a1f304541b Added perl implementaions to Geometry.cpp 2018-07-25 15:13:20 -05:00
Alessandro Ranellucci
5f038e85ef Removed warning about unused variables 2017-05-26 20:57:42 +02:00
Alessandro Ranellucci
91e7ef7a66 Improve bridge detection algorithm. #2477 2017-04-03 20:50:18 +02:00
Alessandro Ranellucci
a301e6afa4 Removed two extra lines left in previous commit 2017-03-20 22:37:42 +01:00
Alessandro Ranellucci
9ad1360e44 Bugfix: when the Voronoi diagram contained very large coordinates we need to check whether they are greater than our allowed range and consider the Voronoi edges infinite in those cases, in order to prevent overflows. #3776 2017-03-20 22:22:38 +01:00
Alessandro Ranellucci
357b6bbd55 Minor changes to MedialAxis code 2016-12-21 19:48:39 +01:00
Alessandro Ranellucci
a881f755a1 New Rectilinear implementation based on @bubnikv's work. Faster, more robust, follows perimeters better, makes more continuous lines. Also includes the new Triangles, Stars, Cubic patterns. Line pattern was removed 2016-12-12 01:38:48 +01:00
Alessandro Ranellucci
f16aaeafba Fixed minor compilation warnings 2016-12-01 19:35:46 +01:00
bubnikv
a5135f4369 Hopefully a fix of https://github.com/prusa3d/Slic3r/issues/11
Replaced eval { die } construct with a bool return value indicating
success or failure of an automatic arrangement of parts on the print bed.

Don't know exactly what is happening here, but throwing a "die" inside
a XS function and then catching it inside an eval {} block is suspcious.

Conflicts:

	xs/src/libslic3r/Geometry.cpp
	xs/src/libslic3r/Geometry.hpp
2016-11-24 16:33:13 +01:00
bubnikv
f3e0efa4fe Debugging visualization of the gap fills into a SVG format, if SLIC3R_DEBUG is set. 2016-11-23 21:30:11 +01:00
Alessandro Ranellucci
9fcd7f38de Refactored Clipper wrapper functions 2016-11-21 18:30:35 +01:00
Alessandro Ranellucci
9e8022f6f6 More refactoring to medial axis and gap fill, more robust 2016-05-20 17:03:57 +02:00
Alessandro Ranellucci
7041bb5bd9 Rewritten the medial axis algorithm, now more robust (don't just prune MAT from endpoints, but validate all single edges) 2016-03-26 01:45:08 +01:00
Alessandro Ranellucci
6dc42ee902 Variable-width gap fill. Yay! #2960 2016-03-19 19:20:04 +01:00
Alessandro Ranellucci
21364b7cd1 Fix one regression in arrange 2015-12-14 00:15:26 +01:00
Alessandro Ranellucci
c0248dea8c Bugfix: missing include assert.h #3155 2015-12-11 21:36:51 +01:00
Alessandro Ranellucci
1bebe6097b Make test happy 2015-12-02 19:39:16 +01:00
Alessandro Ranellucci
ed75219215 Ported mode Model methods to XS 2015-12-02 18:06:18 +01:00
Alessandro Ranellucci
dfce3a3138 Ported _arrange() and arrange_object() to XS 2015-12-01 21:51:16 +01:00
Alessandro Ranellucci
539cde8d7a Raise the thickness threshold used for generating thin walls. TODO: don't enforce this at the segment level but consider the average thickness of an entire polyline and compare it to the total length. #2910 2015-06-15 17:00:10 +02:00
Alessandro Ranellucci
31e0fc7f17 Fixes and improvements to thin wall detection. #2829 2015-05-22 01:46:01 +02:00
Alessandro Ranellucci
97211f35e7 More robust medial axis pruning. #2800 2015-05-13 20:50:30 +02:00
Alessandro Ranellucci
d6d7880507 Ported Slic3r::Geometry::arrange() to C++/XS 2015-04-29 19:19:07 +02:00
Alessandro Ranellucci
e2b1b52679 Added a new Slic3r::Geometry::simplify_polygons() function 2015-01-30 18:33:20 +01:00
Alessandro Ranellucci
8791f5a493 Cleanup of some method signatures and of XS return types 2015-01-19 18:53:04 +01:00
Alessandro Ranellucci
d8be67c28b Bugfix: Douglas-Peucker used perpendicular distance instead of shortest distance, thus clipping more than it should. #2474 2015-01-03 15:03:53 +01:00
Alessandro Ranellucci
634bc09e2c Refactoring: renamed all contains_*() methods to contains() in C++ 2014-11-23 20:14:13 +01:00
Alessandro Ranellucci
379cde30e2 Ported Slic3r::BridgeDetector to XS 2014-11-15 22:41:22 +01:00
Alessandro Ranellucci
bad0bd8520 Ported Print::validate() to XS 2014-11-09 15:27:34 +01:00
Alessandro Ranellucci
3e4c572164 Ported some methods including add_model_object() and apply_config() to XS 2014-11-09 12:25:59 +01:00
Alessandro Ranellucci
6adc3477c9 Moved C++ code into new libslic3r directory 2014-08-03 19:42:29 +02:00