Commit graph

39 commits

Author SHA1 Message Date
John Lewin
52fefd5766 Update ReportProgressRatio to new signature 2017-06-30 23:44:05 -07:00
John Lewin
6afbbe4cd8 Add new LoadGCode function to model 2017-06-30 23:44:02 -07:00
John Lewin
e441f25c63 Add LoadedGCodedChanged event, more code to model, less dynamic controls 2017-06-30 23:44:01 -07:00
John Lewin
81e3cc1425 Rename NumChangesInZ to LayerCount 2017-06-29 14:17:08 -07:00
John Lewin
b57a63fe3e Never set EndLayerIndex to 0 2017-06-29 14:17:08 -07:00
John Lewin
3ab89b8d3f Move ownership of GCode ActiveLayer & FeatureToStart/StopOn to model 2017-06-29 14:17:08 -07:00
John Lewin
8b3bc325cd Extract GCodeRenderer from widget to model 2017-06-24 10:38:08 -07:00
John Lewin
847c088cce Extract loaded GCodeFile from widget to model 2017-06-24 10:30:11 -07:00
John Lewin
baa9feba81 Closer to gcode/mesh viewer consolidation
- Collapse right panel content into scene
- Move GCode view options into overflow menu
- Extract View3D options state from widgets to app model
2017-06-24 08:32:09 -07:00
John Lewin
aba13453a7 Add GCode content provider for custom icon, future custom drag behavior 2017-06-21 07:41:12 -07:00
John Lewin
d6d625245f Remove Theme Suspend/Resume calls, only fire ReloadAll if not loading 2017-06-21 07:29:22 -07:00
John Lewin
e3856cec60 Remove partial keyword from ApplicationController 2017-06-19 09:29:22 -07:00
John Lewin
0e646a0c94 Move PartPreviewWidget factories into ThemeConfig
- Extract ThemeConfig to file
- Pass ThemeConfig to IObject3D creators
2017-06-19 09:19:00 -07:00
John Lewin
6303aac2c5 Revise splitter styling, get splitter cursors working 2017-06-17 11:58:00 -07:00
John Lewin
15263ed806 Try out temp controls in scene before move to Controls section 2017-06-16 22:39:00 -07:00
John Lewin
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
8cccf19323 Remove AppSettings wrap widgets, convert to concise white settings menu 2017-06-15 23:55:01 -07:00
John Lewin
d950e76722 Workarounds for DesignTools Android 2017-06-14 19:39:30 -07:00
John Lewin
1ac3274e7d Move CommunicationState enums into PrinterCommunication namespace 2017-06-13 17:33:23 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
John Lewin
9112ef6cbd Remove PreChangePanels event 2017-06-13 16:50:58 -07:00
John Lewin
bf6c40acab Revise ThumbnailGeneration task
- Gracefully shutdown on application close
- Prevent exception on application close
- Simplify looping logic
- Only WaitOne if thumbnail queue is empty
2017-06-13 13:08:53 -07:00
John Lewin
604d131a1b Make helper method pin SliceSettings tab as needed
- Use "Slice Settings" tab name expected by tests
2017-06-12 20:35:48 -07:00
John Lewin
f34a4db86f Revise Spitter and PopupWidget 2017-06-12 14:19:04 -07:00
John Lewin
e8dca6d34e Extract and consolidate reset button generators to ThemeConfig 2017-06-11 16:45:30 -07:00
John Lewin
9a46a5cd22 Prevent SliceSettings changes from spinning up MatterControl
- Use event to signal MaterialChanged
- Register MaterialChanged listeners on MatterControl startup
2017-06-10 11:24:21 -07:00
John Lewin
a4d93b1869 Revise layout, sync up more sizes and colors 2017-06-08 10:14:06 -07:00
John Lewin
8870fe3b1d Exit thumbnail generation loop on ThreadAbortException
- Prevent exception suppression
- Name thread for improved debugging experience
2017-06-04 08:26:17 -07:00
John Lewin
97b2bc2c8a Remember selected tab index between ReloadX events 2017-06-03 19:27:30 -07:00
John Lewin
dd9e2d30b5 Revise RenameButtonRenamesLocalLibraryFolder test
- Restore support for LocalLibrary -> Create Folder
- Share Selection logic between Row/Icon views
- Make folders selectable
- Improve naming of DirectoryContainerLink
2017-06-03 15:11:12 -07:00
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -07:00
John Lewin
55e217641a Better expose reusable components
- Move ActiveView3D reference to ApplicationController
- Use ActivewView3D reference rather than ChildrenRecursive search
- Reuse EditPrinter button on action bar to get more tests passing
- Move IsContentFileType helper to LibraryConfig
- Make PlatingHelpers operate on IEnumerable<IObject3D> versus Scene
- Pass Scene.Children rather than Scene
- When plating multiple items, pass the updated IEnumerable context
2017-06-02 13:23:08 -07:00
John Lewin
5d55a3d83c Move world transforms outs of TrackballTumbleWidget
- Host on MeshViewer in MatterControl
2017-06-01 18:29:01 -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
4559073237 Move more widgets to printer action bar
- Extract elements in PrinterConnectAndSelectControl to components
- Use new components in printer action bar
- Extract more factories to shared components
- Move shared color to ThemeConfig
- Add support for widget generation during ShowPopup
2017-05-24 14:19:02 -07:00
John Lewin
459dd3d304 Sync tab styling
- Fix temperature widget flow orientation for toolbar
- Create reusable constructor function for tabcontrols
- Conditional printer tab title of "Printer" or [PrinterName]
2017-05-23 21:29:03 -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
John Lewin
1e643617c5 Adjust tab styling
- Pass separator bars to tabs, disable drawn borders
- Remove ActionBar from leftnav
- Remove PrintProgressBar from leftnav
- Revise BreadCrumb button attributes
- Revise UpFolder icon
- Revise overflow/pancake menu icon
- Create OverflowButton to encapsulate common menu item
- Use horizontal/VerticalLine for consistent color/weight separators
- Reduce visual clutter
  - Minimize regions created by color and line separators
  - Reduce the contrast of separator lines
  - Reduce the contrast of region backgrounds
  - Use consistent background colors across sibling tab pages
2017-05-23 14:54:36 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00