Commit Graph

406 Commits

Author SHA1 Message Date
Henrik Brix Andersen
c02c2d943c Merge remote-tracking branch 'upstream/master' 2012-02-18 22:42:08 +01:00
Henrik Brix Andersen
c20fd8a596 Use SI units consistently. 2012-02-18 22:36:13 +01:00
Alessandro Ranellucci
a9e7204fc6 New slicing algorithm based on a topological approach rather than numeric. It should be much more robust 2012-02-18 20:36:14 +01:00
Alessandro Ranellucci
16850b63ed Removed some useless and manifoldness warnings 2012-02-17 16:31:39 +01:00
Alessandro Ranellucci
94c1b043e3 Small fix/improvement for the vertex indexing 2012-02-17 14:58:13 +01:00
Alessandro Ranellucci
f814ccf062 Refactoring: use indexed vertices 2012-02-17 13:56:17 +01:00
Henrik Brix Andersen
80bd434e5e Remove last remains of close-after-slicing option. 2012-02-16 22:52:57 +01:00
Alessandro Ranellucci
660eedfa5b Added a couple unit tests 2012-02-15 12:04:10 +01:00
Alessandro Ranellucci
68f001a7de Mark acceleration settings as experimental and add a M501 command at the end of the print if acceleration control is enabled 2012-02-14 21:57:53 +01: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
ca704c4846 Merge pull request #200 from jreinhardt/master
Small GUI fix
2012-02-12 14:35:03 -08:00
Alessandro Ranellucci
419b94e587 Allow Unicode characters in config.ini. #199 2012-02-12 23:33:39 +01:00
Johannes Reinhardt
2b979fb14c added missing units in GUI 2012-02-12 22:42:03 +01:00
Alessandro Ranellucci
74c71b4ef2 Acceleration control. #185 2012-02-10 14:53:44 +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
7893480fd7 Add checkbox for G0 in the GUI. #51 2012-02-06 21:17:01 +01:00
Alessandro Ranellucci
ddb0330fc1 Validate configuration before saving from GUI 2012-02-06 16:52:11 +01:00
Henrik Brix Andersen
121895d3fc Add support for notes field in configuration profiles. #130 2012-02-05 20:55:17 +01:00
Henrik Brix Andersen
4dd33c6b05 Ask for confirmation when slicing more than one copy. #165 2012-02-05 16:43:44 +01:00
Henrik Brix Andersen
cc040df42a Do not display the progress dialog as an application-wide modal dialog; modal to the parent window is enough. #189 2012-02-05 14:23:15 +01:00
Henrik Brix Andersen
cec660c263 Fallback on last used config path if no last skein path is set and vice versa. 2012-02-03 20:22:45 +01:00
Henrik Brix Andersen
b4dc299be0 Use separate variables for last used config directory and last used skein directory. #187 2012-02-03 19:57:49 +01:00
Henrik Brix Andersen
35be7f013b Add Growl support. #62 2012-02-03 00:30:35 +01:00
Alessandro Ranellucci
3e65af7457 Revert "New First layer flow ratio option. #182"
This reverts commit 99ef0865bb.
2012-01-30 14:51:05 +01:00
Alessandro Ranellucci
99ef0865bb New First layer flow ratio option. #182 2012-01-30 14:25:14 +01:00
Alessandro Ranellucci
eb33c03926 Bugfix: flow wasn't adjusted for first layer according to its height setting. #182 2012-01-30 14:03:12 +01:00
Alessandro Ranellucci
4a9672bd88 Use about 40% less memory 2012-01-28 21:52:31 +01:00
Alessandro Ranellucci
c7b650b001 Require Math::Clipper 1.03 for thread-safety 2012-01-28 16:47:03 +01:00
Alessandro Ranellucci
8b777e9d70 Multithreaded infill. #154 2012-01-28 16:27:52 +01:00
Alessandro Ranellucci
669341cd11 New utility script to split STL plates into individual STL files 2012-01-28 15:05:42 +01:00
Alessandro Ranellucci
2151457d9e Bugfix: small perimeter speed was applied to all holes too, regardless of their size. #175 2012-01-27 14:43:12 +01:00
Alessandro Ranellucci
4ade11b26e Some minor fixes related to polyline refactoring 2012-01-27 14:29:06 +01:00
Alessandro Ranellucci
5bc3f2cfa5 Allow portability of config files between Unix and Windows 2012-01-22 20:10:23 +01:00
Alessandro Ranellucci
debdd164e2 Bugfix: fatal error and warnings removed when cleaning some dirty layers 2012-01-21 18:44:24 +01:00
Alessandro Ranellucci
00c6287488 Bugfix: fill escapes perimeters. #139 2012-01-21 17:11:14 +01:00
Alessandro Ranellucci
a4194554c9 Write single wall width (extrusion width) to the G-code file 2012-01-21 17:02:55 +01:00
Alessandro Ranellucci
331ede52b8 Do all shells for a hole before moving onto the next one. #88 2012-01-21 16:35:33 +01:00
Alessandro Ranellucci
63972a3a35 Some more overlap 2012-01-21 16:35:23 +01:00
Alessandro Ranellucci
7636b67871 Fix comments in Perimeter.pm 2012-01-21 12:00:12 +01:00
Alessandro Ranellucci
f1b1454b36 Loops were not closing well 2012-01-21 11:51:31 +01:00
Alessandro Ranellucci
0e23f20df1 Poor overlap between perimeters and infill 2012-01-21 11:48:03 +01:00
Alessandro Ranellucci
a0ebee2ca3 Warn if no layers were detected 2012-01-21 11:34:03 +01:00
Alessandro Ranellucci
c5b6787a19 Print the number of bogus holes to debug output 2012-01-21 11:24:26 +01:00
Alessandro Ranellucci
92cdaf2f2d Retract at end of print 2012-01-20 14:48:51 +01:00
Alessandro Ranellucci
d1ad02cc71 Removed one more fatal error caused by recent refactoring 2012-01-18 19:28:49 +01:00
Alessandro Ranellucci
bba91fc0a5 Some better debug messages and a note about self-intersecting polygons. #160 2012-01-18 18:59:34 +01:00
Alessandro Ranellucci
478775ef1c Add checkbox to GUI to enable G-code comments 2012-01-18 10:46:39 +01:00
Alessandro Ranellucci
f419cf37d1 Use solid print speed for internal solid layers too. #167 2012-01-18 10:07:42 +01:00
Alessandro Ranellucci
59cd027a68 Temporarily disable small gap filling as it requires a fix not to slow down everything 2012-01-13 18:24:08 +01:00
Alessandro Ranellucci
90d10b24a8 Fill gaps using medial axis detection 2012-01-12 22:05:35 +01:00
Alessandro Ranellucci
a3a9cf5749 Yet other things not changed when refactored. #163 2012-01-12 10:48:18 +01:00
Alessandro Ranellucci
b605381132 Bugfix: more errors in infills after refactoring. #162 2012-01-11 23:19:56 +01:00
Alessandro Ranellucci
8735ac3c57 Bridges now have higher priority than other solid surfaces. #140 2012-01-11 23:16:09 +01:00
Alessandro Ranellucci
5fefcc0dc4 More fixes after refactoring 2012-01-11 23:14:59 +01:00
Alessandro Ranellucci
468f09d3c1 Bugfix: small surfaces where still infilled even with fill_density = 0 2012-01-11 22:38:06 +01:00
Alessandro Ranellucci
0184b0f205 Fixed many little things that were not updated along with recent large refactoring. #157 #144 2012-01-11 20:13:26 +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
2def6a9787 Bugfix: medial axis code threw fatal errors sometimes 2011-12-30 18:58:27 +01:00
Alessandro Ranellucci
4b2bd7f779 Bugfix: wrong month number in output 2011-12-30 18:57:58 +01:00
Alessandro Ranellucci
f08ebe97b2 Bugfix: fatal error for some models and thin walls not considered for skirt 2011-12-30 18:51:48 +01:00
Alessandro Ranellucci
1c7564e4a4 Thin walls. #24 2011-12-30 17:17:37 +01:00
Alessandro Ranellucci
62ee79f0c9 Remember last config file path when loaded from CLI too 2011-12-26 19:45:01 +01:00
Alessandro Ranellucci
d6dcb35237 Remember the filename and path of the last config file loaded, to use as default for saving 2011-12-26 19:06:57 +01:00
Alessandro Ranellucci
f9446b9c6e Cleanup the --output-filename-format implementation. #53 #137 2011-12-26 17:25:13 +01:00
Clarence Risher
1071b556cb second draft implementation of output_filename_format 2011-12-26 04:20:45 -05:00
Alessandro Ranellucci
342823fdf3 Bugfix: fatal error in arc detection code. #133 2011-12-25 13:01:48 +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
ab0300bb70 Bugfix for recent solid infill adjustment math, to take float math into account 2011-12-22 18:55:18 +01:00
Alessandro Ranellucci
75cbe879b7 New "Slice and save as..." command to specify output filename. #53 2011-12-22 17:38:37 +01:00
Alessandro Ranellucci
1cc28844a5 Merge pull request #131 from sparr/master
this fixes a bug with arc lengths as discussed on IRC, including two unit tests
2011-12-22 03:16:16 -08:00
Clarence Risher
a81e8c4afc correct length calculation for clockwise arcs 2011-12-22 06:10:54 -05:00
Alessandro Ranellucci
55045e0437 Limit skirt height to the print height. #128 2011-12-22 11:57:26 +01:00
Alessandro Ranellucci
98a8c64ed7 Extended (and fixed) unit testing to track down (and fix) an issue caused by floating point math that reversed some holes into contours when they should actually be ignored 2011-12-22 11:24:46 +01:00
Alessandro Ranellucci
fbea5dae8f Bugfix: consider holes when searching for supporting surfaces 2011-12-20 22:37:59 +01:00
Alessandro Ranellucci
caf41f07dd Output required filament length and volume to command line and to the gcode file itself 2011-12-20 15:29:15 +01:00
Alessandro Ranellucci
627e1b32e2 Add Slic3r version to gcode comment 2011-12-20 14:20:39 +01:00
Alessandro Ranellucci
5e850557d4 Added note to self about using the skeletonization algorithm to fill small gaps 2011-12-19 13:00:42 +01:00
Alessandro Ranellucci
e2a5c2119f Bugfix: some holes were skipped 2011-12-19 12:09:14 +01:00
Alessandro Ranellucci
4af295bce3 Bugfix: very wrong infill for low density regions. #127 2011-12-19 09:55:03 +01:00
Alessandro Ranellucci
65a018f156 Move the parsing warning to the end, so that it won't block slicing 2011-12-18 13:43:31 +01:00
Alessandro Ranellucci
f20209ce01 Add spacing between adjacent surfaces to avoid mini blobs 2011-12-18 13:38:45 +01:00
Alessandro Ranellucci
e5619ee543 Bugfix: not all paths were closed correctly due to float rounding 2011-12-18 11:53:15 +01:00
Alessandro Ranellucci
47bbe18de2 Additional check to return a friendly error when binary STL is not valid 2011-12-18 10:50:55 +01:00
Alessandro Ranellucci
eca6d0b6d0 Adjust flow for solid surfaces when using concentric infill too. #120 2011-12-17 20:29:06 +01:00
Alessandro Ranellucci
6a3eeef83b Removed warnings for concentric infill. #121 2011-12-17 19:59:31 +01:00
Alessandro Ranellucci
f73febff7a Always start concentric infill from the center. #120 2011-12-17 19:56:56 +01:00
Alessandro Ranellucci
d63eabcfa5 Clip less from loops to avoid gaps 2011-12-17 19:54:35 +01:00
Alessandro Ranellucci
1e6ecd9eab Corrections to math. Threads are not always rectangles with semicircles. Better calculation of overlap. 2011-12-17 19:52:34 +01:00
Alessandro Ranellucci
cd0fd80a69 Restore better perimeter/infill overlap for solid surfaces 2011-12-16 18:37:43 +01:00
Alessandro Ranellucci
8e04d763f4 Don't increase flow for overlapping purposes when bridging 2011-12-16 10:53:22 +01:00
Alessandro Ranellucci
f5eb4f03e1 Skirt can be disabled by either setting skirts to 0 or skirt-height to 0 2011-12-16 09:55:13 +01:00
Alessandro Ranellucci
172253cfd7 Always use rectilinear infill for internal-solid surfaces 2011-12-15 22:05:15 +01:00
Alessandro Ranellucci
8e06a4f6f2 Bugfix: fatal error when using concentric infill 2011-12-15 21:46:29 +01:00
Alessandro Ranellucci
b422537cc4 Bugfix: do not die when no layers are detected at all 2011-12-15 20:36:46 +01:00
Alessandro Ranellucci
18cfc15ead Restored a little overlap between perimeters and infill (we're only explicitely overlapping in the direction of infill lines, because side overlap is handled by the flow logic in Extruder.pm) 2011-12-15 20:21:34 +01:00
Alessandro Ranellucci
2e013e72e8 Bugfix: models located very far from XYZ origin were incorrectly placed on the print area 2011-12-15 19:40:32 +01:00
Alessandro Ranellucci
40d06a6e11 Erorr in last commit about automatic extrusion width. #112 2011-12-15 12:50:02 +01:00
Alessandro Ranellucci
156a1deb0a Limit automatic extrusion width to be <= 1.2 * nozzle_diameter (Triffid's way). #112 2011-12-15 09:33:42 +01:00
Alessandro Ranellucci
d346bc02cc Comments are now disabled by default, new --gcode-comments option to enable them 2011-12-14 19:49:21 +01:00
Alessandro Ranellucci
3d213069a6 Bugfix: 100% overlap between perimeter and infill. #118 2011-12-14 19:40:18 +01:00
Alessandro Ranellucci
b9d01a32e5 Merge branch 'new-math' 2011-12-14 16:12:05 +01:00
Alessandro Ranellucci
048f7ca468 Adjusted flow width for solid infills was ignored 2011-12-14 11:35:19 +01:00
Alessandro Ranellucci
4bee1a12b8 Take overlap into account for external dimensions 2011-12-14 11:21:43 +01:00
Alessandro Ranellucci
ca5dfc05e7 Accept STL files with spaces at the end of vertex lines. #119 2011-12-14 10:29:08 +01:00
Alessandro Ranellucci
569e737ae1 Only connect infill edges when not doing solid surfaces 2011-12-13 17:36:03 +01:00
Alessandro Ranellucci
56691c1dea Model extrusion threads as rectangles with semicircles at the end. Remove overlap_ratio setting. #109 #112 2011-12-13 17:34:31 +01:00
Alessandro Ranellucci
869cb48c1a Merge branch 'master' of github.com:alexrj/Slic3r 2011-12-12 17:35:18 +01:00
Alessandro Ranellucci
3c2b2cfef2 Bugfix: duplicate options did not work correctly for copies > 2. #113 2011-12-12 17:32:45 +01:00
Richard Goodwin
557afcc4b1 Added scale to settings output 2011-12-11 15:32:47 -06:00
Alessandro Ranellucci
0ebd8eb8a9 Don't die when config has unknown options. #108 2011-12-10 10:39:07 +01:00
Alessandro Ranellucci
c957c27367 Remember last opened directory. #106 2011-12-09 14:07:50 +01:00
Alessandro Ranellucci
b92ba67272 Workaround for a WxWidgets bug that clips the overlap_ratio label on Mac 2011-12-08 22:06:53 +01:00
Alessandro Ranellucci
0a74e068a3 Merge branch 'infill-overlap' 2011-12-08 10:53:24 +01:00
Alessandro Ranellucci
d9a70ea80d Customizable overlap ratio (it defaults to 0.15 now) 2011-12-08 10:53:07 +01:00
Alessandro Ranellucci
d813aea59a Don't slow down retractions on bottom layer. #101 2011-12-08 10:28:23 +01:00
Alessandro Ranellucci
1f64a01ed4 Remove empty layers from bottom. They could be caused by little contact with the print bed, resulting in the need of thin walls. While thin walls will be supported one day, it's still not optimal to have so little contact on bottom layer(s), so we remove such layers. #96 2011-12-08 10:25:19 +01:00
Alessandro Ranellucci
99c1facec6 Bugfix: division by zero when nothing in a single layer could be parsed. #100 2011-12-07 20:18:12 +01:00
Alessandro Ranellucci
525855dc7d Bugfix: fatal error when combining infills. #96 2011-12-07 20:15:08 +01:00
Richard Goodwin
3ced3ee91f Fixed bolding and font issues on Windows 2011-12-06 15:36:42 -06:00
Alessandro Ranellucci
313f77ee59 Bugfix: removed error when filling small regions 2011-12-05 19:54:19 +01:00
Alessandro Ranellucci
2ba513bdb2 Bugfix: after recent changes, objects had slight dimension errors. #56 2011-12-05 18:48:48 +01:00
Alessandro Ranellucci
3d0cde2fce Fixed regression. The repair algorithm was not working after recent changes. Releasing 0.5.5b. #16 #28 2011-12-05 13:01:02 +01:00
Alessandro Ranellucci
b8a5d5a208 Bugfix: fatal error on many models. Releasing 0.5.5a. #92 #93 2011-12-05 12:15:52 +01:00
Alessandro Ranellucci
53bc9c7421 Customizable speed for small perimeters. #60 2011-12-04 20:50:03 +01:00
Alessandro Ranellucci
ea254588f7 More tolerance for config files 2011-12-04 20:41:17 +01:00
Alessandro Ranellucci
28a89c70c9 New bridge flow rate multiplier option. #85 2011-12-04 20:29:21 +01:00
Alessandro Ranellucci
3ac9dd513b Add first layer height ratio option to the GUI 2011-12-04 19:17:42 +01:00
Alessandro Ranellucci
b79ae44e3d Recent changes made Slic3r less tolerant with dirty STL files. Now we are able again to slice Prusa parts. #16 2011-12-04 19:10:43 +01:00
Alessandro Ranellucci
eb64cc4965 More fixes for bridges. #58 2011-12-04 18:37:37 +01:00
Alessandro Ranellucci
d056535bd8 Further corrections to the bridge angle detection algorithm. #58 2011-12-04 17:19:03 +01:00
Alessandro Ranellucci
0aff5fab24 Connect infill segments and adjust spacing and flow rate to fill the area completely without leaving gaps. #89 2011-12-04 16:24:46 +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
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
5375f5fef4 Mark important settings in bold 2011-12-02 17:02:36 +01:00
Alessandro Ranellucci
52c9897eda New --extrusion-axis option; removed --no-extrusion 2011-12-01 22:34:21 +01:00
Alessandro Ranellucci
830965fc0b Note used settings in exported gcode. #52 2011-12-01 22:20:48 +01:00
Alessandro Ranellucci
aab85a4e27 Bugfix: unable to read back config file if start or end gcode was empty. #84 2011-12-01 22:06:07 +01:00
Alessandro Ranellucci
e99c9f9e5f Options on command line now override config. Also, "feed rate" was renamed to "speed" everywhere. #77 2011-12-01 22:04:23 +01:00
Alessandro Ranellucci
2a02d26ca5 Fixed regression: fill density = 0 was preventing extra solid layers. #75 2011-12-01 21:15:02 +01:00
Alessandro Ranellucci
f7a9c9be63 Bugfix: sometimes holes were detected as contours 2011-12-01 20:57:38 +01:00
Alessandro Ranellucci
133f3a0495 Bugfix: Clipper error occurred under certain circumstances 2011-12-01 19:40:45 +01:00
Alessandro Ranellucci
b03afc7f1c Bugfix: some bridges were not detected correctly. #57 2011-11-30 20:32:28 +01:00
Alessandro Ranellucci
52270d6b95 Bugfix: extrusion width ratio gave wrong flow rate under certain circumstances. #80 2011-11-30 18:18:17 +01:00
Alessandro Ranellucci
71c359bb29 Cleaning recent changes 2011-11-30 17:48:00 +01:00
Alessandro Ranellucci
42383dec84 Warn about models with overlapping or intersecting facets but try to repair wrong layers. #16 2011-11-30 16:28:09 +01:00
Alessandro Ranellucci
d51a37a0ae Refactoring: moved slicing code to new TriangleMesh class, leaving in STL just what's needed to read that particular input format. Slic3r will now warn if model is not manifold. #16 2011-11-30 16:07:31 +01:00
Michael Moon
729905d342 allow solid fill layers to be zero 2011-11-30 12:51:34 +11: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
d168ecbb4e Bugfix: fill density = 0 was preventing generation of extra solid layers. #75 2011-11-29 10:15:50 +01:00