5737 Commits

Author SHA1 Message Date
Joseph Lenox
33b5b7c003
settings to ui_settings 2018-06-14 11:29:23 -05:00
Joseph Lenox
3ac6cbdbfd
Cleanup of Settings usage/propagation 2018-06-14 11:07:19 -05:00
Joseph Lenox
b249b75be8
Refactoring Settings store. 2018-06-14 09:25:22 -05:00
Joseph Lenox
cc0ee1931f
Refactoring Settings store. 2018-06-14 09:24:37 -05:00
Joseph Lenox
c6639786b7
Cleaning up settings to ui_settings 2018-06-14 09:24:03 -05:00
Joseph Lenox
32f440ea65 Fix _update() signature. 2018-06-13 23:14:34 -05:00
Joseph Lenox
759428fef7 Fixed how bitmap was instantiated, forgot a } 2018-06-13 23:00:34 -05:00
Joseph Lenox
e9df376f9b Fixed some typos, working on getting code to build. 2018-06-13 22:50:52 -05:00
Joseph Lenox
cbc026e4ed Update now takes an argument, added accessor functions to get the type as both a preset enum and integer (index into vector)
Stubbed in more functions.
2018-06-13 22:46:12 -05:00
Joseph Lenox
9e068d5d65 Match prototype for add_options_page 2018-06-13 22:36:58 -05:00
Joseph Lenox
c70ecd68ba Add GUI.hpp to include list. 2018-06-13 22:35:15 -05:00
Joseph Lenox
4fc9a09bc9 Stubbed out more functions in PresetEditor 2018-06-13 22:26:51 -05:00
Joseph Lenox
8e5d2595d6 Fixed signatures for on_save_preset and on_value_change function objects. 2018-06-13 22:26:21 -05:00
Joseph Lenox
f2d0dae357 Added more functions to PresetEditor interface 2018-06-13 22:25:44 -05:00
Joseph Lenox
1b8e880c84 Added LogChannel interface function (pure virtual) to PresetEditor 2018-06-13 22:24:58 -05:00
Joseph Lenox
80bc61d833 Moved presets vector to public from private. 2018-06-13 22:24:06 -05:00
Joseph Lenox
93039e13fc Quick reference macro to GUI with the cast applied so access is available 2018-06-13 22:20:57 -05:00
Joseph Lenox
d95d7f8d55 Bring in Preset reference file 2018-06-13 22:19:36 -05:00
Joseph Lenox
2b6e64756e finished removing local settings in favor of singleton ui_settings 2018-06-13 22:17:25 -05:00
Joseph Lenox
9d9781acd5 Made Preset methods public (as originally intended), added == for wxString and std::string to let std::find behave nicely. 2018-06-13 22:08:22 -05:00
Joseph Lenox
97acd95341 Added comment for prompt_unsaved_changes 2018-06-13 22:07:16 -05:00
Joseph Lenox
d8d7119f47 pages is PresetPage, not wxString 2018-06-13 22:06:49 -05:00
Joseph Lenox
a9b6946066 Added overriding and overridable options. 2018-06-13 21:32:47 -05:00
Joseph Lenox
82836f1ec3 Moved to C++14 syntax with string literals. 2018-06-13 21:31:42 -05:00
Joseph Lenox
bd35919804 Push GUI config/settings store out to a singleton unique_ptr that is instantiated during OnInit. 2018-06-13 21:00:17 -05:00
Joseph Lenox
7cdeb7b454 Require C++14 for GUI 2018-06-13 20:48:45 -05:00
Oekn5w
c058ae91d2 Moved resetting parameter of thumbnail generation to on_thumbnail_made (#4443) 2018-06-08 21:51:49 -05:00
Ahmed Samir
1527cfbb26 Allow to set shell thickness for top/bottom layers (#4430)
* Fix a warning in PresetEditor line 806.

* Remove min_shell_thickness from the if condition in  LayerRegion.cpp

* Add missing line in spiral vase check.

* Add initial set top shell thickness.

* Add minimum shell thickness for top/bottom layers.

* Some refactoring.

* Some Fixes.

* revert last change.

* a fix.

* Some refactoring.

* Some fix in calculating solid layers count.

* Refactoring in LayerRegion.cpp, Object.pm and PresetEditor.pm
2018-06-06 19:26:03 -05:00
Joseph Lenox
ba4a313897 Build statically and build in a subdirectory. 2018-06-06 18:25:36 -05:00
Joseph Lenox
f59b6bea42 Committing PresetEditor.cpp 2018-06-06 18:22:50 -05:00
Joseph Lenox
109fdce8c8 refactored to accept a t_config_option_keys for initializer. 2018-06-05 22:39:48 -05:00
Joseph Lenox
832c0eb101 Stubbing out the various editors for print/material/printer 2018-06-05 22:39:12 -05:00
Joseph Lenox
31ba88eaa4 Fixed typo (missing &) in update 2018-06-05 19:47:39 -05:00
Benjamin Landers
ff3234d8f0 Fixes related to Face Rotation (#4437)
* Adjust size of icon to match others

* Make the rotate button disabled if a face is not selected

* Fix color issue
2018-06-04 20:29:15 -05:00
Joseph Lenox
8eb7f952ea Moved PresetEditor into Dialogs subdir 2018-06-04 16:26:55 -05:00
Joseph Lenox
451d202be5 Properly initialize the toolbar state on start 2018-06-04 16:25:06 -05:00
Joseph Lenox
e83a6c4779 Changed small_font to be a function; avoids initialization segfault (calling wxSystemSettings before wx is initialized). 2018-06-04 16:19:17 -05:00
Benjamin Landers
9856947d45 Rotating face to match plane (#4424)
* Prototype for selecting Face

* Fixed the speed issue - only allocates the array once

* Selecting faces works.

* Add UI elements to run rotate to bed function

(and a bad icon)

* Cleaned up a bit

* Optimized regular frame times (to a decent state) and added TODO for first frame time

* Add rotate face dialog

* Change how coloring for face selection works

* Cleanup according to comments

* Added grouped undos

* Easy fix for variant of #4420

* Added plane selection

* Edited UI labels to be more consistent

* Add a workable rotate face icon
2018-05-31 17:50:40 -05:00
Caroline
f3b590911d Partial implementation #1405: minimum shell thickness option (#3885)
* Added Minimum shell thickness option

-Added the option to libslic3r
-Created some of the necessary checks for illegal values

* Enforce min_shell_thickness as 0 when spiral vase is enabled

-This could be switched to match the extrusion width, but we already know there will only be 1 perimeter so this is probably more logical

* Feature is implemented

-Added a method in PerimeterGenerator to determine the amount of perimeters needed to meet min_shell_thickness

* Added a test in perimeters.t

* Fixed styling as requested

-Removed the magic number in PerimeterGenerator::num_loops()
-Added more test cases in perimeters.t
-Added documentation of the new feature in slic3r.pl and README.md

* Implemented requested changes

-Removed the num_loops function from PerimeterGenerator
-Added a scalled min_shell_thickness variable to PerimeterGenerator
-Changed the loop_number logic to use a previously defined variable loops

* Resolved more implementation issues

-Added min shell to invalidate state method
-Created additional checks in PresetEditor and LayerRegion for min shell
-Fixed the tooltip to be more descriptive
2018-05-22 19:25:02 -04:00
Merill
61ace41351 merge FillGyroid to slic3rPe state (bubnikv refactoring) (#4425)
contains a bugfix for #4406
2018-05-22 18:46:47 -04:00
Joseph Lenox
d20c0f48ca workaround: avoid requiring c++14 just yet. 2018-05-21 22:01:35 -05:00
Joseph Lenox
7cb17d4fb2 Stubbed out more of PresetEditor and Preset 2018-05-21 20:56:55 -05:00
Joseph Lenox
e329a3ea88 Require C++14 support for gui compile (because string literals are really really useful). 2018-05-21 20:47:01 -05:00
Joseph Lenox
d74712ef7d Moved Preset to its own header. 2018-05-21 16:28:44 -05:00
Joseph Lenox
c5653a1435 Log otherwise uncaught exceptions so we have an idea where it came from. 2018-05-17 22:36:43 -05:00
Joseph Lenox
27dc6870e4 working through UI for preset selector. 2018-05-17 22:01:48 -05:00
Joseph Lenox
43c4721c26 Added preset type enumeration 2018-05-17 22:00:59 -05:00
Joseph Lenox
7f485cd094 Implemented callback system with a registration function that manipulates a stack.
Stack access is protected by a mutex. Writes block until mutex is gotten, reads will try again later in event handler.
2018-05-17 21:21:19 -05:00
Joseph Lenox
5f2fa5b5fb Add adv to build (support wxbitmapcombobox) 2018-05-17 21:14:51 -05:00
Joseph Lenox
ae7fdfe227 Only match if it's a %. 2018-05-15 22:47:40 -05:00