5639 Commits

Author SHA1 Message Date
Joseph Lenox
ec7d3803d9 made _last_obj_copy a std::pair to hold onto validity information as well as the point location. 2018-07-18 22:30:50 -05:00
Joseph Lenox
7c0b807518 stubbing in functions. 2018-07-18 22:30:09 -05:00
Joseph Lenox
eab034434a Added a () operator overload to treat ConfigOptionSingle like functions and return their value (accessor) 2018-07-18 22:29:39 -05:00
Joseph Lenox
84826ae5ee Added inequality operator for Point 2018-07-18 22:28:29 -05:00
Joseph Lenox
6676368a34 Added an accessor to get a const reference to the underlying model object. 2018-07-18 22:27:34 -05:00
Joseph Lenox
1742b64ce7 stubbed in make brim and make skirt (port from perl) 2018-07-18 22:27:06 -05:00
Joseph Lenox
f21148e0d4 Just detect support layer via virtual function instead of relying on typeid to save the day. 2018-07-18 22:26:13 -05:00
Joseph Lenox
82f227d718 Code/syntax sugar: let Collection types be treated more like a STL container with begin/end iterators. 2018-07-18 22:25:37 -05:00
Joseph Lenox
ccb8204fae Copied some useful methods from prusa3d/slic3r. 2018-07-18 22:24:41 -05:00
Joseph Lenox
f1616ee295 Implemented more of process_layer through skirt generation 2018-07-17 22:58:46 -05:00
Joseph Lenox
f1f05c35de put a guard around the version for cmake policy. 2018-07-17 19:07:54 -05:00
Joseph Lenox
d8cdccd676 Accidentally added a perl test failure back in with merge. 2018-07-17 18:46:56 -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
47293213a5
Fixed directory structure notice. 2018-07-17 16:07:58 -05:00
Joseph Lenox
d719c5935c
GUI components are C++14 2018-07-17 16:03:34 -05:00
Joseph Lenox
38cc8e2d6d Walled off generate_support_material() 2018-07-17 15:26:45 -05:00
Joseph Lenox
e5329b1e9f use std namespace in test_trianglemesh for brevity 2018-07-17 10:47:27 -05:00
Joseph Lenox
a034aba0d8 Allow for copy elision in TriangleMesh 2018-07-17 10:45:01 -05:00
Joseph Lenox
4bc352ae60 Marked override functions as override 2018-07-17 10:43:30 -05:00
Joseph Lenox
e4f76fdff1 Add format script for clang-format 2018-07-17 09:00:01 -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
f739eb11af fix the config ref to be const 2018-07-16 21:54:12 -05:00
Joseph Lenox
2b741bc8a1 Forgot to remove std::cerr output 2018-07-16 17:14:55 -05:00
Joseph Lenox
eedf81e871 Stubbed out/implemented Print::process and generate_support_material.
(w/o unit tests)
2018-07-16 17:12:32 -05:00
Joseph Lenox
321b5893b8 Moved constructor to cpp file 2018-07-16 17:11:15 -05:00
Joseph Lenox
11bb5c3117 factor out set_extruders() to an STL-style template function. Added set<T> method as well. 2018-07-16 17:10:37 -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
65676215cc added getBool() to Slic3r::Config interface. 2018-07-15 10:24:57 -05:00
Joseph Lenox
846e46a130 Added apply() callthrough method to allow Slic3r::ConfigBase configs to be added to the local DynamicPrintConfig. 2018-07-15 10:18:20 -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
9585a3e564 Default to pulling from defaults with get() functions. 2018-07-15 10:12:28 -05:00
Joseph Lenox
28504f9658 added getString() methods to ConfigOptionFloat and ConfigOptionInt 2018-07-15 10:11:02 -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
54d8760159 Add build commit macro for non-XS usage. 2018-07-15 00:12:44 -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
99c7c2c8bf Refactoring. 2018-07-15 03:46:51 +02:00
Samir55
49fbe98910 Fixing bugs. 2018-07-15 03:42:50 +02:00
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