6157 Commits

Author SHA1 Message Date
zdroyer
4cf9bc842c Corrected logging, formatting and cleaned up unuesed includes (according to the reviewer's comments) 2019-04-13 14:46:12 -05:00
zdroyer
292b42d3de Cleaned CMakeList from messy comment 2019-04-13 14:46:12 -05:00
zdroyer
ce966c2450 Removed unused header wchich generated tons of warnings with boost 1.69 2019-04-13 14:46:12 -05:00
Luke Taverne
d29335a71a Remove unused linux-only header file. 2019-04-13 14:46:12 -05:00
Pshemek
121f0f0166 Added/modified error messages printed to std::cerr 2019-04-13 14:46:12 -05:00
Pshemek
4ab775a68c Fixed 'std::out_of_range' during g-code generation (SK-78 cont.) 2019-04-13 14:46:12 -05:00
Pshemek
22195b3bd7 Bugfix for segefault on zero support meterial generation 2019-04-13 14:46:12 -05:00
Pshemek
1db87ed41a Mods making slic3r runnable from commandline without crashing (Pshemek) 2019-04-13 14:46:12 -05:00
Joseph Lenox
daaceff20a Test layer heights above the old 10mm layer height limit and that the layer height is still restricted by nozzle diameter. 2019-04-13 12:28:04 -05:00
Joseph Lenox
64b0d7c709 Remove some dead code in the printgcode test. 2019-04-13 12:28:04 -05:00
Joseph Lenox
371d87ce96 Set the initial maximum size for layer heights and nozzle diameter to max
The algorithm used to adjust layer heights in PrintObject has as a ceiling some default values that were fine when nozzles were < 1.0mm but not anymore.
To avoid more surprises, set to numeric_limits<double>::max()
Adds regression test as well.
Fixes #4516
2019-04-13 12:28:04 -05:00
Joseph Lenox
5f68ce4e7d Catch and rethrow parse errors, showing a log entry and a GUI error. 2019-04-11 19:44:15 -05:00
3bhady
536124072d fix formatting 2019-04-03 10:37:12 -05:00
3bhady
8dc4e64160 Testing 3mf reading file with umlauts in it's path 2019-04-03 10:37:12 -05:00
Mohamed Abd Elhady Ali
e6c759056e Decode Special Characters in Path
fixes umlauts in path of file which caused errors when reading the file
2019-04-03 10:37:12 -05:00
Joseph Lenox
716c018cd4 Force install of cppguess 2019-03-31 07:12:18 -05:00
Joseph Lenox
ac3f4f2d03 Add test_gcode.cpp 2019-03-31 07:12:18 -05:00
Joseph Lenox
8cf8736516 Also apply precision and fixed to speed rewrite. 2019-03-31 07:12:18 -05:00
Joseph Lenox
205cb02efa Restrict speed setting to fixed-point output with 3 decimal places. Includes test.
Fixes #4769
2019-03-31 07:12:18 -05:00
Brian Vanderbusch
05a2f9028a fix transparent desktop icon 2019-02-09 21:08:26 -06:00
Joseph Lenox
de31617a51 Add include directories for boost-nowide (which only has a compiled component on Windows) 2019-02-09 21:04:42 -06:00
andy5995
5309ad3a4d CONTRIBUTING.md:create separate heading for Communication
[skip ci]
2019-02-09 20:59:13 -06:00
andy5995
7150884919 CONTRIBUTING.md:add link to TODO wiki page
[skip ci]
2019-02-09 20:59:13 -06:00
andy5995
a827b57c8b consolidate contributing information
This is to help with https://github.com/slic3r/website/issues/3

[skip ci]
2019-02-09 20:59:13 -06:00
J-P Nurmi
70946af2ae Add missing quotes to startup scripts 2019-02-09 20:57:32 -06:00
Florens Wasserfall
9f2dfdd981 call remove_collinear_points after removing empty layers 2019-02-09 20:56:34 -06:00
Florens Wasserfall
db426758ca testcase for remove_collinear_points in Polygon 2019-02-09 20:56:34 -06:00
Florens Wasserfall
72b0d2b763 add std << operator to Point for evaulation in test environment 2019-02-09 20:56:34 -06:00
Florens Wasserfall
faeb213ce1 Remove collinear points from polygons right after slicing the stl into polygons.
Triangulation of planar surfaces results in additional edges (i.e. splitting a rectangle into two triangles).
Those edges end up as collinear points in the contour polygons and cause additional, redundant
computation. Most collinear points would be removed by Douglas-Peucker during gcode export.

Fixes #4726.
2019-02-09 20:56:34 -06:00
Mathieu Arnold
66b00c90c3 Fix typo. 2019-01-25 17:34:20 -06:00
Joseph Lenox
a4a0d52ccc min_layer_height and max_layer_height are arrays (because they are tied to the extruder). 2019-01-14 21:19:44 -06:00
Joseph Lenox
916c30c3d0
Merge pull request #4700 from andy5995/fix_typo_README
README.md:fix typo under directory structure section
2019-01-13 12:34:27 -06:00
andy5995
d0daa8d5ac
README.md:fix typo under directory structure section
[skip ci]
2019-01-13 11:08:56 -06:00
Joseph Lenox
3b338e5f84
Merge pull request #4691 from supermerill/brim_ears
brim ears
2019-01-10 20:31:40 -06:00
Joseph Lenox
c15c4fdcf6
Update PrintConfig.cpp 2019-01-10 20:28:41 -06:00
Joseph Lenox
cb9996a14b
Wordsmithing brim_ears 2019-01-10 20:26:52 -06:00
supermerill
32b0adacd9 add some little tests to brim ears 2019-01-10 23:07:06 +01:00
supermerill
c07a7fd2fc brim ears
- add brim_ears setting: bool: set to true to activate this new funtino
 - add brim_ears_max_angle : float : max angle for a corner to be assigned a brim ear.
2019-01-10 19:42:44 +01:00
andy5995
203f7927fe README.md:grammar improvement suggestions 2019-01-09 09:01:12 -06:00
Joseph Lenox
364f2a6e8c
Patch for #4620 - ensure posDetectSurfaces is invalidated on slice change (#4679)
* Update some language used 

* Completely check pre-condition in test. 

Make sure that we have 1 solid bottom layer and 2 solid top layers before invoking our change.

* Use step_invalidate() instead to ensure dependencies are invalidated as well.

Move set_started() until after invalidations.
2019-01-06 18:03:24 -06:00
Joseph Lenox
dabb5f3823 Fix skirt/Brim (#4669)
* Start implementing skirt/brim tests.

* Move skirt_height_z (representing the highest skirt height in actual Z coordinates) to Print and prime it with make_brim so it can be used in PrintGCode.

Updated test to correctly verify skirt is generated for one and multiple objects.

* Fallout from the config refactor; use correct accessors.

* Fix bug where brim was not generated (inverted logic)

* Finish porting tests, left one intentional failure as support material is not generated yet (segfaults).
2019-01-06 23:58:08 +01:00
Joseph Lenox
b3cac9d0fb
Cleanup old branch builds (#4680)
* #4620

Invalidate posDetectSurfaces during make_perimeters() when posSlice would also get invalidated.
Can't use invalidate_step() as that invalidates the perimeters as well.

* Add a test step to check for regression #4620 - behavior on running Print::process() again on the same model.

* Fix naming scheme for macos/osx builds to make it obvious if it is a PR or not.

* Remove previous versions of the same kind of branch or PR ID

* Adjust copied statements to account for different calling conventions; osx does not have an arch name argument for make_dmg

* Remember to set the version too

* Update windows build server command to clean up old branch builds.

* Specifically look for PR${PR_ID} instead of just ${PR_ID} to avoid unintentional deletions.

* don't symlink pull requests

* Update to call more functions on osx

* Only delete/clean once, not once per file uploaded.
2019-01-06 13:53:41 -06:00
Joseph Lenox
748dd3c23a add const begin/end iterators to SurfaceCollection to let it work in range-based for loops (const) 2019-01-05 23:45:17 -06:00
Joseph Lenox
f18c34006c Don't load swrast_dri.so, it's breaking(?) some driver/distro combinations and
may not actually help.
2019-01-05 19:25:25 -06:00
Joseph Lenox
b84be0deb5
Fix division by zero when min=max layer heights (#4672)
* #4670 Avoid a division by 0 crash if max_layer_height == min_layer_height (use scaling of 1.0).

* #4670 Limits -> Layer Height Limits

* Add config validation to Config.pm for adaptive slicing

* Also cover min_layer_height >= max_layer_height

* Correct logic for min/max layer height.
2019-01-05 18:45:59 -06:00
Joseph Lenox
39b157b4f8 Fallout from the config refactor; use correct accessors. 2019-01-02 23:51:46 -06:00
Joseph Lenox
45353b78c8 Remove trailing spaces in lines. 2019-01-01 22:30:29 -06:00
Joseph Lenox
ab38cca082 Clipper uses constexpr, it should conform to at least C++11. Fixes a build error on osx 2019-01-01 20:32:05 -06:00
Joseph Lenox
190de64396
Permit coBool options to be set with booleans; added an additional type enforcement for setting it with a string (only accepts "1" and "0"). (#4668) 2019-01-01 19:42:26 -06:00
Joseph Lenox
90f108ae8e
Use GCC8 instead of 4.9 for travis (#4666)
* Use GCC8 toolchain

* Allow appimage to preload included libgcc_s and stdc++ if necessary.

* Need to add header for boost::noncopyable

* use const strings for exceptions.

* use right header dir for shim

* Only use swrast_dri from appimage if it's old or doesn't exist.

* added note about where the apprun script was source from, thanks @darealshinji
2019-01-01 16:00:39 -06:00