Commit Graph

52 Commits

Author SHA1 Message Date
Alessandro Ranellucci
7bf308c08f Fix one more centering problem caused by wrong bounding box implementation 2013-06-15 15:50:02 +02:00
Alessandro Ranellucci
8e0e03247d Bugfix: ineffective scale() method in recently created BoundingBox objects caused wrong positioning for scaled objects in plater. Includes regression test. #1171 2013-06-10 15:34:45 +02:00
Alessandro Ranellucci
510c2092df Fix rotation and scaling in plater producing mispositioned objects in G-code after recent changes. Includes a large refactoring and the new Slic3r::Geometry::BoundingBox class. #1171 #1191 2013-06-07 23:16:02 +02:00
Alessandro Ranellucci
c62b49d1af Optimization of extra perimeters detection 2013-05-31 14:30:07 +02:00
Alessandro Ranellucci
c43ef45064 Require the newest Math::Clipper and Boost::Geometry::Utils to avoid the huge memory leaks present in previous versions 2013-05-20 09:56:55 +02:00
Alessandro Ranellucci
ca549cd2fe Perimeters refactoring complete 2013-05-11 21:30:26 +02:00
Alessandro Ranellucci
67b24efd49 Incomplete work - still wrong order 2013-05-11 21:05:29 +02:00
Alessandro Ranellucci
6e216e2fd9 New traverse_pt() 2013-05-11 09:24:48 +02:00
Alessandro Ranellucci
7953dcfb12 Merge branch 'better-brim'
Conflicts:
	lib/Slic3r/Geometry/Clipper.pm
	lib/Slic3r/Print.pm
