Commit graph

56 commits

Author SHA1 Message Date
John Lewin
b1cc3fe5ac Remove WizardButton factory 2018-04-14 21:13:59 -07:00
John Lewin
1878dfc458 Remove printer selected guard in export page, use plugin model
- Issue MatterHackers/MCCentral#3109
Can't export from library if no printer selected
2018-04-13 18:34:58 -07: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
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
127fedd0d5 Simplify SaveAs, move into menu definition,
- Extract persistence to Scene.ToPersistedLibraryItem()
2018-02-12 19:26:37 -08:00
John Lewin
8cc01f9791 Remove experimental code 2018-02-12 19:26:36 -08:00
Lars Brubaker
7741b3a278 Update the default name we use to save the workspace 2018-01-03 14:49:47 -08:00
LarsBrubaker
af62be6a4e Fixing warnings 2017-12-04 23:09:10 -08:00
John Lewin
ffc9ade8cb Text owners should localize their text values
- Derived types should localize their own text rather than the base
2017-12-04 15:07:56 -08:00
John Lewin
2cfd11d104 Extract trailing colons 2017-12-04 15:07:55 -08:00
Lars Brubaker
6b0f46b063 Don't load svg test in release 2017-11-22 11:09:49 -08:00
John Lewin
d629ea8240 Add SvgWidget 2017-11-16 08:16:19 -08:00
John Lewin
c1b2aeb7d8 Rename Wizard Window/Page -> Dialog Window/Page 2017-11-08 15:56:37 -08:00
John Lewin
f38cd7fc41 Add ShowMessageBox overload without callback requirement 2017-10-18 19:54:06 -07:00
Tyler Anderson
548fbaec60 Enable "Show file in folder" on Linux 2017-10-09 15:03:36 -07:00
John Lewin
e33e4cce67 Simplified object model for hosting Agg 2017-10-04 17:55:50 -07:00
John Lewin
d1f9c04613 Use specialized type for IObject3D.Children 2017-09-26 13:19:53 -07:00
Lars Brubaker
09334ac6d6 More name changes 2017-09-20 18:55:03 -07:00
John Lewin
294df0a588 Convert ActiveSliceSettings usage from static to local references 2017-09-17 01:12:18 -07:00
Lars Brubaker
b39666634a More making printerConnection passed to classes.
Made the speeds for movement controls be extensions methods on PrinterSettings
TODO: Why on ExportPrintItemPage was that if the leveling turned on or off we would show the check box by rebuilding that window.
2017-09-05 10:33:46 -07:00
Lars Brubaker
41378d2286 Getting more tests passing 2017-08-30 13:42:11 -07:00
John Lewin
98238aad40 Move HeaderText from constructor parameter to WizardPage property
- Improves readability, allows side-by-side with Window title
- Slight increase in overhead due to reconstruction of internal printer
2017-08-24 00:16:31 -07:00
John Lewin
65135f93a2 Require WizardPage actions to be registered with AddPageAction
- Add HorizontalSpacer and Cancel buttons to all windows
2017-08-23 17:27:30 -07:00
John Lewin
559c300cb4 Revise WizardWindow api
- WizardPage instance should drive window namespace and title
- Key open windows page initial WizardPage type
2017-08-23 15:51:29 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
0af95b8f70 Auto check first radio item 2017-08-19 09:50:24 -07:00
John Lewin
58ca19523b Remove unused variables 2017-08-19 08:06:11 -07:00
John Lewin
70a8540e55 Use icons on export page 2017-08-18 18:13:15 -07:00
John Lewin
44857fa108 Sort export plugins by RadioButton text 2017-08-12 00:21:17 -07:00
John Lewin
656c33bbf5 Add experimental 'Export to Folder' IExportPlugin 2017-08-11 23:53:27 -07:00
John Lewin
9033da3776 Extract GCode export to new IExportPlugin interface 2017-08-11 23:25:38 -07:00
John Lewin
c090aef2ef Extract Stl/Amf exports to new IExportPlugin interface 2017-08-11 23:25:37 -07:00
John Lewin
0d5d0eeab0 Refactor export plugins 2017-08-11 23:22:59 -07:00
John Lewin
420a8abe18 Remove all Part Export -> PrintItemWrapper dependencies 2017-08-09 14:40:48 -07:00
John Lewin
ac5fb6f3cf Revise shared export implementation to support export plugins 2017-08-09 13:24:49 -07:00
John Lewin
6d3c4aac3c Use consistent name and location 2017-08-09 12:05:17 -07:00
John Lewin
a98420fda8 Wireup GCode export to async slicing, revise shared export to follow 2017-08-09 12:00:23 -07:00
John Lewin
c881624aac Remove duplicate code 2017-08-09 11:25:19 -07:00
John Lewin
e60e77eba7 Revise shared export implementation to support GCode 2017-08-09 11:14:38 -07:00
John Lewin
342a9b1573 Revise shared export implementation to support Amf 2017-08-09 11:13:51 -07:00
John Lewin
4bc246285f Revise SaveAmf to take ILibraryContentStream 2017-08-09 09:11:06 -07:00
John Lewin
483c696590 Use radio button for Amf export 2017-08-09 09:11:06 -07:00
John Lewin
b103218d5f Use radio button for Stl export, add dedicated/wizard Export button 2017-08-09 09:11:06 -07:00
John Lewin
2716ed4be7 Remove filesystem dependency from SaveStl export source
- Convert to ILibraryContentStream
- Extract UI interactions to SaveStl caller
- Return success result from SaveStl
2017-08-09 09:11:06 -07:00
John Lewin
b504066ba2 Fix amf export, remove saveParams dependency in SaveAmf 2017-08-08 21:22:26 -07:00
John Lewin
c78e8e3a6f Fix stl export, remove saveParams dependency in SaveStl 2017-08-08 21:22:25 -07:00
John Lewin
fb568a074a Refactor ExportPrintItemPage 2017-08-08 21:04:20 -07:00
John Lewin
d2a9f6a8f4 Move button click events to inline lambdas 2017-08-08 20:58:00 -07:00