Commit Graph

52 Commits

Author SHA1 Message Date
Alessandro Ranellucci
46e3b3180e Ported Surface->offset() to XS 2013-11-23 18:29:25 +01:00
Alessandro Ranellucci
a331f4d27a Finished porting group() to XS 2013-11-23 18:15:59 +01:00
Alessandro Ranellucci
878d587196 Ported is_solid() and is_bridge() to XS. Also ported (but not used yet) group() to SurfaceCollection::group() 2013-11-23 00:07:04 +01:00
Alessandro Ranellucci
518798beb3 Incomplete work for porting simplify() to XS 2013-11-21 20:25:24 +01:00
Alessandro Ranellucci
5f81292f3f Ported encloses_point() to XS and renamed to contains_point() 2013-11-21 16:21:42 +01:00
Alessandro Ranellucci
85011dfef3 Ported Surface->p 2013-08-26 23:03:00 +02:00
Alessandro Ranellucci
c7b6818ccf Ported offset() and offset2() 2013-07-17 00:48:29 +02:00
Alessandro Ranellucci
898007fc36 Port offset_ex() and offset2_ex() to XS 2013-07-16 20:09:53 +02:00
Alessandro Ranellucci
9b582a11ff Adopt XS containers everywhere (incomplete work) 2013-07-16 09:49:34 +02:00
Alessandro Ranellucci
399bc80899 Ported Slic3r::Surface to XS 2013-07-14 13:05:55 +02:00
Alessandro Ranellucci
a1e4bda670 Have Clipper.pm only return ExPolygon::XS objects 2013-07-07 15:17:09 +02:00
Alessandro Ranellucci
5beb2187d3 Bugfix: infill direction wasn't correctly alternated when infilling every 2 layers. #1068 2013-03-29 19:24:08 +01:00
Alessandro Ranellucci
1b79b1cb20 Refactoring: use the clone() method for inflating Surface objects 2013-03-29 19:18:06 +01:00
Alessandro Ranellucci
8d2c651ef2 $surface->thickness was erroneously defaulting to 1 mm 2013-03-17 14:58:10 +01:00
Alessandro Ranellucci
1064c9bb2a Merge branch 'master' into grow-narrow
Conflicts:
	lib/Slic3r/Fill.pm
	lib/Slic3r/Print/Object.pm
2013-03-17 02:30:20 +01:00
Alessandro Ranellucci
83065b0789 Bugfix: wrong flow and bad pattern rotation when infill-every-layers was set to an arbitrary high value 2013-03-17 01:10:40 +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
f528088d31 Merge branch 'master' into grow-narrow 2013-03-13 16:39:57 +01:00
Alessandro Ranellucci
0feef890b1 Use Class::XSAccessor 2013-03-13 01:29:45 +01:00
Alessandro Ranellucci
d9b82c79da Grow narrow infill regions into void - to be tested more 2013-03-13 01:03:54 +01:00
Alessandro Ranellucci
b7945ac790 Finished new extra perimeters implementation 2013-03-11 14:23:16 +01:00
Alessandro Ranellucci
36d24ccb0b Infill refactoring and cleanup complete 2013-03-07 15:47:32 +01:00
Alessandro Ranellucci
bf9fe1b505 Bugfix: internal bridge surfaces were incorrectly merged with other internal solid surfaces, causing suboptimal results 2013-02-27 01:30:32 +01:00
Alessandro Ranellucci
08a72c0824 Use bridge math for the first solid infill layer above sparse infill. #240 2013-02-23 21:39:13 +01:00
Alessandro Ranellucci
144a704e3b Remove all id() and ordered_id() methods 2012-07-22 21:00:02 +02:00
Alessandro Ranellucci
882a022e3a Even more constants, less memory, more speed 2012-05-19 16:04:33 +02:00
Alessandro Ranellucci
edbdc5ec55 New automatic detection of additional required perimeters for better quality with domes and sloping walls. #198 2012-05-05 16:36:10 +02:00
Alessandro Ranellucci
08efb15f4d Further memory savings 2012-05-01 11:32:22 +02:00
Alessandro Ranellucci
0deee20ade Bugfix: bad syntax in last commit. #202 2012-02-13 18:02:54 +01:00
Alessandro Ranellucci
dbb40095b7 Bugfix: fatal error when offsetting a surface results in more than one expolygon. #201 2012-02-12 23:44:24 +01:00
Alessandro Ranellucci
ad8c9d4ea1 Bugfix: model with rounded walls had small useless infill regions. #177 2012-02-10 14:42:54 +01:00
Alessandro Ranellucci
90d10b24a8 Fill gaps using medial axis detection 2012-01-12 22:05:35 +01:00
Alessandro Ranellucci
8ed91a8ec4 Very large refactoring. Ditched Slic3r::Polyline::Closed and reorganized geometric classes. 2011-12-30 19:59:51 +01:00
Alessandro Ranellucci
4fe340cc56 Many fixes to the bridge direction detection algorithm and other things. #58 2011-12-03 18:31:31 +01:00
Alessandro Ranellucci
b03afc7f1c Bugfix: some bridges were not detected correctly. #57 2011-11-30 20:32:28 +01:00
Alessandro Ranellucci
2970e31540 Bugfix: some bridges being very close could lead to overlapping infill 2011-11-29 11:36:52 +01:00
Alessandro Ranellucci
951778439a Bugfix: recent changes broke the "infill every layers" option which didn't alternate infill direction correctly. #70 2011-11-26 15:21:15 +01:00
Alessandro Ranellucci
8598b66b0a Large refactoring. Cleaner logic, smaller memory footprint. 2011-11-23 12:29:27 +01:00
Alessandro Ranellucci
13ef24b5eb Fixes, improvements and refactoring for bridges and solid surfaces. 2011-11-23 09:49:39 +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
5090ae561c Refactored Perimeter code with new Slic3r::Polygon and Slic3r::ExPolygon objects
Large refactoring. Speed gains. Removed convex hull for bridges.
2011-10-15 21:14:13 +02:00
Alessandro Ranellucci
743f2abcf2 Detection of optimal infill direction for bridges. Includes many fixes and improvements. 2011-10-07 19:07:57 +02:00
Alessandro Ranellucci
bfd1d0e1dd Got rid of Math::Geometry::Planar 2011-10-06 12:39:58 +02:00
Alessandro Ranellucci
b61b543243 Minor cleanups 2011-09-26 19:53:01 +02:00
Alessandro Ranellucci
03341f3485 Multiple solid layers near external surfaces 2011-09-25 22:11:56 +02:00
Alessandro Ranellucci
18c7aef1a7 Lots of changes and refactoring after testing with hollow objects 2011-09-18 19:28:12 +02:00
Alessandro Ranellucci
26b05ab155 Replaced Moose with Moo => big performance boost and easier packaging 2011-09-06 11:50:43 +02:00
Alessandro Ranellucci
9e111d0a6d Rectilinear fill 2011-09-05 12:21:27 +02:00
Alessandro Ranellucci
428006264d Generate boundaries of areas to fill (includes some refactoring) 2011-09-04 12:04:01 +02:00