5719 Commits

Author SHA1 Message Date
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
Joseph Lenox
910f95f01a added info box 2018-05-15 22:26:39 -05:00
Joseph Lenox
af041564fa added comment to append_menu_item and append_submenu. 2018-05-15 21:07:48 -05:00
Joseph Lenox
3d67cf03b8 Enable/disable toolbar on selection 2018-05-15 21:01:04 -05:00
Joseph Lenox
a418521a60 Populate and set/unset select menu. 2018-05-15 21:00:34 -05:00
Joseph Lenox
5f252f1848 Return the wxMenuItem* from append_menu_item, we do need it for some methods. 2018-05-15 20:59:46 -05:00
Joseph Lenox
3a0f5297a1 Stubbed in Plater menu. 2018-05-15 20:17:12 -05:00
Joseph Lenox
2d064e2569 Adds validation to ensure that % layer height is not compatible with adaptive slicing. 2018-05-15 19:08:51 -05:00
Joseph Lenox
dbf25fb710
Hotfix Fix typo in hotfix
(validate that % first layer heights are illegal when using adaptive slicing).
2018-05-15 17:47:28 -05:00
Joseph Lenox
f26108ec1a
Hotfix for adaptive slicing 2018-05-15 16:34:10 -05:00
Joseph Lenox
86fc28a783
Require boost. 2018-05-15 14:15:43 -05:00
Joseph Lenox
4b3986a4ee
Don't build xsgui 2018-05-14 11:08:09 -05:00
Joseph Lenox
2348ff3579
Only make linux distributables on linux. 2018-05-14 11:07:45 -05:00
Joseph Lenox
ac80e2da7f back to c++11 semantics for initialization. 2018-05-13 23:24:33 -05:00
Joseph Lenox
b799516d00 squawk on osx failures now, as it should work. 2018-05-13 23:24:16 -05:00
Joseph Lenox
708c6d0b74 ... 2018-05-13 23:14:28 -05:00
Joseph Lenox
51bb96eb21 ... 2018-05-13 23:10:13 -05:00
Joseph Lenox
99dd8d0dd9 generic build language. Can't trust anything Travis does w/r/t environment variables on its own 2018-05-13 23:05:06 -05:00
Joseph Lenox
a38b215952 don't trust travis to do anything intelligent with the language. 2018-05-13 23:03:50 -05:00