Commit graph

541 commits

Author SHA1 Message Date
John Lewin
586c37b9d7 Guard for null 2018-02-16 12:21:46 -08:00
John Lewin
ea450868fa Proxy TooltipText from TextWidget to IconListView 2018-02-15 14:29:38 -08:00
John Lewin
78341ef3e2 Use specialized type for missing files in Queue
- Prevent DragDrop with filter for MissingFileItem
- Allow MissingFileItem in ListView in addition to IsContentFileType
2018-02-15 14:27:01 -08:00
John Lewin
82638b64a1 Add Sort/View button prototypes 2018-02-14 09:47:02 -08:00
John Lewin
9e13da5def Add sorting to library view
- Issue MatterHackers/MCCentral#2475
2018-02-14 09:45:13 -08:00
John Lewin
6185ae5223 Sort containers by name and use Linq query, rather than method, syntax 2018-02-14 08:13:38 -08:00
John Lewin
b582a83082 Skip plugins which are invalid for the current printer
- Issue MatterHackers/MCCentral#2829
Export dialog should filter non-applicable export plugins
2018-02-13 18:30:54 -08:00
John Lewin
55511875b1 Add Initialize(printer) to IExportPlugin, use ref in member functions 2018-02-13 18:11:01 -08:00
John Lewin
52492753da Add missing interface 2018-02-13 16:58:14 -08:00
John Lewin
9888c87d4e Move and rename file (DynamicContentStore)
- Issue MatterHackers/MCCentral#2823
Fix name
2018-02-13 16:44:14 -08:00
John Lewin
2efc28bc94 Remove GetOptionsPanel requirement from IExportPlugin
- Add IExportWithOptions for additional specialization
2018-02-13 16:26:07 -08:00
John Lewin
158d907c08 Add printer param to IExportPlugin.Generate()
- Issue MatterHackers/MCCentral#2828
Export plugins should be passed a reference to the export printer
2018-02-13 16:26:07 -08:00
John Lewin
fab8c5da07 Restore UI for leveling GCode exports
- Issue MatterHackers/MCCentral#2558
Export GCode needs to collect/respect leveling option
2018-02-13 16:26:07 -08:00
John Lewin
273468041f Set MeshPath on load to track original source file 2018-02-13 12:46:55 -08:00
John Lewin
74c6b4f255 Center all content on bed except active BedPlate 2018-02-13 12:46:55 -08:00
John Lewin
a0a9df8496 Fix typo during refactor 2018-02-13 12:46:55 -08:00
John Lewin
1d940c4254 Ensure content is always persisted before slicing 2018-02-13 12:46:55 -08:00
John Lewin
6dadc8869f Remove breaking change 2018-02-13 12:46:54 -08:00
John Lewin
54032fac73 Collapse export into existing method, resolve outstanding issues 2018-02-13 12:46:54 -08:00
John Lewin
f8d9070c61 Rename GetContentStream() -> GetStream() 2018-02-12 19:26:38 -08:00
John Lewin
f440981e51 Rename ILibraryContentStream -> ILibraryAssetStream 2018-02-12 19:26:38 -08:00
John Lewin
7a4d4df4c0 Rename ILibraryContentItem -> ILibraryObject3D
- Rename member .GetContent() -> .GetObject3D()
2018-02-12 19:26:38 -08:00
John Lewin
995d5c18bf Add common base interface and necessary implementations 2018-02-12 19:26:38 -08:00
John Lewin
fa3471a3ca Simplify, fix naming 2018-02-12 19:26:38 -08:00
John Lewin
39af20993d Remove unused ILibraryContentItem.SetContent() definition 2018-02-12 19:26:37 -08:00
John Lewin
e2b9513fa3 Change accessibility of collector function to private 2018-02-12 19:26:37 -08:00
John Lewin
1f1f9b64ea Remove dead code 2018-02-12 19:26:37 -08:00
John Lewin
68f7c2fa12 Collapse ILibraryReadOnlyStream into ILibraryContentStream 2018-02-12 19:26:36 -08:00
John Lewin
19972a900f Move SaveChanges from GuiWidget(View3DWidget) to SceneContext 2018-02-12 19:26:36 -08:00
John Lewin
1337837c33 Use lower interface definition used by subtree editing context
- Issue MatterHackers/MCCentral#2815
Investigate SaveAsToQueue failure
2018-02-10 00:23:48 -08:00
John Lewin
3091128c1a Add zip support to SqliteContainer
- Issue MatterHackers/MCCentral#2814
Investigate LocalLibraryAddButtonAddZipToLibrary failure
2018-02-10 00:12:48 -08:00
John Lewin
ca626efee1 Improve styling of GCode details panels
- Issue MatterHackers/MCCentral#2812
2018-02-09 22:51:18 -08:00
John Lewin
30cf0c0f60 Add support for slicing persisted but in memory IObject3D items
- Issue MatterHackers/MCCentral#2785
Exception in AddObjectsForExtruder
2018-02-09 18:11:55 -08:00
John Lewin
69b459352e Add extension methods to ImageBuffer for CreateScaledImage 2018-02-08 16:11:45 -08:00
John Lewin
92ebda5e90 Add support for saving created content to library containers
- Issue MatterHackers/MCCentral#2767
LibraryContainer -> Save fails in SqliteContainer
- Issue MatterHackers/MCCentral#2743
Part -> Edit -> Save fails to save back to original
2018-02-07 18:46:31 -08:00
John Lewin
3e30a488d4 Mark container as non-protected content
- Issue MatterHackers/MCCentral#2782
Unable to drag-drop files from file system to "Local Library"
2018-02-06 21:28:47 -08:00
John Lewin
ad0a42a929 Save valid streams to library as content rather than convert to AMF
- Adds support for non-mesh content
- Resolves invalid conversion from MCX to AMF
- Leaves content unmodified
- Issue MatterHackers/MCCentral#2781
Automation tests fail due to thrown exception
2018-02-06 21:27:43 -08:00
John Lewin
f43c719c09 Pass scene instead of sceneContext 2018-02-06 08:47:30 -08:00
Lars Brubaker
31a3156510 Removing the requirement of flattening the scene 2018-02-05 17:37:42 -08:00
Lars Brubaker
010b57649e Added in ability to manually adjust the gcode time multiplier 2018-02-02 10:33:45 -08:00
John Lewin
6128d20463 Turn off rainbow coloring and review
- Issue MatterHackers/MCCentral#2733
Reconsider primitive colors
2018-02-01 18:49:31 -08:00
John Lewin
e998f137aa Rename Connection.PrinterIsConnected -> Connection.IsConnected 2018-02-01 14:51:44 -08:00
John Lewin
2f87329ee5 Restore default constructor for failing automation tests
- Issue MatterHackers/MCCentral#2754
Disabled default constructor on SqliteLibraryContainer breaks tests
2018-02-01 14:14:15 -08:00
John Lewin
fa76e080cc Restore autoreset event in SDCardContainer 2018-02-01 09:04:38 -08:00
John Lewin
41da8c676b Remove unused constructor, consolidate Initialize into constructor 2018-02-01 09:03:56 -08:00
John Lewin
085be24c2d Restore automatic Load in OnContentChanged, rename to ReloadContent
- Add new OnContentChanged so derived types can fire ContentChanged
- Issue MatterHackers/MCCentral#2748
Investigate ~30 failing tests due to OnContentChanged revision
2018-02-01 09:01:57 -08:00
John Lewin
54aff1d05f Use IconColor.Theme loader
- Issue MatterHackers/MCCentral#2740
SD Card icons should not be black on dark theme
2018-01-31 16:12:38 -08:00
Lars Brubaker
cefd99b361 Making STL and MeshFileIo take a cancelation token 2018-01-31 09:54:22 -08:00
John Lewin
dad8829f69 LibraryContainer -> OnContentChange should not call this.Load()
- Doing so causes cascade of recursive calls
- Callers should load changes and notify via OnContentChange
2018-01-30 18:06:09 -08:00
John Lewin
0bfa366048 Always show SDCard container if enabled on printer
- Refresh on Connect/Disconnect
- Remove lag - drop AutoResetEvent until need is established
- Issue MatterHackers/MCCentral#2610
SD card folder should always be visible if enabled
2018-01-30 18:06:09 -08:00