Commit graph

422 commits

Author SHA1 Message Date
John Lewin
fa90083cd4 "Add to plate" should be bound to scene content not printer
- Issue MatterHackers/MCCentral#2350
Investigate 12 failing tests
2017-11-30 11:35:10 -08:00
John Lewin
781017999c Move Selection -> Print from ui to model 2017-11-30 07:03:42 -08:00
John Lewin
bf1bba0792 Remove unused View3DWidget dependency 2017-11-30 06:58:27 -08:00
John Lewin
6f608bbeaa Move AddToPlate from ui to model 2017-11-30 06:51:06 -08:00
John Lewin
eb7f7bde7d Ensure content is loaded and scene is saved before starting print
- Return created InsertionGroup from AddToPlate
- Await insertionGroup.LoadingItemsTask before persisting changes
- Persist bed after insertionGroup load completes
- Issue MatterHackers/MCCentral#2346
Library Selection -> Print fails to produce gcode
2017-11-30 06:43:38 -08:00
John Lewin
d94525b3d9 Expose long running task so that callers can block until completed 2017-11-30 06:39:58 -08:00
John Lewin
243d5d7ec2 Await ClearPlate call
- Issue MatterHackers/MCCentral#2343
Library Selection -> Print frequently fails to place selection on bed
2017-11-30 06:10:46 -08:00
John Lewin
055bcbaa78 Check for .Connected || .FinishedPrint
- Issue MatterHackers/MCCentral#2344
Library Select -> Print unavailable after successful print
2017-11-30 06:09:21 -08:00
John Lewin
4d6ed9f913 Add support for switching to plating history items 2017-11-29 14:16:21 -08:00
John Lewin
a8ce44f7a3 Move EditContext to LoadContent call 2017-11-29 10:22:17 -08:00
Lars Brubaker
65639abc75 Added a replace undo command and used it for ungroup mesh 2017-11-20 11:19:22 -08:00
John Lewin
b6cf16afeb Fix build server errors 2017-11-17 17:46:58 -08:00
John Lewin
9ae907017c Slicing operations should pass and use printer reference
- IssueMatterHackers/MCCentral#2273
Don't send off bed items to slicing.
2017-11-16 22:10:35 -08:00
John Lewin
cf7d80225e Revert to now working PrinterCommunication using statement 2017-11-16 19:12:38 -08:00
John Lewin
df2ff919f6 Use fully qualified type name 2017-11-16 19:08:06 -08:00
John Lewin
2acbffd0ed Print menu should be disabled unless CommunicationState == Connected
- Issue MatterHackers/MCCentral#2271
Print library action is invalid if not in Connected state
2017-11-16 16:31:06 -08:00
John Lewin
cdd18ff1b8 Disable menu items in non-writable containers
- Issue MatterHackers/MCCentral#2265
Edit button doesn't appear to work in Root
2017-11-16 13:50:26 -08:00
John Lewin
4e249ed50b Add IContentStore interface, update EditContext to use and revise naming 2017-11-15 09:26:06 -08:00
John Lewin
46188d1eea Reduce Print/Slice helper method couplings to PrintItemWrapper 2017-11-15 07:41:36 -08:00
John Lewin
6df0dba376 Perform FileSystemFileItem edits and update thumbnails
- Move common FileSystemFileItem edit into base WritableContainer
- Issue MatterHackers/MCCentral#2251
Thumbnails not updated after edits
2017-11-14 17:02:25 -08:00
John Lewin
fb84b6a18a Revise scene content loading
- Remove file system dependencies
- Use library container interfaces
- Issue MatterHackers/MCCentral#2248
Bed no longer persists and rounds trips application restarts
- Issue MatterHackers/MCCentral#1764
Get edit part mode working
2017-11-14 15:45:23 -08:00
John Lewin
79274a1419 Add PlatingHistory container
- Issue MatterHackers/MCCentral#2246
Investigate using a library container for plating history
2017-11-14 14:16:50 -08:00
John Lewin
2aba5f185d Add Save method to ILibraryWritableContainer 2017-11-14 13:47:33 -08:00
John Lewin
69de19d4ca Revised Tabs
- Add tab close
- Show new tab on + tab button click
- Revise Close icon - only show circle on hover
- Add micro-thumbnails for sidebar prototype
- Issue MatterHackers/MCCentral#2243
Revise main tabs
- Issue MatterHackers/MCCentral#2242
Can't switch back from GCode2D view as all controls are lost
2017-11-12 23:13:45 -08:00
John Lewin
7f1f605c94 Scroll ListView by item height on mousewheel scroll events
- This matches Windows Explorer behavior
- Issue MatterHackers/MCCentral#2237
Mouse wheel scroll events are sluggish in library/list view
2017-11-10 17:45:16 -08:00
John Lewin
9cff33b282 Add gutter icon support to MenuItems
- Convert checkbox items to simple MenuItems with check icon
- Issue MatterHackers/MCCentral#2235
Add icon support to popup menus
2017-11-10 13:15:44 -08:00
John Lewin
3944d37ad5 Convert FlowLayouts to new PopupMenu, consolidate MenuItem helpers 2017-11-09 18:27:18 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00
John Lewin
01a8a6d0a3 Filter should include PrintHistory items
- Issue MatterHackers/MCCentral#2213
Print History container is always empty
2017-11-08 22:57:55 -08:00
John Lewin
07d488c85a Use smaller icon view in SaveAs window
- Add IconListView constructor parameter to set width/height at once
- Issue MatterHackers/MCCentral#1540
Save As window should not use large thumbnail view
2017-11-08 22:53:25 -08:00
John Lewin
6da5a4693c Move "Show Folders" filter to PrintLibraryWidget -> ContainerFilter
- Issue MatterHackers/MCCentral#2152
Folders checkbox honored by SaveAs window resulting in empty list
2017-11-08 18:22:21 -08:00
John Lewin
c1b2aeb7d8 Rename Wizard Window/Page -> Dialog Window/Page 2017-11-08 15:56:37 -08:00
John Lewin
dafddf710b Rename PrinterTabBase -> PartTabPage 2017-11-07 14:57:58 -08:00
Lars Brubaker
5638bfa646 Put in loading of OBJ files
Load 64 bit matter slice in debug
Build ray trace thumbnails in 64 bit always
2017-11-03 13:43:55 -07:00
Lars Brubaker
cfca964294 More Refactoring of RGBA_Bytes 2017-11-01 18:13:47 -07:00
Lars Brubaker
359784877f Unify Vector2 3 and 4 to have upper case field members 2017-10-31 12:53:46 -07:00
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
John Lewin
2211b5c234 Call BeginReload and thus RecomputeFlowValues before adding Folders
- Drop reflowingContent bool, track last reflown width instead
- Issue MatterHackers/MCCentral#2151
Investigate LibraryQueueViewRefreshesOnAddItem failure
2017-10-31 07:57:26 -07:00
John Lewin
9b13955907 Set padding after computing leftRightMargin
- Issue MatterHackers/MCCentral#2151
Investigate LibraryQueueViewRefreshesOnAddItem failure
2017-10-31 07:57:25 -07:00
John Lewin
53077dba74 Remove anonymous block 2017-10-31 07:57:24 -07:00
John Lewin
fb71cd2150 Fix null reference error during reflow
- Issue MatterHackers/MCCentral#2140
Investigate AddToQueueFromLibraryButtonAddsItemsToQueue
2017-10-30 16:15:31 -07:00
John Lewin
160c410319 Restore ListView mode switching, fix missing list items
- MatterHackers/MCCentral#2130
ListView item counts change as reflow occurs
- MatterHackers/MCCentral#2128
Switching listview modes results in empty list
2017-10-26 10:57:46 -06:00
Lars Brubaker
7ed9c7374c Put invalidate on IObject3D
Made insertion group center on bed if not dragging
Put names into mirror buttons
Working on new mirror test
Refactoring
2017-10-25 17:05:57 -07:00
John Lewin
5b8cc8f9b7 Collapse InsertionGroup on DragDrop finish or after Load completes
- Issue MatterHackers/MCCentral#2105
Remove InsertionGroup at completion
2017-10-23 13:58:02 -07:00
John Lewin
80962ef369 Use Text property for ExpandCheckboxButton 2017-10-22 20:09:39 -07:00
John Lewin
67ebdf6729 Move specifics to caller 2017-10-22 20:09:38 -07:00
John Lewin
ec8c3cb7c7 Reduce use of Modify 2017-10-21 09:31:17 -07:00
John Lewin
f38cd7fc41 Add ShowMessageBox overload without callback requirement 2017-10-18 19:54:06 -07:00
John Lewin
d277290497 Convert RenamePage into reusable InputBoxPage, use for Create Folder
- Allow WizardPage objects to control window Width & MinimumSize
- Issue MatterHackers/MCCentral#2086
Invalid button styling - custom window type rather than WizardPage
2017-10-17 12:37:39 -07:00
John Lewin
dbf0c46ffd Remove PrintActivePartIfPossible, wire up callers to PrintPart 2017-10-16 17:28:18 -07:00