814 Commits

Author SHA1 Message Date
Michael Kirsch
c8a9ffc96b cleanup commented / deleted code Part 1 2019-12-01 23:52:36 -06:00
Michael Kirsch
287948a2f8 remove references to 3mf specific instance variables 2019-12-01 23:52:36 -06:00
Michael Kirsch
f8e6bbafae add TrafoMatrix class to compile targets 2019-12-01 23:52:36 -06:00
Nick Neisen
46cd5689bc Add test for layer_num value being the layer index 2019-09-22 21:48:33 -05:00
Nick Neisen
b22b1ae300 Adjust test for current_extruder being second extruder 2019-09-22 21:46:42 -05:00
Nick Neisen
9352c9d894 Add tests that initially fail 2019-09-22 21:46:42 -05:00
Joseph Lenox
48d5b11301 Remove warning/error from wxWidgets about horizontal alignment 2019-06-08 11:25:53 -05:00
Joseph Lenox
a0a2055916 Set sensible defaults if autosave and datadir aren't specified on the CLI instead of segfaulting when the GUI is enabled.
datadir goes to home directory, autosave is in a temp dir and has format slic3r_autosave_xxx.
2019-06-03 22:18:22 -05:00
Joseph Lenox
bd575f15c5 Ensure rand() is available, create consistent seed. 2019-05-27 21:05:30 -05:00
Joseph Lenox
6df833dd79 Forgot to commit new test for flatten. 2019-05-27 21:05:30 -05:00
Joseph Lenox
954f74cd63 Responding to comments in 6710b24 and incorporating suggested changes made by @supermerill from #4553 as a single function with a flag instead of two methods. 2019-05-27 21:05:30 -05:00
Joseph Lenox
0230138bb2 Fix indentation and spacing; use print.arrange rather than making another call to the config. 2019-04-13 14:46:12 -05:00
Joseph Lenox
7d7223eeaf Ignore missing options when loading full_print_config (because this is almost always because we ignored it when loading from a regular config). 2019-04-13 14:46:12 -05:00
Joseph Lenox
156b08d41b Fix minor spacing/formatting issues. 2019-04-13 14:46:12 -05:00
zdroyer
c8cfe0d659 Added default values for expected params in CLI::run (dont_arrange, load) 2019-04-13 14:46:12 -05:00
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
Pshemek
121f0f0166 Added/modified error messages printed to std::cerr 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
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
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
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
Florens Wasserfall
db426758ca testcase for remove_collinear_points in Polygon 2019-02-09 20:56:34 -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
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
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
8e5a9cba71 #4654 Add a check for a 0 from the math to calculate the spacing; added a regression test to ensure that the spacing can't be 0 with otherwise valid inputs. 2018-12-31 10:49:30 -06:00
Joseph Lenox
8f51287c27 Silence warnings for external libraries. 2018-12-29 23:50:31 -06:00
Joseph Lenox
dd38214884 Apply suggestions from code review
Co-Authored-By: alranel <aar@cpan.org>
2018-12-29 23:49:08 -06:00
Alessandro Ranellucci
79d0677db2 Refactoring: make Slic3r::Config a thin wrapper around Slic3r::DynamicPrintConfig by moving its accessors to Slic3r::ConfigBase 2018-12-29 23:49:08 -06:00
Joseph Lenox
21eb603cc1 Remove support test compilation
The c++ support tests were never fully completed and should be disabled until that code is looked at again and updated in a PR.
2018-12-02 17:02:05 -06:00
Alessandro Ranellucci
aac9c2481c Ported PrintObject::infill() to C++ 2018-11-26 21:24:33 +01:00
Joseph Lenox
5d7711f319 Avoid locking in 0,0 for minimum x/y 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
b0fc0429cb Bugfix: --dont-arrange was reported as not implemented 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
73f3bfb0da Fix test according to the wanted behavior for --export-sla-svg 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
945bbc030c Fix --center, --dont-arrange, --export-* and other things 2018-11-25 11:55:57 -06:00
Joseph Lenox
76c23fa966 Math is hard. 2018-11-25 11:55:57 -06:00
Joseph Lenox
afc90ed91e Test --dont-arrange and --center. 2018-11-25 11:55:57 -06:00
Joseph Lenox
6fcf4195e1 Fix endline whitespace. 2018-11-25 11:55:57 -06:00
Joseph Lenox
63b74b8cc2 Remove extraneous options in 20mm box config. 2018-11-25 11:55:57 -06:00