5822 Commits

Author SHA1 Message Date
Joseph Lenox
1f392df4b9 Start cleanup so perl builds again 2018-07-21 22:12:24 -05:00
Joseph Lenox
4a62c75c11 test our tests 2018-07-21 22:07:37 -05:00
Joseph Lenox
d4191a96b8 Number of X is better done with < and not doing the -1 in C++ 2018-07-21 22:07:09 -05:00
Joseph Lenox
0c883b526c Use Slic3r::Log instead of printf 2018-07-21 22:06:42 -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
c989c88a0c Implemented slice() without error detection, refactored some of the syntax around for loops and accessing items. 2018-07-21 18:52:28 -05:00
Joseph Lenox
ac1152f42d Collapsed the add_layer method. 2018-07-21 18:49:49 -05:00
Joseph Lenox
7f3e00f581 Reset underlying data structures after performing a move in the TriangleMesh constructor. 2018-07-21 18:45:35 -05:00
Joseph Lenox
597e14c506 Changed access to bounds-checking at() instead of [];
added precheck in case layer height is uniform.
2018-07-21 18:40:08 -05:00
Joseph Lenox
f1a0f85ac2 add extra tests. 2018-07-21 17:10:36 -05:00
Joseph Lenox
ed73443b5d Call correct infill function and move a brace 2018-07-21 16:01:01 -05:00
Joseph Lenox
bce4f19111 Added ostream version of warn and info 2018-07-21 15:55:30 -05:00
Joseph Lenox
0436b83a22 Added ostream version of error 2018-07-21 08:58:23 -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
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