Commit Graph

398 Commits

Author SHA1 Message Date
Alessandro Ranellucci
2548d5b993 Expose all multi-extruder settings to the GUI 2012-08-07 20:14:28 +02:00
Alessandro Ranellucci
793301d319 Allow to select multiple filaments in GUI when multiple extruders are configured 2012-08-07 18:44:47 +02:00
Alessandro Ranellucci
2616c24ffc Bugfix: plater wasn't initialized with last settings. #573 2012-08-06 19:19:22 +02:00
QuantumConcepts
6bcbc743dd Fixed #586. 2012-08-06 08:23:00 -04:00
Alessandro Ranellucci
a8e9b6926a Bugfix: each tab was loading too much from external config files 2012-08-06 13:03:44 +02:00
Henrik Brix Andersen
b1805ed7f3 Align controls and their associated labels vertically centered. 2012-08-02 23:44:42 +02:00
Henrik Brix Andersen
5518ac9fa6 Add small border on non-wxMAC platforms. Needs testing with wxWidgets 2.9.x on wxMSW + wxGTK. 2012-08-02 23:19:04 +02:00
Henrik Brix Andersen
c1e2bc5bd7 Make the wizard a tiny bit wider to fit the gcode_flavor drop-down under OS X. 2012-08-02 23:08:40 +02:00
Henrik Brix Andersen
ed89038f0b Add work-around for "Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17". #558 2012-08-02 23:07:42 +02:00
Henrik Brix Andersen
794a090892 Pass explicit tool IDs to ::EnableTool() 2012-08-02 21:49:26 +02:00
Henrik Brix Andersen
69fa308f55 Allocate wxWidget identifiers dynamically to avoid potential conflics. 2012-08-02 21:11:36 +02:00
Henrik Brix Andersen
d1b8f37dda Call print->config before print->expanded_output_filepath. #573 2012-08-01 16:06:03 +02:00
Henrik Brix Andersen
0aae15e2a8 Persist last skein directory and last config directory used across application restarts. 2012-07-30 12:08:28 +02:00
Sam Wong
4099c3a8cf #568: Show filament needed statistics in the GUI message box. 2012-07-30 01:24:51 +08:00
Alessandro Ranellucci
9933132ae6 Bugfix: recent refactoring broke slicing from plater on multi-threaded perls 2012-07-29 15:51:26 +02:00
Alessandro Ranellucci
92754d7cd4 Fix multi-extruder options in GUI 2012-07-28 11:53:10 +02:00
Alessandro Ranellucci
87934a972c Port recent global changes to the wizard 2012-07-28 11:34:12 +02:00
Alessandro Ranellucci
7e34244b05 Refactored configuration handling.
Slic3r::Config is now an object. Multiple partial config objects are used throughout the codebase as local repositories, then merged and serialized when necessary.
2012-07-27 21:16:11 +02:00
Henrik Brix Andersen
9f719d42bc Include preset name in confirmation dialog 2012-07-27 14:11:04 +02:00
Henrik Brix Andersen
9e1308c03f Ask for confirmation when deselecting a dirty preset. 2012-07-27 13:57:58 +02:00
Henrik Brix Andersen
848784ad95 Clear dirty when deleting preset. 2012-07-27 13:56:52 +02:00
Henrik Brix Andersen
40f1176346 Be careful not to change the current selection when working around http://trac.wxwidgets.org/ticket/13769 2012-07-27 13:54:45 +02:00
Henrik Brix Andersen
1cc0a79188 Allow the list and buttons to expand upon window resize 2012-07-26 16:50:57 +02:00
Henrik Brix Andersen
7b06255dca Center preset buttons 2012-07-26 16:48:28 +02:00
Henrik Brix Andersen
63e8299f14 Eliminate single-item wxSizer. 2012-07-26 16:41:22 +02:00
Henrik Brix Andersen
85603c1981 Highlight the dragged object. 2012-07-25 10:06:45 +02:00
Henrik Brix Andersen
affaee415b Reset mouse cursor on button up event. 2012-07-25 00:51:41 +02:00
Henrik Brix Andersen
5502537065 Change cursor when hoovering over a movable object. 2012-07-25 00:15:32 +02:00
Henrik Brix Andersen
e02ee17247 Respect multiline option flag. #559 2012-07-24 20:16:34 +02:00
Henrik Brix Andersen
0e6d6a9695 Force sane TAB key order on buttons in GridSizer. 2012-07-24 18:21:02 +02:00
Alessandro Ranellucci
1d364d7823 Refactor OptionsGroup to decouple it from the config repository, add ConfigOptionsGroup 2012-07-24 15:33:11 +02:00
Henrik Brix Andersen
09a222f8b2 Reshuffle code a bit to preserve TAB key order between toolbar and listctrl. 2012-07-24 14:42:38 +02:00
Henrik Brix Andersen
44f3b7d2b5 Allow TAB key navigation of controls. 2012-07-24 14:28:21 +02:00
Henrik Brix Andersen
0b0e531661 Use more generic EVT_KEY_DOWN(). 2012-07-24 14:17:10 +02:00
Henrik Brix Andersen
4bee713579 Add menuitems with keyboard shortcuts to quickly navigate between tabs. 2012-07-24 12:59:02 +02:00
Henrik Brix Andersen
4dc41d2ca3 Intercept TAB key events in the wxTreeCtrl and generate a wxNavigationKeyEvent. 2012-07-24 12:42:58 +02:00
Henrik Brix Andersen
69e075df82 Hidden Sizer items does not take up space, simply show/hide pages instead of removing/adding them. 2012-07-24 12:41:51 +02:00
Henrik Brix Andersen
642bb336eb Add the page before showing it. 2012-07-24 00:34:57 +02:00
Henrik Brix Andersen
37667d87ce Use Wx::Sizer::Detach() instead of Wx::Sizer::Remove() 2012-07-24 00:34:07 +02:00
Henrik Brix Andersen
ab9ffe9c19 Expose --external-perimeter-speed in the GUI. #556 2012-07-23 09:43:59 +02:00
Henrik Brix Andersen
a5d683a9b9 Retire unused class variable 'fields'. 2012-07-22 15:23:42 +02:00
Henrik Brix Andersen
9486a629b3 Fix speling. 2012-07-22 15:06:56 +02:00
Alessandro Ranellucci
c7bc9bed46 Workaround for a perl 5.10 bug about leaked scalars. #503 2012-07-21 14:45:45 +02:00
Alessandro Ranellucci
e71472e5d7 Remove debugging statements 2012-07-20 14:41:27 +02:00
Henrik Brix Andersen
52fb02f29d Turn nozzle count printf into debugf statement 2012-07-19 23:31:47 +02:00
Henrik Brix Andersen
35e6420ff5 Make the configuration wizard work on the first extruder. 2012-07-19 22:56:38 +02:00
Alessandro Ranellucci
30a2213fd9 Some multi-extruder options in GUI 2012-07-18 20:44:36 +02:00
Henrik Brix Andersen
9137a6b41e Queue a repaint when changing options page, fixes repaint issue on wxMSW. 2012-07-18 19:19:07 +02:00
Alessandro Ranellucci
2495a77c0f Add to GUI the setting for support material extrusion width. Also, populate %Groups with new options 2012-07-18 18:15:18 +02:00
Alessandro Ranellucci
b209eab712 Bugfix: the delete button was deleting the wrong preset 2012-07-18 16:17:23 +02:00
Alessandro Ranellucci
f173096a6c Merge branch 'new-gui'
Conflicts:
	lib/Slic3r.pm
	lib/Slic3r/Config.pm
	lib/Slic3r/GUI/OptionsGroup.pm
	lib/Slic3r/GUI/SkeinPanel.pm
	lib/Slic3r/Print.pm
