Commit graph

129 commits

Author SHA1 Message Date
John Lewin
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
Lars Brubaker
6c22a896d9 Taking out center on bed for design tools. 2017-06-08 14:43:01 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -07:00
John Lewin
c311f33888 Restore perspective after Generate button creates new children
- Hook meshViewer close and persist world transforms if visible
- Apply meshViewer world transforms on load if initialized
- Release event handlers on load if initialized (must occur after Close)
2017-06-02 06:46:09 -07:00
John Lewin
02482f7121 Add support for conditional close to menus
- Use IIgnoredPopupChild marker interface
- Extract RotateControl to new file
- Use PopupActionPanel base for conditional close behavior
- Extract Grid options to new GridOptionsPanel.cs
- Fix null reference on translate/scale of gcodeViewWiget
2017-05-30 17:38:19 -07:00
John Lewin
3ec34e0adc Remove ViewControls2D, use shared ViewControls across Layer2D/3D views 2017-05-26 21:28:35 -07:00
John Lewin
56e7d3c96d Remove debugging code 2017-05-26 20:25:36 -07:00
John Lewin
e45a0f16f7 Fix empty Layer2D view
- Refactor ViewControlsToggle
  - Remove public accessors to button controls
  - Add event for changing modes
  - Subscribe to new event
- Collapse named functions into single use callers for clarity
2017-05-26 20:13:56 -07:00
John Lewin
8ff6b9ae23 Switch directly to 3D layer view 2017-05-26 15:40:48 -07:00
John Lewin
dc0c285156 Adjust ViewControls colors to account for new potentially dark bgcolor 2017-05-26 00:59:47 -07:00
John Lewin
42898a6f91 Fix Layer3D view in design_tools, sync part/layer views on enter
- Revert to 1.7/ViewGcodeBasic code and make functional
2017-05-25 18:17:09 -07:00
John Lewin
08d2a6ab1a Working toward shared ViewControls3D and functional slicing
- More missing functionality restored in action bars/slicing views
2017-05-25 01:15:00 -07:00
John Lewin
69e83b3dd9 Continue migrating features to new layout
- Create toolbar for printer
- Migrate ActionBarPlus code to new toolbar
- Migrate printer specific actions from Options to new toolbar
- Consolidate and reuse theme factory instances
- Restore F1 reporting of unnamed widgets, useful for finding types
2017-05-23 19:07:57 -07:00
Lars Brubaker
78f554ce20 Fixed a bug with changing to a null print item in gcode view 2017-03-21 10:03:03 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -08:00
John Lewin
78c04a0e37 Consolidate DisplayMode logic into IsTouchscreen setting 2017-02-16 15:02:49 -08:00
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -08:00
Lars Brubaker
9c55f8f982 New default constructor, moved hanchor vanchor
removed cover
2017-02-01 16:39:24 -08:00
John Lewin
8510ca5b3d Remove duplicate .Click event from ButtonBase 2017-01-17 15:31:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
Lars Brubaker
d23a567307 Working to reduce theme changed calls as they will reload all after.
same for on active printer changed
2016-12-08 17:40:04 -08:00
Lars Brubaker
83a3c87557 Quality settings override correctly. 2016-12-06 17:54:27 -08:00
Lars Brubaker
8b72131769 Fixed down arrows on edit model page
MatterHackers/MCCentral#538
Lost down arrow for edit options on 3D view
2016-10-06 10:59:51 -07:00
Lars Brubaker
c3d96b6601 Working on Queue done button working test (+2 squashed commit)
Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
2016-09-22 12:35:34 -07:00
rytz
7d3a191194 fixing cm3 superscript in LAYER VIEW 2016-08-17 15:34:04 -07:00
Tyler Anderson
15f1c9efb6 Fixed estimated cost 2016-07-25 18:30:35 -07:00
John Lewin
f304e9f3d6 Migrate SettingsProfile functionality to new SettingsHelpers type
- Add as child property of settings scope, ready for merge of types
 - Progress on Issue #1113
2016-07-18 16:58:25 -07:00
Lars Brubaker
a95fbdf109 Made the cost and mass fields update as settings are changed
Made only settings that require gcode to be rebuilt cause the hash code to change
2016-07-18 10:52:36 -07:00
John Lewin
edc3aaab44 Rename ReloadAdvanceControlPanelTrigger to better convey intent 2016-07-13 17:22:02 -07:00
John Lewin
da695dc581 Convert more string literals into SettingsKey constants 2016-07-12 17:51:26 -07:00
Lars Brubaker
7951b22044 Bringing in the work from unlimitedbacon #1026
Adding density setting to filament
Adding cost option to filament
2016-07-05 12:24:00 -07:00
Tyler Anderson
1030b06d62 Added print cost estimate to Layer View 2016-06-27 13:02:37 -07:00
Tyler Anderson
44ccbcbe9c estimate mass based on correct density specified in material profile 2016-06-27 12:05:14 -07:00
Lars Brubaker
6ee626e794 Refactoring print settings strings into SettingsKey string consts
Made a new ReloadUiWhenChanged propertie for Properties.json
2016-06-21 09:38:37 -07:00
Lars Brubaker
773f6ddc9b More settings moved to GetValue
extruder_count
bed_temperature
2016-06-16 10:31:18 -07:00
Lars Brubaker
2ee52deea6 More settings moved to GetValue
bed_size
bed_shape
build_height
bed_temperature
min_fan_speed
also Moved BedShape out of class and into namespace
2016-06-16 10:22:38 -07:00
larsbrubaker
7f65698864 Converted more settings methods to GetValue<T> 2016-06-16 06:58:28 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
6237997de5 Fixed the arrow icons to render correctly. 2016-05-10 14:53:40 -07:00
Lars Brubaker
b51b38b249 Moved TextWidget.GlobalPointSizeScaleRatio -> GuiWidget.DeviceScale
Significantly improved the layout consistency when enlarging the device scale.
Created a DeviceMargin and DevicePadding on GuiWidget
Deleted dead code
Made many images have default larger disk sizes and scale in memory.
Made the menus have horizontal spacers rather than dashed lines
2016-05-06 17:56:27 -07:00
Lars Brubaker
895eea253c Converted lots of get properties to methods in SettingsProfile 2016-04-27 18:57:51 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
Lars Brubaker
51d4d275a5 Made the settings reset when clearing user settings
Changed RegisterForSettingsChange to SetingChanged event
Fixed z offset for jump start printer
2016-04-26 17:15:10 -07:00
Greg
97e1fb9d23 Fixed Bug: Slicing a part with no printer selected opens up Send Feedback form. We now open a message box prompting user to select a printer before slicing. 2016-03-04 11:11:20 -08:00
Greg
1e4c1cda53 Added automated test to ensure that setting values are being passed to MatterSlice with the correct values. Also added a stress test in slice settings. 2016-03-03 16:57:43 -08:00
Lars Brubaker
12eeacdef3 Took out the min bed size (regression) 2016-02-29 14:04:52 -08:00
larsbrubaker
a32b18db19 Moved the mirror controls to their own file 2016-02-26 21:54:15 -08:00
Lars Brubaker
82e6000efd Made it possible to limit the minimum scale of the trackball widget.
Fixed scale of existing widgets to not start too small.
2016-02-24 18:11:10 -08:00