1359 Commits

Author SHA1 Message Date
Ahmed Samir
9535ce54ec
Merge branch 'master' into Samir55-support_porting 2018-07-12 07:13:21 +02:00
Samir55
76c686b2ca Porting process_layer function and start testing. 2018-07-12 07:11:34 +02:00
Joseph Lenox
5ff201c53f Adjusted functions so that SLIC3RXS and the perl-less builds can live side-by-side. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2ed48de491 Don't create extra, redundant points in the mesh. 2018-07-11 22:14:51 -05:00
Joseph Lenox
4d6deea6cb Return a moveable copy of the mesh and repair it prior to returning. 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
83af35b7c4 Give alias for vector of Point3. 2018-07-11 22:14:51 -05:00
Joseph Lenox
d612bf02a4 C++11/14 code cleanup: NULL to nullptr for default_value options. 2018-07-11 22:14:51 -05:00
Joseph Lenox
04bc767421 Added Pointf equality operator (scales for comparison). 2018-07-11 22:14:51 -05:00
Joseph Lenox
e8bb3f7e37 Added NumericChoice implementation along with tests.
Also added get_double() to interface.
2018-07-11 22:14:51 -05:00
Joseph Lenox
e13eb18455 Implemented UI_SpinCtrl and refactored common components to UI_Window. Added tests.
Replaced click tests in UI_Checkbox with event pushes.
2018-07-11 22:14:51 -05:00
Joseph Lenox
9a38d96dd4 Provide an alternate use for confess_at to call Slic3r::Log instead of perl xs. 2018-07-11 22:14:51 -05:00
Joseph Lenox
310d82ea2b Rename GUI.hpp to xsGUI.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
c9ed2ca7c3 Renaming xs/../GUI.hpp to xsGUI.hpp to avoid conflicts 2018-07-11 22:14:51 -05:00
Joseph Lenox
8ec16388e0 refactored to accept a t_config_option_keys for initializer. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ba483a7b07 Added std::string versions of error and info to Slic3r::Log 2018-07-11 22:14:51 -05:00
Joseph Lenox
d34d0ea6ea Throw a custom exception if Print::delete_object() gets an out-of-range identifier. 2018-07-11 22:14:51 -05:00
Joseph Lenox
21da567d43 Pushed a contains() method up to ExPolygonCollection that returns if any of its expolygons contain the point. 2018-07-11 22:14:51 -05:00
Joseph Lenox
18a5fb81b0 Added convenience function to build a Point from a Pointf that is scaled. 2018-07-11 22:14:51 -05:00
Joseph Lenox
9c13da7df0 Add additional translate() functions to accept a Point or Pointf for convenience. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ccba4d6ebf add log function to build strings for vectors 2018-07-11 22:14:51 -05:00
Joseph Lenox
17a02a9041 Added generic error message to Log; print error type to console. 2018-07-11 22:14:51 -05:00
Joseph Lenox
58f84f21e6 Fixed arguments for Polygon::new_scale 2018-07-11 22:14:51 -05:00
Joseph Lenox
65a1d57d05 Added template function to make getting references to ConfigOptions easier to write. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e4aa624ccb Add static method to create scaled Polygons from Pointf arrays. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e77e3bb683 Overloaded append() to add single ExPolygons (avoids having to create a vector for no purpose) 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac92b13e52 scale Pointf array into Points array. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1de6134101 Used correct inheritance for Config. 2018-07-11 22:14:51 -05:00
Joseph Lenox
c3edae8fe4 added warn() to log 2018-07-11 22:14:51 -05:00
Joseph Lenox
eb563be888 Added factory function for new_from_defaults. Stubbed out new_from_cli. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5e2ae0a60e Move ZipArchive to its own library. 2018-07-11 22:14:51 -05:00
Joseph Lenox
09394eac0a working on higher-level cpp Slic3r::Config that has a similar interface to the old Perl one. 2018-07-11 22:14:51 -05:00
Joseph Lenox
c1649c4dcf Start a simple Slic3r::Log to collect all of the debugging prints to a single area.
Upgrade backend to boost::log as needed.
2018-07-11 22:14:51 -05:00
Joseph Lenox
b419d06cb4 Finish renaming Config->ConfigBase in libSlic3r to make room for a Slic3r::Config that has an interface closer to the Perl version. 2018-07-11 22:14:51 -05:00
Joseph Lenox
20d588e41f Added CATCH v2.2.2 header 2018-07-11 22:14:51 -05:00
Samir55
4d1e4eb252 Refactoring. 2018-07-12 04:18:47 +02:00
Samir55
b555fff86f Porting generate_support_pillars() function. 2018-07-12 04:11:39 +02:00
Samir55
873558fec6 Refactoring. 2018-07-12 02:48:13 +02:00
Samir55
054a52b559 Porting generate_bottom_interface() function. 2018-07-12 02:41:42 +02:00
Samir55
d52dbf2bbd Refactoring. 2018-07-12 02:16:11 +02:00
Samir55
93d81062af Porting generate_base_layers() function. 2018-07-12 02:14:22 +02:00
Samir55
abea497a78 Refactoring in SupportMaterial class. 2018-07-12 01:23:32 +02:00
Samir55
4c26cd2217 Fix in compiling on macos. 2018-07-12 01:20:27 +02:00
Samir55
b84413fd0f Porting generate_interface_layers() function. 2018-07-12 01:14:24 +02:00
Samir55
da873635aa Some Refactoring. 2018-07-11 08:01:30 +02:00
Samir55
4f77048fb5 Porting generate() function. 2018-07-11 08:00:30 +02:00
Samir55
50acce9f54 Some Refactoring. 2018-07-11 07:27:45 +02:00
Samir55
5a2e71283d Porting object_top function. 2018-07-11 05:24:30 +02:00