4893 Commits

Author SHA1 Message Date
Joseph Lenox
352183131a Finished update_bed_size, shuffled LogChannel position in the class.
updated a few comments.
2018-04-30 22:33:54 -05:00
Joseph Lenox
2116dfa178 more work on repaint() event handler. Now draws grid based on bed polygon in config. 2018-04-30 22:22:36 -05:00
Joseph Lenox
fb3250997b Set BackgroundStyle because wxWidgets wants us to. 2018-04-30 22:18:53 -05:00
Joseph Lenox
953977be4b Easter egg: Change Canvas text based on the current date (Sep 13). 2018-04-30 22:18:17 -05:00
Joseph Lenox
aef1bf7f37 Ported scaled_points_to_pixel, made Polygon and Polylines versions. 2018-04-30 22:17:42 -05:00
Joseph Lenox
456212918f Fixed unscale point->pixel rescale function. 2018-04-30 22:16:50 -05:00
Joseph Lenox
77ae0df2ad scale Pointf array into Points array. 2018-04-30 22:15:56 -05:00
Joseph Lenox
cc4477eb3f Used correct inheritance for Config. 2018-04-30 22:15:32 -05:00
Joseph Lenox
4eec78e1bf further fleshing out of 2d plater 2018-04-29 22:50:06 -05:00
Joseph Lenox
1c421af47b added warn() to log 2018-04-29 22:49:49 -05:00
Joseph Lenox
0a963ea0df Set LogChannel for Slic3r::GUI::Plater 2018-04-29 18:03:13 -05:00
Joseph Lenox
1548066318 Staged the 2D plater on its tab. 2018-04-29 18:02:48 -05:00
Joseph Lenox
7126d13850 Push Settings down so it's available to the plater (for color choices, etc). 2018-04-29 14:40:15 -05:00
Joseph Lenox
197b4f265f Stubbed out Solarized, added ColorScheme for default (needed for plater) 2018-04-29 14:39:44 -05:00
Joseph Lenox
108fc93fce Tweaks; removing perl deps from travis. 2018-04-29 12:56:17 -05:00
Joseph Lenox
d33ad95175 Trying to use gcc 7 for slic3r 2018-04-29 12:50:44 -05:00
Joseph Lenox
d01c5f93e0 Trying to use gcc 7 for slic3r 2018-04-29 12:49:42 -05:00
Joseph Lenox
1cbc72f126 Trying to use gcc 7 for slic3r 2018-04-29 12:48:07 -05:00
Joseph Lenox
1d1d9ba6a8 Trying to use gcc 7 for slic3r 2018-04-29 12:46:58 -05:00
Joseph Lenox
d07aaa87fd Further implementation of Plater and Plater2D. 2018-04-29 12:16:31 -05:00
Joseph Lenox
d02516d8fe Added factory function for new_from_defaults. Stubbed out new_from_cli. 2018-04-29 12:14:25 -05:00
Joseph Lenox
48b13aa1c7 Stubbed Plater constructor. 2018-04-29 10:13:39 -05:00
Joseph Lenox
31ed51de00 added descriptive comment to GUI 2018-04-29 10:13:00 -05:00
Joseph Lenox
3fda71e5dd Move slic3r_gui link higher in the chain (as it relies on libslic3r). 2018-04-29 10:08:38 -05:00
Joseph Lenox
bd6fe7114a Be more selective in what is compiled with C++11. 2018-04-29 10:08:10 -05:00
Joseph Lenox
44944a9b7d Move ZipArchive to its own library. 2018-04-29 10:07:41 -05:00
Joseph Lenox
72703ca0e8 Added menu mechanism to load 3d models. 2018-04-28 23:39:00 -05:00
Joseph Lenox
ce77ade904 Added handling to deal with if the lambda function passed in is a nullptr type. 2018-04-28 23:38:27 -05:00
Joseph Lenox
c2d10aeeed Moved plater stubs to its own cpp 2018-04-28 23:37:27 -05:00
Joseph Lenox
87b3f9582e Ensure unknown revision still works. 2018-04-28 23:13:12 -05:00
Joseph Lenox
8fb78ca5d7 Spit out the result of git rev-parse --short HEAD in AboutDialog. 2018-04-28 21:40:37 -05:00
Joseph Lenox
ac24ab827e Add AboutDialog to GUI and menu. 2018-04-28 20:53:49 -05:00
Joseph Lenox
47354beacc Added stdexcept include, convert VAR_ABS_PATH and VAR_REL to wxStrings. 2018-04-28 18:53:14 -05:00
Joseph Lenox
c0d8e68606 working on higher-level cpp Slic3r::Config that has a similar interface to the old Perl one. 2018-04-28 18:18:10 -05:00
Joseph Lenox
d24001b92d Check for datadir in OnInit(). 2018-04-28 18:17:10 -05:00
Joseph Lenox
399db5902c More misc functions (used to live as static functions in Slic3r::GUI perl file).
Passing -DVAR_ABS and -DVAR_ABS_PATH=/path/to/slic3r/var on compile redirects where Slic3r expects to find its var directory.
2018-04-28 18:15:16 -05:00
Joseph Lenox
ad46bc8106 Start a simple Slic3r::Log to collect all of the debugging prints to a single area.
Upgrade backend to boost::log as needed.
2018-04-28 18:13:51 -05:00
Joseph Lenox
d145ee3465 Finish renaming Config->ConfigBase in libSlic3r to make room for a Slic3r::Config that has an interface closer to the Perl version. 2018-04-28 18:12:26 -05:00
Joseph Lenox
2ec07cb93c Added CATCH v2.2.2 header 2018-04-28 12:32:54 -05:00
Joseph Lenox
5fc089ef99 Stub out more of the interface, working our way out from GUI::App::OnInit() 2018-04-26 21:43:00 -05:00
Joseph Lenox
998999e747 Merge branch 'master' into cppgui 2018-04-25 18:51:22 -05:00
Joseph Lenox
8a93fbbd0c Changed a few comments to doxygen format. 2018-04-25 18:50:51 -05:00
Joseph Lenox
5619e41dd1 Reordered initializer list. 2018-04-25 18:50:33 -05:00
Joseph Lenox
02834d8cce Merge branch 'cppgui' of https://github.com/lordofhyphens/Slic3r into cppgui 2018-04-25 18:23:57 -05:00
Joseph Lenox
7822802550 Rearrange initializer list in constructors to match the class order. 2018-04-25 18:22:52 -05:00
Joseph Lenox
a677002886
Update GUI.hpp 2018-04-25 00:30:47 -05:00
Joseph Lenox
cb5456f528
Update .travis.yml 2018-04-25 00:20:02 -05:00
Joseph Lenox
9eefa57089
Less magic 2018-04-25 00:10:15 -05:00
Joseph Lenox
0682c75541 point cmake to boost_root 2018-04-24 23:56:09 -05:00
Joseph Lenox
137716b8a3 added misc utility functions for the UI, including functions to get user home (for slic3r directory) and path to var. 2018-04-24 23:52:13 -05:00