2012-07-18 15:48:04 +02:00
Alessandro Ranellucci
2d17a94a38 Prevent the left treectrl to grow if preset names are too long 2012-07-18 12:00:19 +02:00
Henrik Brix Andersen
c25a31ef98 Avoid SVG slicing interfering with repeating last quick slice. 2012-07-17 23:51:57 +02:00
Henrik Brix Andersen
bd16366d62 Default to "No" when prompting about discarding unsaved changes. 2012-07-17 23:24:21 +02:00
Henrik Brix Andersen
82cfc7c3d6 Check for unsaved presets before interactively loading an existing config file. 2012-07-17 23:16:58 +02:00
Henrik Brix Andersen
a6da019fc6 Adhere to various human interface guidelines. 2012-07-16 18:34:44 +02:00
Henrik Brix Andersen
fda21bd6f2 Only set $last_skein_dir from Plater, not $last_skein_file, to avoid interfering with Quick Slice. 2012-07-16 00:28:15 +02:00
Henrik Brix Andersen
b24e0370dd Remove unused argument. 2012-07-15 23:59:50 +02:00
Henrik Brix Andersen
da7a668c94 Remove confirmation dialog on plate slicing done, request user attention instead. #537 2012-07-15 23:57:31 +02:00
Henrik Brix Andersen
a2a35f47f6 Convert Slic3r::GUI::notify() from class method to instance method. 2012-07-15 23:36:18 +02:00
Henrik Brix Andersen
9f3031a069 Remove Quick Slice button, move update text to statusbar. 2012-07-15 23:06:07 +02:00
Henrik Brix Andersen
102aea4531 Sync message dialog title with SkeinPanel.pm changes. 2012-07-15 22:53:32 +02:00
Henrik Brix Andersen
c35b57fb0b Add spacer for correctly aligning top text under wxGTK. 2012-07-15 22:44:52 +02:00
Henrik Brix Andersen
314772b314 Improve message dialog texts a bit. 2012-07-15 22:25:04 +02:00
Henrik Brix Andersen
8042d5d701 Add borders to toolbar and list view. 2012-07-15 22:14:34 +02:00
Henrik Brix Andersen
0ab7e7ad7f Show icons above text in toolbar. 2012-07-15 20:11:49 +02:00
Henrik Brix Andersen
bd77c33919 Add sunken border to tree controls. 2012-07-15 20:05:57 +02:00
Alessandro Ranellucci
23fd8de1f5 Warn user if supplied preset name is not valid 2012-07-15 18:55:01 +02:00
Alessandro Ranellucci
b37a77ee63 Apply command line options to GUI 2012-07-15 18:37:00 +02:00
Alessandro Ranellucci
9210c708fc Compatibility with --load and new GUI 2012-07-15 17:55:58 +02:00
Henrik Brix Andersen
e228b834e2 Retire the 'important' flag for options now that we have a configuration wizard. 2012-07-15 16:37:59 +02:00
Henrik Brix Andersen
4a94c64f7d Silence warning by importing Wx::Print before Wx::Html 2012-07-14 11:58:58 +02:00
Henrik Brix Andersen
57316a4ffa Add custom about dialog. 2012-07-13 23:46:39 +02:00
Henrik Brix Andersen
37a4967883 Remove dead code. 2012-07-08 22:43:52 +02:00
Henrik Brix Andersen
023e7254c7 Make reports of time spent on slicing more user-friendly. 2012-07-08 22:16:46 +02:00
Henrik Brix Andersen
cd7ea418e2 Fix background logo on wxMSW.
Wx::StaticText + Wx::StaticBitmap does not support transparent backgrounds on wxMSW; fixed by using a custom paint routine instead.
2012-07-08 19:41:13 +02:00
Henrik Brix Andersen
0982203f76 Fix configuration wizard background under wxGTK 2012-07-04 00:38:23 +02:00
Henrik Brix Andersen
a5c772a488 Add semi-transparent Slic3r icon as backdrop for the configuration wizard 2012-07-04 00:03:05 +02:00
Alessandro Ranellucci
5a8c4bf1bf Move Load Config... and Export Config... to the File menu 2012-07-03 19:16:45 +02:00
Henrik Brix Andersen
3b873ab493 Merge branch 'wizard' into new-gui 2012-07-03 18:25:32 +02:00
Henrik Brix Andersen
3fa58cf85b Add a friendly index 2012-07-03 17:21:32 +02:00
Henrik Brix Andersen
92ec70c860 Use wxDefaultPosition and wxDefaultSize to improve readability 2012-07-03 01:20:30 +02:00
Henrik Brix Andersen
e8a20eed6a Use wxDefaultSize instead of [-1, -1] 2012-07-03 00:42:06 +02:00
Henrik Brix Andersen
cd7661aa2a Use proper ellipsis for all GUI '...' strings 2012-07-01 23:29:56 +02:00
Henrik Brix Andersen
a4219ba352 Sort imported events alphabetically 2012-07-01 19:35:48 +02:00
Henrik Brix Andersen
7746040af5 Clean up Wx imports 2012-07-01 19:24:06 +02:00
Mark Hindess
07f2dab5f6 Fix perimeters_* options to be singular to be consistent. 2012-06-30 23:18:15 +01:00
Henrik Brix Andersen
bfe7108cea Provide instructions for loading an existing configuration instead of using the wizard 2012-07-01 00:17:48 +02:00
Henrik Brix Andersen
8f0aab3520 Restore old configuration if configuration wizrd is cancelled 2012-07-01 00:10:48 +02:00
Henrik Brix Andersen
bb193c659c Start configuration wizard from sane default settings 2012-06-30 23:56:11 +02:00
Henrik Brix Andersen
e656c30d4f Clean up imports 2012-06-30 23:30:52 +02:00
Henrik Brix Andersen
757da9d39d Clean up imports 2012-06-30 23:28:07 +02:00
Henrik Brix Andersen
d90e82faa3 Check for unsaved changes before running configuration wizard 2012-06-30 23:00:05 +02:00
Henrik Brix Andersen
df658eb636 Rename SkeinPanel::on_close() to make it more generice 2012-06-30 22:57:30 +02:00
Henrik Brix Andersen
a0f8078ee1 Warn on dirty default presets as well 2012-06-30 22:34:13 +02:00
Alessandro Ranellucci
d5c9b74377 Allow scaling factor to be at least 2540 to allow the conversion of inch models 2012-06-29 20:46:51 +02:00
Alessandro Ranellucci
80501d5b3c New option to customize support material extrusion width 2012-06-28 16:33:07 +02:00
Alessandro Ranellucci
f9f2361acb Allow setting different temperatures and first layer temperatures for each extruder. Also make support material extruder selection compatible with the new architecture 2012-06-28 16:22:11 +02:00
Alessandro Ranellucci
dbcfebeb66 Rename support_material_tool to support_material_extruder 2012-06-28 15:14:27 +02:00
Alessandro Ranellucci
898266fd34 Initial refactoring for supporting multiple extruders. Little speed optimization included 2012-06-28 14:44:54 +02:00
Henrik Brix Andersen
ed9f6e1f1e Rephrase a few of the wizard instructions 2012-06-27 23:20:29 +02:00
Henrik Brix Andersen
7211561ab3 Change wizard welcome text a bit 2012-06-27 21:51:12 +02:00
Henrik Brix Andersen
145b9076cc Let the wizard automatically set first_layer_height = nozzle_diameter 2012-06-27 21:03:57 +02:00
Alessandro Ranellucci
92460ba902 Bugfix: the plater didn't remember last input file directory. #485 2012-06-27 20:27:46 +02:00
Henrik Brix Andersen
dbc42f6841 Make it more clear that the wizard uses your current configuration as basis 2012-06-27 19:56:47 +02:00
Alessandro Ranellucci
96a3234eaa Different speed for external perimeters. #488 2012-06-27 19:42:16 +02:00
Henrik Brix Andersen
52872753df Minor changes to text and layout to look more like other wizards 2012-06-27 19:41:37 +02:00
Henrik Brix Andersen
cd48dc4031 - Add nozzle_diameter to Configuration Wizard
- Automatically set layer_height to (nozzle_diameter - 0.1)
2012-06-27 17:59:29 +02:00
Henrik Brix Andersen
406e31a20d Fix icon file name 2012-06-26 22:47:58 +02:00
Henrik Brix Andersen
373b341280 Remove cooling option from wizard 2012-06-26 22:47:10 +02:00
Henrik Brix Andersen
de3347c825 Add initial configuration wizard 2012-06-26 17:42:29 +02:00
Alessandro Ranellucci
a6dca1d82a New option for support material pattern spacing; also, fixes and speedups to the overhang detection 2012-06-24 14:39:35 +02:00
Henrik Brix Andersen
e024c31ce5 Use settings title to make save dialogs and tooltips more clear 2012-06-24 10:31:00 +02:00
Henrik Brix Andersen
f07ad630c4 Use tab title in close confirmation dialog 2012-06-24 10:22:44 +02:00
Henrik Brix Andersen
30d88d7ffa Store the tab name within each tab for reuse 2012-06-24 10:20:42 +02:00
Alessandro Ranellucci
36753d85b7 New option to define the overhang threshold angle for support material generation 2012-06-23 23:54:39 +02:00
Alessandro Ranellucci
bf1aba3d08 New --support-material-pattern and --support-material-angle options 2012-06-23 22:43:23 +02:00
Alessandro Ranellucci
e72bd56b9d Rename brim_thickness to brim_width 2012-06-23 22:27:59 +02:00
Alessandro Ranellucci
48addf8c3f New feature: brim. #424 2012-06-23 21:31:29 +02:00
Henrik Brix Andersen
d0588c2ef8 Ask for confirmation before closing if there are unsaved presets. 2012-06-23 17:39:20 +02:00
Henrik Brix Andersen
1409cbf7f7 Add Slic3r::GUI::Tab::is_dirty() 2012-06-23 17:38:19 +02:00
Alessandro Ranellucci
410279823c New separate option to control the addition of automatic extra perimeters. Also, add none if perimeters are set to 0. #459 2012-06-23 17:10:30 +02:00
Henrik Brix Andersen
60ff9938ef - Add Slic3r::Config::get_raw() for getting the raw, uncalculated values.
- Use get_raw() for saving and displaying options in GUI

