Commit Graph

863 Commits

Author SHA1 Message Date
Henrik Brix Andersen
a8d5ee3a74 Only enable Repeat Last Quick Slice menu item after the first quick slice. 2012-07-17 23:53:16 +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
de47f5fe72 Use default desktop notification timeout. 2012-07-17 15:38:53 +02:00
Ryan Voots
19f4036d8a Time here is in milliseconds, setting it to 1500 to make it stay for at least 1.5 seconds. 2012-07-16 19:04:25 -04:00
Henrik Brix Andersen
3690b0798e Use Net::DBus instead of Gtk2::Notify due to less dependencies; recommended by @beanz. 2012-07-16 23:43:09 +02:00
Henrik Brix Andersen
095607a166 Remove excessive line breaks 2012-07-16 23:09:55 +02:00
Henrik Brix Andersen
99845955b3 Add support for libnotify notifications. 2012-07-16 22:37:31 +02:00
Henrik Brix Andersen
5d2fd17715 Use constants for menu item IDs. 2012-07-16 20:57:10 +02:00
Henrik Brix Andersen
e80d2813ed Add keyboard shortcut for SVG slicing. 2012-07-16 19:23:51 +02:00
Henrik Brix Andersen
225414724c Add keyboard accelerators to menus. 2012-07-16 19:13:35 +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
e01b20ec8e Add shortcuts keys for often used menu items. 2012-07-15 22:38:58 +02:00
Henrik Brix Andersen
5ef495a601 Improve repeated quick slice menu item text 2012-07-15 22:28:05 +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
1c6789e042 Remove duplicate_mode from options list 2012-07-15 19:36:56 +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
Alessandro Ranellucci
0aa3cc230f Merge branch 'new-flow' 2012-07-14 21:40:57 +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
Alessandro Ranellucci
e703e78504 A typo caused no newline after Tn. #530 2012-07-11 21:48:30 +02:00
Henrik Brix Andersen
500e44f8ea Reposition of Slic3r::GUI::ProgressStatusBar fields are only needed in ::OnSize() 2012-07-11 16:55:47 +02:00
Henrik Brix Andersen
5e5dc02016 Add menu item shortcut for http://slic3r.org/ 2012-07-11 16:31:17 +02:00
Henrik Brix Andersen
772ee033e0 Remove dead code. 2012-07-10 23:17:03 +02:00
Henrik Brix Andersen
025c3a1b07 Fix statusbar cancel button size on wxGTK. #431 2012-07-10 23:09:11 +02:00
Alessandro Ranellucci
079f6072a6 Use M109 P1 for Teacup 2012-07-10 19:31:09 +02:00
Henrik Brix Andersen
c144afe52b Allow specifying --first-layer-height without leading zero. #518 2012-07-08 23:02:40 +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
0266729635 Merge branch 'master' into new-flow 2012-07-06 22:10:47 +02:00
Henrik Brix Andersen
9f4444a7d4 Add missing sprintf spotted by olasd
Fixes 3c00573805
2012-07-06 22:09:17 +02:00
Alessandro Ranellucci
4f6934bab8 Merge branch 'master' into new-flow 2012-07-06 20:06:09 +02:00
Alessandro Ranellucci
3c00573805 Reset E and compensate retraction after changing extruder 2012-07-06 19:57:58 +02:00
Alessandro Ranellucci
96574e601f Infill flow wasn't adjusted for non-solid surfaces 2012-07-05 10:34:02 +02:00
Alessandro Ranellucci
7656167a0a Infill flow wasn't adjusted for non-solid surfaces 2012-07-05 10:32:29 +02:00
Alessandro Ranellucci
3714fbe0f9 Fixed regression causing random extrudates outside the object perimeter 2012-07-04 10:35:42 +02:00
Alessandro Ranellucci
e4294cffce Fixed regression causing random extrudates outside the object perimeter 2012-07-04 10:35:03 +02:00
Alessandro Ranellucci
9e77e6e8b6 Removed comment about the shortest path search for honeycomb not being useful: it is. #512 2012-07-04 10:02:45 +02:00
Alessandro Ranellucci
77123ada7c New spacing math. Speed optimizations 2012-07-04 09:33:33 +02:00
Alessandro Ranellucci
dd37867324 Bugfix: wrong spacing was calculated 2012-07-04 09:33:33 +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
566a0456ca Fixed regression causing objects to be 0.1mm larger. #495 #507 2012-07-03 20:34:19 +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
Mark Hindess
35ecd65e77 Implement nearest point index and split at index to avoid search for point. 2012-07-02 20:26:56 +01:00
Mark Hindess
35fda7de23 Revert "split_at_first_point needn't call deserialize as split_at calls it."
This reverts commit a6d8d6473c.
2012-07-02 16:57:29 +01:00
Mark Hindess
60ca76ff05 Oops. Somehow I missed this when doing interactive add. 2012-07-01 22:35:52 +00:00
Mark Hindess
ca78bbd88a Use Slic3r::Geometry polyline_lines rather than duplicate implementation.
If it is good enough for polygons, it should be good enough for polylines.
2012-07-01 23:15:17 +01:00
Mark Hindess
b11778a85f polygon_lines returns array of Slic3r::Line objects so bless is redundant. 2012-07-01 23:14:04 +01:00
Mark Hindess
a6d8d6473c split_at_first_point needn't call deserialize as split_at calls it. 2012-07-01 22:52:13 +01: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
Alessandro Ranellucci
641c2a241b Write Slic3r version in config files 2012-07-01 18:53:01 +02:00
Alessandro Ranellucci
c4b9a6cf61 Bugfix: flow wasn't adjusted for perimeters when a custom perimeters extrusion width was applied 2012-07-01 18:13:48 +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
cbb111ee64 Fix for incomplete commit causing thin gaps to throw an error 2012-06-30 17:23:55 +02:00
Alessandro Ranellucci
b9008a99f9 Fill the gaps while doing normal infill to avoid extra travel 2012-06-30 16:33:01 +02:00
Alessandro Ranellucci
5eb1982081 Bugfix: brim was extruded multiple times when sequential printing was enabled 2012-06-30 16:14:45 +02:00
Alessandro Ranellucci
a7668e0933 Revert "Reduce memory usage during gcode output by discarding processed layers."
This reverts commit 4d1551c305.
2012-06-30 16:12:06 +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
Mark Hindess
b4a21bea40 Fix for #499. 2012-06-29 17:02:37 +01:00
Mark Hindess
4d1551c305 Reduce memory usage during gcode output by discarding processed layers.
As each layer is processed, it increases in size by a factor of two
or three so by the end the layer list gets quite big.  So this removes
the list entry after it's been processed.
2012-06-29 12:33:30 +01:00
Henrik Brix Andersen
4f179a5197 Explicitly set top level window (to ensure the wizard is not assumed to be the top level window) 2012-06-28 23:20:10 +02:00
Mark Hindess
2e1649e6b5 Comment out code that builds @vertices_facets data structure.
Saves memory and speeds up reading large models.
2012-06-28 19:58:21 +01:00
Alessandro Ranellucci
fb96cdec76 Command line options to assign perimeters and infill to different extruders 2012-06-28 16:48:56 +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
3e8bc73fcb Fix typo in previous commit 2012-06-28 14:49:20 +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
84cfe7afc7 Automatically show configuration wizard on first run 2012-06-27 22:13:57 +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
eea6d84314 Bugfix: infill extrusion width was ignored 2012-06-27 19:55:54 +02:00
Alessandro Ranellucci
47a07a86ee Bugfix: GUI was unable to update flow settings 2012-06-27 19:49:53 +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
Mark Hindess
840752194f Speed up encloses_point calls from medial_axis code.
The points shouldn't be on hole borders so we can make the check
much quicker.  Gives over 50% speed up slicing reprap shot glass
(thing:11944) with default settings and 0.3 layer height.
2012-06-26 23:11:46 +01: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
Mark Hindess
a4de0e659d Trivial typo/grammar. 2012-06-25 22:51:20 +01:00
Alessandro Ranellucci
3a8f4015d6 Don't reset E when the makerbot flavor is selected 2012-06-24 21:05:44 +02:00
Alessandro Ranellucci
0938c73d08 Revert "Don't reset E when the makerbot flavor is selected"
This reverts commit 2e5e5983be.
2012-06-24 21:05:21 +02:00
Alessandro Ranellucci
2e5e5983be Don't reset E when the makerbot flavor is selected 2012-06-24 20:58:12 +02:00
Alessandro Ranellucci
0372d06247 Releasing 0.8.4 2012-06-24 16:50:09 +02:00
Alessandro Ranellucci
a4dcbd62da Remove recursion warning for Douglas-Peucker 2012-06-24 16:37:59 +02:00
Alessandro Ranellucci
f88f516c30 Optimize honeycomb travels 2012-06-24 16:09:24 +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
a861b95b12 - Change about menu item title to match UI guidelines on Mac OS X, GTK+ and MSW
- Lower-case Slic3r::GUI::about() to match other, custom methods
2012-06-24 12:09:48 +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
1fb44474a9 Connect support material paths 2012-06-23 22:58:12 +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
a9d480f7bf Bugfix: first layer extrusion width was computed on general layer height rather than first layer height. #465 2012-06-23 21:45:18 +02:00
Alessandro Ranellucci
48addf8c3f New feature: brim. #424 2012-06-23 21:31:29 +02:00
Alessandro Ranellucci
53d24bc580 Bugfix: some infill paths were not connected. #477 2012-06-23 20:27:28 +02:00
Alessandro Ranellucci
ac08cf7469 Disable arc compensation code 2012-06-23 20:19:58 +02:00
Alessandro Ranellucci
44c636aea1 Do not oversimplify outer perimeters and keep the full resolution of the input file. #340 #462 2012-06-23 20:08:08 +02:00
Alessandro Ranellucci
20229fccdb Bugfix: fatal error when a layer contained nothing 2012-06-23 18:31:24 +02:00
Alessandro Ranellucci
464400a37b Bugfix: when skirt distance was set to zero, the first loop coincided with the outer perimeter of the object 2012-06-23 17:44:05 +02:00
Alessandro Ranellucci
05e4571310 Do perimeters from outside to inside. #466 2012-06-23 17:41:44 +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
Mark Hindess
f61a1f5a07 Create *::Geometry::nearest_point_index to speed up shortest_path method.
This fix gives a further 10% speedup on simcop2387's coaster.
2012-06-22 23:12:39 +01:00
Mark Hindess
62eb41b967 Manage flattened endpoint list rather than creating it at every iteration.
Gives an 8% speedup on simcop2387's coaster for me.
2012-06-22 23:12:39 +01:00
Henrik Brix Andersen
b59040f954 Rename 'Save Config' menu item to 'Export Config' to match button label. 2012-06-21 22:50:40 +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
f2617bffda Add debug information for locating a users data directory 2012-06-21 13:21:42 +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
a578af9d28 Fix support material 2012-06-21 11:51:24 +02:00
Alessandro Ranellucci
94e28b9ab8 Require Math::Clipper 1.09 because it contains important bugfixes 2012-06-21 10:53:04 +02:00
Alessandro Ranellucci
81a5267cc7 Fix widths on plater 2012-06-20 22:50:38 +02:00