2013-05-11 09:19:23 +02:00
Alessandro Ranellucci
6b8894cf9a Rename ex_int_offset2 to offset2_ex 2013-05-10 13:56:29 +02:00
Alessandro Ranellucci
993fcd9182 Revert "Smarter ordering of brim loops. #687" until new Math::Clipper is out
This reverts commit 4aad2f6243.
2013-05-10 13:51:28 +02:00
Alessandro Ranellucci
5bf3f5f5e4 Make sure brim paths don't overlap 2013-05-10 13:47:40 +02:00
Alessandro Ranellucci
4aad2f6243 Smarter ordering of brim loops. #687 2013-05-09 14:52:56 +02:00
Alessandro Ranellucci
4e6c58f749 TYpo 2013-04-18 19:49:02 +02:00
Alessandro Ranellucci
01bd9040f5 Fix syntax for ex_int_offset2() 2013-04-18 17:46:13 +02:00
Alessandro Ranellucci
1187f4846d Some Clipper optimizations 2013-03-31 19:40:25 +02:00
Alessandro Ranellucci
4c41f6c462 Safer safety_offset() for ExPolygons 2013-03-26 13:57:37 +01:00
Alessandro Ranellucci
38b79c6bf7 Merge branch 'master' into grow-narrow 2013-03-16 20:09:11 +01:00
Alessandro Ranellucci
33b40eda18 Always fix self-intersecting polygons that Douglas-Peucker might return 2013-03-16 18:42:56 +01:00
Alessandro Ranellucci
dc0f706789 Bugfix: simplification of support areas could lead to complex polygons with bad orientation, thus causing wrong pattern clipping. #1032 2013-03-14 14:27:08 +01:00
Alessandro Ranellucci
9713b9f524 Fix narrow fills growing 2013-03-13 14:55:58 +01:00
Alessandro Ranellucci
0ddd6d9e55 Require Math::Clipper 1.17 2013-01-17 11:11:22 +01:00
Mike Sheldrake
68fc91d854 offset miter limit to 3 - 801 828 836 851 875 - spikes and pimples
Was set to 10 to address 801. Setting to 3 has the same effect for 801,
and avoids spike artifacts that are likely causing "spike and pimple"
problems in the referenced issues.
2013-01-13 02:50:49 -08:00
Alessandro Ranellucci
141a8d3989 Bugfix: some holes being closed incorrectly. #858 2012-12-30 17:57:30 +01:00
Alessandro Ranellucci
fc399d60e2 Raise the miter limit to avoid squaring corners too easily. #801 2012-11-20 17:43:20 +01:00
Alessandro Ranellucci
580e36eb25 Raise offset scale factor back to 100000 now that Clipper was updated 2012-11-15 10:09:29 +01:00
Alessandro Ranellucci
d3629a3a44 Require Math::Clipper 1.15. #779 2012-11-13 11:53:02 +01:00
Alessandro Ranellucci
2e3110d2e4 Possible (or at least partial) workaround for the current Clipper segfault. #779 2012-11-07 15:23:01 +01:00
Alessandro Ranellucci
68e1edab80 Require Math::Clipper 1.14 and increase scale factor for offset(). #720 2012-11-05 00:17:46 +01:00
Alessandro Ranellucci
49916b6178 Revert 2bcac88683 by setting the scale factor manually to 1. #720 2012-10-27 22:09:22 +02:00
Mike Sheldrake
2bcac88683 Increase scale factor for Clipper::offset
A default scale of 1 was being calculated most of the time. That's too
low to avoid artifacts from offsetting concave curves. Setting scale to
a default of 100000 eliminates artifacts in the test cases in issues
#700, #702 and #703. There is a risk of large point proliferation with
this scale in combination with the JT_ROUND option, but in the four
places where that option is used, scale is already explicitly set to a
safer low value.
2012-09-27 05:50:54 -07:00
Alessandro Ranellucci
a1a4d97f9f Remove useless subroutines 2012-08-25 20:14:52 +02:00
Alessandro Ranellucci
896641cb7e Fixed regression causing some bridges not to be detected correctly. #629 2012-08-25 20:04:29 +02:00
Alessandro Ranellucci
9bfa4118a1 Bugfix: brim and skirt collision was not precisely detected when they had similar offsets. #548 2012-08-06 20:27:10 +02:00
Alessandro Ranellucci
44c636aea1 Do not oversimplify outer perimeters and keep the full resolution of the input file. #340 #462 2012-06-23 20:08:08 +02:00
Alessandro Ranellucci
94e28b9ab8 Require Math::Clipper 1.09 because it contains important bugfixes 2012-06-21 10:53:04 +02:00
Alessandro Ranellucci
a7c36846c0 Require Math::Clipper 1.07 which includes the fix for #233 2012-05-01 15:36:07 +02:00
Alessandro Ranellucci
0afb5ad9dd Bugfix: some holes were filled. #291 2012-04-02 11:40:12 +02:00
Alessandro Ranellucci
eba7c10018 Faster support generation. Includes a new implementation of the Douglas-Peucker algorithm 2012-02-25 14:46:21 +01:00
Alessandro Ranellucci
c7b650b001 Require Math::Clipper 1.03 for thread-safety 2012-01-28 16:47:03 +01:00
Alessandro Ranellucci
a86bc260e7 Bugfix: some islands having ho holes and contained in holes themselves were ignored 2011-12-24 11:01:28 +01:00
Alessandro Ranellucci
792960aae1 Slic3r should now be able to detect optimal bridging direction for any kind of bridge. #58 2011-12-02 23:35:39 +01:00
Alessandro Ranellucci
f7a9c9be63 Bugfix: sometimes holes were detected as contours 2011-12-01 20:57:38 +01:00
Alessandro Ranellucci
55f00fdb35 Little refactoring, removing useless methods 2011-11-16 10:16:01 +01:00
Alessandro Ranellucci
8f32ee8f5a Bugfix: recent changes broke the "Infill every N layers" feature 2011-11-13 21:46:32 +01:00
Alessandro Ranellucci
a13e4c6fb5 Detect membranes (solid parts generating both a bottom and a top surface on the same layers) and don't infill twice. #28 2011-11-12 11:05:32 +01:00
Alessandro Ranellucci
fec816b065 Collect undetected lines (caused by dirty or non-manifold models), warn the user, post debug info. Includes some further ExPolygon refactoring. 2011-11-11 10:21:48 +01:00
Alessandro Ranellucci
7f341cfcd3 New --fill-every-layers option to get high accuracy on external surfaces while speeding up infill 2011-10-18 15:57:53 +02:00
Alessandro Ranellucci
a65befe08c Require Math::Clipper 1.02 otherwise fail with a hard error
This is to force people to upgrade their dependencies in order to avoid their previous bugs
2011-10-11 17:56:56 +02:00
Alessandro Ranellucci
bca3abb755 More fixes. 2011-10-10 17:27:00 +02:00