Forward-ported from 4031cf26b4
2012-06-21 13:28:55 +02:00
Henrik Brix Andersen
c4f8c36ecc Handle ENTER key in Slic3r::GUI::SavePresetWindow 2012-06-21 13:01:59 +02:00
Henrik Brix Andersen
f69903573a Always enable preset save button. 2012-06-21 12:20:18 +02:00
Alessandro Ranellucci
81a5267cc7 Fix widths on plater 2012-06-20 22:50:38 +02:00
Alessandro Ranellucci
ac59297e39 Fixes for Windows 2012-06-20 21:43:06 +02:00
Alessandro Ranellucci
8d465aca34 A couple fixes for GTK 2012-06-20 17:17:07 +02:00
Alessandro Ranellucci
69c3f12c60 Workaround for GTK issues 2012-06-20 17:08:38 +02:00
Alessandro Ranellucci
a664709b31 Remember last presets 2012-06-19 18:11:51 +02:00
Alessandro Ranellucci
0ef8da42a6 Preset deletion 2012-06-19 17:47:48 +02:00
Alessandro Ranellucci
b910840f76 Preset shortcuts in the plater tab 2012-06-19 17:23:10 +02:00
Henrik Brix Andersen
4031cf26b4 - Add Slic3r::Config::get_raw() for getting the raw, uncalculated values.
- Use get_raw() for saving and displaying options in GUI
2012-06-19 15:32:56 +02:00
Alessandro Ranellucci
0003c093e3 Reflect external configs in preset menus 2012-06-19 14:47:02 +02:00
Alessandro Ranellucci
35f36e0446 New preset management (unfinished) 2012-06-18 22:27:57 +02:00
Alessandro Ranellucci
9e6e3bd269 Custom Treebook implementation 2012-06-18 16:46:43 +02:00
Alessandro Ranellucci
e810f9b898 Moved filament settings to new Filament tab 2012-06-18 14:29:47 +02:00
Alessandro Ranellucci
2b6b91cd01 Tooltips 2012-06-18 13:49:14 +02:00
Alessandro Ranellucci
d8a64f0386 Use spin controls for integer values 2012-06-18 11:52:45 +02:00
Alessandro Ranellucci
f38f2f139e Make window resizable 2012-06-18 11:26:21 +02:00
Alessandro Ranellucci
19a78de82f Enlarge the Output filename format field 2012-06-18 10:28:53 +02:00
Alessandro Ranellucci
a59b82db06 Switch from wxComboBox to wxChoice 2012-06-18 10:24:17 +02:00
Alessandro Ranellucci
72298877bb Moved units of measure to the right of input fields 2012-06-18 10:19:24 +02:00
Alessandro Ranellucci
b7983b54f8 Remove label for large text fields 2012-06-17 23:24:10 +02:00
Alessandro Ranellucci
ce9fdbc047 Icons for settings 2012-06-17 22:54:08 +02:00
Alessandro Ranellucci
21ef09c228 Group settings using Treebooks 2012-06-17 22:27:05 +02:00
Henrik Brix Andersen
129f0fa904 Move Growl::GNTP handling to Slic3r::GUI to allow notifications from both Slic3r::GUI::SkeinPanel and Slic3r::GUI::Plater. 2012-06-14 13:49:50 +02:00
Alessandro Ranellucci
fbfbfac2b6 New --top-solid-infill-speed option. Also, --solid-infill-speed and --small-perimeter-speed can be expressed as ratios too. #174 #151 2012-06-06 19:59:20 +02:00
Alessandro Ranellucci
8883df6692 Warn user when object couldn't be split 2012-06-06 19:00:34 +02:00
Alessandro Ranellucci
82dd3c7a3e New --perimeters-extrusion-width and --infill-extrusion-width options. #302 2012-06-06 18:05:03 +02:00