773 Commits

Author SHA1 Message Date
Joseph Lenox
224f25172d partially implemented open_model as a free function in misc_ui. Initial dir and the file patterns are not implemented yet. 2018-07-11 22:14:51 -05:00
Joseph Lenox
55a8f548ca Stubbed out mouse events for left up/down/dclick. 2018-07-11 22:14:51 -05:00
Joseph Lenox
3f18687916 Implemented make_thumbnail and transform_thumbnail; neither is tested yet. 2018-07-11 22:14:51 -05:00
Joseph Lenox
efedbc6c4e Plater2DObject->PlaterObject 2018-07-11 22:14:51 -05:00
Joseph Lenox
9efe92acaa Added point_to_model_units() and clarified a couple comments. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1ededf8481 added Selected_instance field to Plater2DObject, also added reference to object index to Plater. 2018-07-11 22:14:51 -05:00
Joseph Lenox
dcb5b46bd4 Finished update_bed_size, shuffled LogChannel position in the class.
updated a few comments.
2018-07-11 22:14:51 -05:00
Joseph Lenox
1f5e6ccb67 more work on repaint() event handler. Now draws grid based on bed polygon in config. 2018-07-11 22:14:51 -05:00
Joseph Lenox
71ac9cfba3 Set BackgroundStyle because wxWidgets wants us to. 2018-07-11 22:14:51 -05:00
Joseph Lenox
fd6eec82fd Easter egg: Change Canvas text based on the current date (Sep 13). 2018-07-11 22:14:51 -05:00
Joseph Lenox
2a72485387 Ported scaled_points_to_pixel, made Polygon and Polylines versions. 2018-07-11 22:14:51 -05:00
Joseph Lenox
dd3547c7fb Fixed unscale point->pixel rescale function. 2018-07-11 22:14:51 -05:00
Joseph Lenox
508ae3ba55 further fleshing out of 2d plater 2018-07-11 22:14:51 -05:00
Joseph Lenox
2bb202e2ec Set LogChannel for Slic3r::GUI::Plater 2018-07-11 22:14:51 -05:00
Joseph Lenox
4e74249511 Staged the 2D plater on its tab. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f44efd08b0 Push Settings down so it's available to the plater (for color choices, etc). 2018-07-11 22:14:51 -05:00
Joseph Lenox
16c4146764 Stubbed out Solarized, added ColorScheme for default (needed for plater) 2018-07-11 22:14:51 -05:00
Joseph Lenox
4aef7ddff6 Further implementation of Plater and Plater2D. 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
6e541d4867 Stubbed Plater constructor. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f4abe1b3f4 added descriptive comment to GUI 2018-07-11 22:14:51 -05:00
Joseph Lenox
f0b423d5e1 Move slic3r_gui link higher in the chain (as it relies on libslic3r). 2018-07-11 22:14:51 -05:00
Joseph Lenox
d1705cc31f Be more selective in what is compiled with C++11. 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
483f4f16d8 Added menu mechanism to load 3d models. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1628649d50 Added handling to deal with if the lambda function passed in is a nullptr type. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e1667825a5 Moved plater stubs to its own cpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
99768d6928 Ensure unknown revision still works. 2018-07-11 22:14:51 -05:00
Joseph Lenox
77891effc4 Spit out the result of git rev-parse --short HEAD in AboutDialog. 2018-07-11 22:14:51 -05:00
Joseph Lenox
9558a5fb8d Add AboutDialog to GUI and menu. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5db3abfb46 Added stdexcept include, convert VAR_ABS_PATH and VAR_REL to wxStrings. 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
a2b2bf11a3 Check for datadir in OnInit(). 2018-07-11 22:14:51 -05:00
Joseph Lenox
11716e0f11 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-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
Joseph Lenox
ac4ed3f39f Stub out more of the interface, working our way out from GUI::App::OnInit() 2018-07-11 22:14:51 -05:00
Joseph Lenox
cc358a88e6 Update GUI.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
fb45227e51 added misc utility functions for the UI, including functions to get user home (for slic3r directory) and path to var. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f22647e61 stubbed Notifier class and misc helper function 2018-07-11 22:14:51 -05:00
Joseph Lenox
67f41d2c23 stub out more menus 2018-07-11 22:14:51 -05:00
Joseph Lenox
5c6f315054 Relaxed cmake version. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f40fcb322 Tab panel initializes. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f9cef4345 Stubbing out more of the UI. 2018-07-11 22:14:51 -05:00
Joseph Lenox
be580fc9ee experiment to stub out C++ only GUI 2018-07-11 22:14:51 -05:00
Samir55
5546d28150 Porting supports_z funtion. 2018-07-10 16:45:03 +02:00
Benjamin Landers
7362e56578 Fix color issues 2018-06-22 23:02:21 -07:00
Benjamin Landers
f352d433bc Basic Plate3D implementation (selection not working)
Additionally, OpenGL added to the cmakelist and xs/slic3r/GUI files fixed to be compiled.
2018-06-22 03:14:18 -07:00
Benjamin Landers
e0aa6d2f85 Patch menu deletion issue 2018-06-22 02:51:19 -07:00
Joseph Lenox
a8293029fb refactor libslic3r dependencies 2018-06-21 23:25:43 -05:00