617 Commits

Author SHA1 Message Date
Joseph Lenox
db43d27be7 Change dependency linking depending on SLIC3R_STATIC CMAKE option. 2018-07-14 20:21:34 -05:00
Joseph Lenox
4c3bddd6b8 Set flags appropriately in Release and Debug configurations in Cmake. 2018-07-14 20:20:26 -05:00
Samir55
4931e4025e Some fixes to SupportMaterial memver functions. 2018-07-14 23:09:22 +02:00
Joseph Lenox
3f3de067f8 Added epsilon to Slic3r::Geometry; added _equiv for comparing two items that have operator- overloaded. 2018-07-13 19:36:01 -05:00
Joseph Lenox
f29768ff8e Begin port of Slic3r::Test methods as part of the test harness (not linked into main application) 2018-07-13 19:20:23 -05:00
Benjamin Landers
c1d71bd520 First steps for Preview3d
This is now blocking on the slicing pipeline being set up to test
2018-07-13 05:53:13 -07:00
Benjamin Landers
9ca0fed4b5 Added the rough form of ObjectCutDialog
OptionsGroup needs to be more complete before moving ahead with this
2018-07-13 05:13:58 -07:00
Benjamin Landers
40decdc405 Cleanup 2018-07-13 05:09:17 -07:00
Benjamin Landers
2258fd5978 Added selection and moving volumes to Plate3D 2018-07-13 05:03:46 -07:00
Joseph Lenox
f0ba8a2340 Replaced iterator-based constructor with one that takes either vector or array.
Refactored TriangleMesh constructor to use raw pointer (C-style semantics) and pointer vector/array.
2018-07-12 23:26:07 -05:00
Joseph Lenox
ee208ddc73 Added templated iterator-based constructor for TriangleMesh and tests for it. 2018-07-12 23:13:44 -05:00
Joseph Lenox
932a238328 Add test to set string options. 2018-07-12 22:02:09 -05:00
Joseph Lenox
7861037556 Wrote accessor tests and accompanying implementation. 2018-07-12 21:54:10 -05:00
Joseph Lenox
40cedc350c Basic validation for generic numeric types and its test. 2018-07-12 20:21:07 -05:00
Joseph Lenox
e3e1f4762e Use regular char instead of 32 2018-07-12 17:33:19 -05:00
Joseph Lenox
2aa97855c8 Fixed some paths and stubbed new_from_ini 2018-07-12 17:32:05 -05:00
Joseph Lenox
1cbc1895ea Fix a typo in CMakeLists, point at correct path for test_options.hpp.in 2018-07-12 17:02:12 -05:00
Joseph Lenox
eacc24fc96 one more clause for files that don't have a .license 2018-07-12 11:44:47 -05:00
Joseph Lenox
5faaa4ead0 Added additional rules for external test inputs, including licensing requirements. 2018-07-12 11:36:29 -05:00
Joseph Lenox
61c1255aec
I wanted a HR there, not === 2018-07-12 11:13:21 -05:00
Joseph Lenox
8bac95a208 Expanded tests slightly for config and laid out framework for external input files. 2018-07-12 11:08:15 -05:00
Samir55
93b0cd436a Porting test 1. 2018-07-12 09:34:47 +02:00
Ahmed Samir
02e489a11f
Update CMakeLists.txt
revoke last commit
2018-07-12 07:15:22 +02:00
Ahmed Samir
e80c4e467b
Update CMakeLists.txt
readd removed file in cmake
2018-07-12 07:14:28 +02:00
Joseph Lenox
ff7ed5bd60 Begin stubbing in Config interface and tests for interface. 2018-07-12 00:14:10 -05:00
Ahmed Samir
9535ce54ec
Merge branch 'master' into Samir55-support_porting 2018-07-12 07:13:21 +02:00
Joseph Lenox
8e3440f832 Added volume tests (using a large divisor for accuracy). 2018-07-11 22:14:51 -05:00
Joseph Lenox
a3327df92f Add CMAKE option to turn on the gui when building slic3r.cpp (defaults to off) 2018-07-11 22:14:51 -05:00
Joseph Lenox
0fc288b6d7 Pushed ::slice and ::stats() and ::bb3() into TriangleMesh.
Added more tests to TriangleMesh.
2018-07-11 22:14:51 -05:00
Joseph Lenox
19c5fa0545 Added more tests for center(), and cut(). Added functions to access functionality (used to be in Perl interface). 2018-07-11 22:14:51 -05:00
Joseph Lenox
21946dc1a1 Implemented some of the tests and additional object code to pass tests.
Using [!mayfail] to indicate that test may fail (so as to not crash build).
2018-07-11 22:14:51 -05:00
Joseph Lenox
c6966c077e Starting to port 01_trianglemesh tests to Catch. 2018-07-11 22:14:51 -05:00
Joseph Lenox
d18b975195 Added tests for trim_zeroes() 2018-07-11 22:14:51 -05:00
Joseph Lenox
9f83da9519 Implemented UI_Point3, fixed tests. 2018-07-11 22:14:51 -05:00
Joseph Lenox
4fa9f5ee2a use make_tuple instead of make_pair 2018-07-11 22:14:51 -05:00
Joseph Lenox
9dc4343029 Move trim_zeroes to misc_ui 2018-07-11 22:14:51 -05:00
Joseph Lenox
e66cda51bf Add get_point3 to interface; add I/O 2018-07-11 22:14:51 -05:00
Joseph Lenox
fbdccb0c96 Fix a typo in description. 2018-07-11 22:14:51 -05:00
Joseph Lenox
3d52dd53ad YAGNI - sizer-types don't need a passed-in window ID. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e337c5ad89 Test setting a 2D Point from a 3D point (narrowing, remove Z coordinate) and using get_point3 on a 2D point. 2018-07-11 22:14:51 -05:00
Joseph Lenox
d78b386135 Added Point3 tests. 2018-07-11 22:14:51 -05:00
Joseph Lenox
a16bb63821 Refactored to push up the common items into UI_Field and have separate UI_Window and UI_Sizer. UI_Sizers should not set window and vice-versa. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8077100658 UI_Point is 4 items in a single sizer.
Implemented the draw code for the sizer as well.
2018-07-11 22:14:51 -05:00
Joseph Lenox
c2c80ecd92 Adding event handling for on_change and on_kill_focus 2018-07-11 22:14:51 -05:00
Joseph Lenox
e4fd688c78 Split on ; token instead of trying to capture submatches. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1d63925bda Actually test event receipt properly. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2c7b39f0fd Partially implemented UI_Point. Tests do not all pass (set_value is inserting garbage when a serialized string is passed in). 2018-07-11 22:14:51 -05:00
Joseph Lenox
4d6188e0d1 Moved implementation of most UI_Choice methods into its own file. 2018-07-11 22:14:51 -05:00
Joseph Lenox
14fc049c6f Forgot to add a destructor to UI_Choice. 2018-07-11 22:14:51 -05:00
Joseph Lenox
4cb2930b54 Comment for parent cache. 2018-07-11 22:14:51 -05:00