5957 Commits

Author SHA1 Message Date
Joseph Lenox
f2206be78b Fixed a typo spotted by @thethirdone 2018-07-21 08:40:00 -05:00
Joseph Lenox
4bb8ba8d41
Merge pull request #37 from TheThirdOne/make_skirt
Finish up make_skirt
2018-07-21 08:38:55 -05:00
Benjamin Landers
ac80389f93 Finish up make_skirt
The algorithm was changed slightly to simplify it. It should still have the
exact same external behaviour (besides allocating fewer extruder objects).
2018-07-20 23:40:23 -07:00
Joseph Lenox
81f653cc6c
Try to guard the version better. 2018-07-20 08:46:00 -05:00
Joseph Lenox
dd3cd39a59 Ported discover_horiziontal_shells from Perl. Needs strong testing. 2018-07-19 23:41:57 -05:00
Joseph Lenox
6ef77fea5c Added an equality operator for floating point types config options that returns for close to slic3r::epsilon 2018-07-19 23:41:18 -05:00
Joseph Lenox
dbc216e078 Added a ostream version of Log::debug. 2018-07-19 22:03:07 -05:00
Joseph Lenox
053242f9de Change enumerations to make them bitmask items as well (reduce iterations through SurfaceCollections) 2018-07-19 22:02:09 -05:00
Joseph Lenox
2f5722a492 added stubbed test for skirt_brim 2018-07-19 13:36:51 -05:00
Joseph Lenox
2bd1d142c8 more work on process_layer. 2018-07-18 22:40:07 -05:00
Joseph Lenox
7d135252b0 Added a method borrowed from prusa3d/Slic3r that tests if two surfaces are compatible. 2018-07-18 22:39:44 -05:00
Joseph Lenox
b15b5a7d98 Add comments and fix signature of function for keep_types using c-style array. 2018-07-18 22:38:48 -05:00
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