617 Commits

Author SHA1 Message Date
Joseph Lenox
18deb6b0f3 Adding unit tests to validate individual components.
Testing make_perimeters() on a cube.
Also added simple test for make_skirt on a single cube.
2018-07-24 23:31:49 -05:00
Joseph Lenox
735fcd1b13 fixed some syntax errors. 2018-07-24 11:02:52 -05:00
Joseph Lenox
f42c6c5844 Add test to check whether or not gcode output includes elements
Check for skirt, perimeters, infill.
2018-07-24 10:40:54 -05:00
Joseph Lenox
b6a5d600b3 Added draft of optionsgroup folder and some initial tests. 2018-07-24 09:00:50 -05:00
Joseph Lenox
662b95b1ca Add utils.hpp to pick the right function. 2018-07-23 20:41:38 -05:00
Joseph Lenox
fef97086fb Fixed UI_Slider so that tests pass.
Also fixed the assumptions so that the test was doing what was intended.
2018-07-23 18:19:03 -05:00
Joseph Lenox
17e588904b Continued implementation for UI_Slider
Added enable/disable methods and set_range()
text control should update as well.
Added tests to build.
2018-07-23 09:45:25 -05:00
Joseph Lenox
2090fae11d Tests for UI_Slider. 2018-07-23 00:09:41 -05:00
Joseph Lenox
193297a92d Stubbed out UI_Slider class. 2018-07-23 00:09:16 -05:00
Joseph Lenox
cdb7053034 Properly assign properties during the test setup and bind event. 2018-07-23 00:02:50 -05:00
Joseph Lenox
97522955a9 help the overload not choose itself for trim_zeroes 2018-07-22 21:55:00 -05:00
Joseph Lenox
383ed3e995 Merge branch 'cppgui' of https://github.com/lordofhyphens/Slic3r into cppgui 2018-07-22 21:35:12 -05:00
Joseph Lenox
e2bf3a84f7 Remove detection of gcc 4.7. We don't even support that compiler anymore. 2018-07-22 21:34:19 -05:00
Joseph Lenox
d1ebbeb6a6 Better-pack CMAKE flags? 2018-07-22 21:33:52 -05:00
Joseph Lenox
8afa0df50c Implemented UI_Color, a color picker, and its tests. 2018-07-22 21:33:14 -05:00
Joseph Lenox
dec175f9de Properly convert to wxString 2018-07-22 21:32:34 -05:00
Joseph Lenox
533a2314fd Fixed includes on OSX and silenced override warnings. 2018-07-22 11:55:33 -05:00
Joseph Lenox
6762870529 add mayfail until gcode export is fully ported. 2018-07-22 10:55:50 -05:00
Joseph Lenox
9506a21114 Added bridge flow tests. 2018-07-22 09:54:24 -05:00
Joseph Lenox
ef11ec2913 add some more flow tests 2018-07-22 09:42:58 -05:00
Joseph Lenox
937f5c6d6a added tests for setting Config/float values. 2018-07-21 23:21:37 -05:00
Joseph Lenox
24d93aea32 Use 2.0mm width as intended. 2018-07-21 23:14:10 -05:00
Joseph Lenox
4a62c75c11 test our tests 2018-07-21 22:07:37 -05:00
Joseph Lenox
b2b6a6a809 Use correct fill_density value and a legit first_layer_extrusion_width 2018-07-21 22:06:29 -05:00
Joseph Lenox
f7c431cd1f Fixed tests and init_print (using shared_ptr<Print>) 2018-07-21 20:56:50 -05:00
Joseph Lenox
f1a0f85ac2 add extra tests. 2018-07-21 17:10:36 -05:00
Joseph Lenox
7f7eb70dc9 wrong line endings. 2018-07-21 08:58:02 -05:00
Joseph Lenox
f2206be78b Fixed a typo spotted by @thethirdone 2018-07-21 08:40:00 -05:00
Joseph Lenox
81f653cc6c
Try to guard the version better. 2018-07-20 08:46:00 -05:00
Joseph Lenox
2f5722a492 added stubbed test for skirt_brim 2018-07-19 13:36:51 -05:00
Joseph Lenox
f1f05c35de put a guard around the version for cmake policy. 2018-07-17 19:07:54 -05:00
Joseph Lenox
0d69a6ec2c Link in OpenGL properly. 2018-07-17 18:23:15 -05:00
Joseph Lenox
4b130e793b Use wxWidgets 3.0.x+ constructor for glcanvas. 2018-07-17 17:54:19 -05:00
Joseph Lenox
a9b3b0ab7f Merge remote-tracking branch 'thethirdone/Scene3D' into test-merge-thethirdone-3d-plater
# Conflicts:
#	.gitignore
#	.travis.yml
#	README.md
#	package/linux/travis-setup.sh
#	src/CMakeLists.txt
#	src/GUI/ColorScheme/Default.hpp
#	src/GUI/Plater.cpp
#	src/GUI/Plater/Plate2D.cpp
#	src/GUI/Plater/Plate3D.hpp
#	src/GUI/Plater/Preview3D.hpp
#	src/GUI/Preset.hpp
#	src/GUI/misc_ui.cpp
#	src/GUI/misc_ui.hpp
#	src/slic3r.cpp
#	src/test/GUI/test_field_checkbox.cpp
#	xs/src/libslic3r/Config.cpp
#	xs/src/libslic3r/Config.hpp
#	xs/src/libslic3r/ConfigBase.cpp
#	xs/src/libslic3r/ConfigBase.hpp
#	xs/src/libslic3r/Log.hpp
2018-07-17 17:35:05 -05:00
Joseph Lenox
e5329b1e9f use std namespace in test_trianglemesh for brevity 2018-07-17 10:47:27 -05:00
Joseph Lenox
e6203c0f0a Fixed verification
Also started stubbing out process_layer (applying configs, etc)
2018-07-16 22:28:20 -05:00
Joseph Lenox
080c930a3a Implemented more of output()
basic routine should be implemented (sans complete objects), need
process_layer next.
2018-07-16 21:55:36 -05:00
Joseph Lenox
b0d734e164 Add config test input files
Added samples for config tests.
2018-07-16 14:11:39 -05:00
Joseph Lenox
5b71940e60 Initial commit of gcode export toolchain (incomplete).
Passes tests so far as written, gcode output through test interface expects an ostream.
2018-07-15 14:48:56 -05:00
Joseph Lenox
b2d6c47c53 Finish merging in-process work from @Samir55 2018-07-15 12:08:35 -05:00
Joseph Lenox
575faf3231 Merge remote-tracking branch 'samir/Samir55-support_porting' into test_merge_samir
# Conflicts:
#	src/CMakeLists.txt
2018-07-15 12:02:11 -05:00
Joseph Lenox
37e484d838 Check a few more unset options with getInt and getBool 2018-07-15 10:25:15 -05:00
Joseph Lenox
bdb2457a57 test_config: Use Catch2's REQUIRE_THROWS_AS instead of manually dealing with it.
Added tests to verify default option passthrough and getString() method.
2018-07-15 10:14:28 -05:00
Joseph Lenox
49f123ca20 Moved trim_zeroes to libslic3r utils. 2018-07-15 10:10:42 -05:00
Joseph Lenox
ee71f8b8f8 Removed duplicate slic3r.cpp (was already in utils) 2018-07-15 00:13:04 -05:00
Joseph Lenox
7b36669246 Ensure that conditional gcode is compiled in 2018-07-15 00:12:00 -05:00
Joseph Lenox
d30496c5bd Let's not return references to Slic3r::Config when we can return the shared pointer instead from methods that are going to construct a Slic3r::Config 2018-07-14 21:58:56 -05:00
Joseph Lenox
70cd35af31 Refactored Slic3r::Config to a composition style instead of direct inheritance of Slic3r::DynamicPrintConfig. 2018-07-14 21:48:22 -05:00
Samir55
737353a85b Refactoring. 2018-07-15 04:34:49 +02:00
Samir55
49fbe98910 Fixing bugs. 2018-07-15 03:42:50 +02:00