Commit graph

660 commits

Author SHA1 Message Date
John Lewin
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -07:00
John Lewin
a324a036bc Remove UnsavedChanges prompt - always save bedplate changes before print 2017-06-02 20:59:33 -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
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
efc4d93cd7 Fix merge errors 2017-06-01 22:03:36 -07:00
John Lewin
5d55a3d83c Move world transforms outs of TrackballTumbleWidget
- Host on MeshViewer in MatterControl
2017-06-01 18:29:01 -07:00
Lars Brubaker
0e2b319348 Working on getting the Object3DIterator working 2017-06-01 09:42:40 -07:00
Lars Brubaker
5a551e9fbe Working on adding in the selection rectangle. 2017-05-31 17:47:12 -07:00
Lars Brubaker
a73414c488 using new Initialize widget method 2017-05-31 14:22:24 -07:00
John Lewin
565fa3606f Remove and replace DynamicDropDownMenu with DropDownMenu 2017-05-31 13:33:43 -07:00
John Lewin
2d737b679c Switch menus from TupleList<string, Func<bool>> to List<NamedAction>
- Menu actions always returned true and result was ignored
- Remove custom TupleList type, prefer lists with custom types
2017-05-31 12:51:15 -07:00
Lars Brubaker
4f46d1e7d4 Got decent filtering working correctly
Better debugging of BVH info
2017-05-31 11:56:25 -07:00
Lars Brubaker
4489f3407f Merge remote-tracking branch 'origin/design_tools' into design_tools
# Conflicts:
#	PartPreviewWindow/ViewGcodeBasic.cs
2017-05-30 18:16:57 -07:00
Lars Brubaker
e8de6b5b7a Working on new proof of bvh enumeration behavior 2017-05-30 17:51:52 -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
Lars Brubaker
706d86bcd0 Use the right view for drawing 2017-05-30 10:10:30 -07:00
larsbrubaker
2d0ce4bccf Testing drawing ray trace vertex data from TriangleShape 2017-05-29 16:56:56 -07:00
larsbrubaker
c0831f27db Merge branch 'design_tools' of https://github.com/MatterHackers/MatterControl into design_tools 2017-05-29 14:31:09 -07:00
larsbrubaker
105feb077f Moved the bhv debug test to the debug bvh class 2017-05-29 14:24:59 -07:00
larsbrubaker
9cb7f18276 Some interesting results with iterating IBvhItems 2017-05-29 11:44:53 -07:00
larsbrubaker
cdbff43c10 Correct transform 2017-05-27 17:06:26 -07:00
larsbrubaker
45f5d2b739 Experimenting with iterators 2017-05-27 16:29:35 -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
bce4137069 Remove sidebar, fix ViewControl buttons 2017-05-26 13:46:12 -07:00
John Lewin
4d4b9dca8e Continue migrating sidebar items to new locations 2017-05-26 02:10:22 -07:00
John Lewin
fa3eea5467 Move Undo/Redo button to PrinterActionsBar 2017-05-26 01:14:22 -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
7c4ff5569b Fix more menu issues
- Restore ViewControls3D Overflow menu selection
- Revise DropList styling
- Revert to prior mechanism for DynamicPopupContent
- Create redirector in PrinterTabPage for dynamic overflow menu
2017-05-26 00:23:20 -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
Lars Brubaker
77c3b78eb1 Merge branch 'design_tools' of https://github.com/MatterHackers/MatterControl into design_tools
# Conflicts:
#	PartPreviewWindow/PartPreviewContent.cs
2017-05-24 15:07:06 -07:00
Lars Brubaker
912101fe32 sync 3d views transform 2017-05-24 14:48:00 -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
f9c769998d Migrate View3D>Edit>Display options to ViewControls3D overflow menu 2017-05-22 18:17:35 -07:00
John Lewin
4d84844f96 Throw exceptions for missing functionality rather than Debug.Break
- Fix unexpected abort in NUnit testruns
- Tests should fail rather than crash, highlighting areas needing focus
2017-05-21 22:37:30 -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
Lars Brubaker
352eb792f1 Merge branch 'smash_1.7.1' into design_tools
# Conflicts:
#	PartPreviewWindow/View3D/View3DWidget.cs
#	SlicerConfiguration/SliceSettingsWidget.cs
#	SlicerConfiguration/SlicingQueue.cs
#	StaticData/SliceSettings/Properties.json
2017-05-19 14:57:04 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
Lars Brubaker
309132452b Cache the selection shadow mesh. 2017-04-07 11:54:53 -07:00
Lars Brubaker
c29e9a8b39 Made the selection show able to give feedback about demo mode 2017-04-07 11:54:21 -07:00
John Lewin
d647cf8a86 Add DragDrop support for image content 2017-04-05 19:03:04 -07:00
Lars Brubaker
ceaa1a94da Moved drag drop to be in our mouse data rather than mirrored api 2017-04-05 16:25:43 -07:00
John Lewin
c0ea951169 Add new UngroupCommand implementation
- Ensures that ungrouped content inherits parent transforms
2017-03-28 17:44:50 -07:00
John Lewin
78b0834e7d Extract distinct volumes from mesh on Ungroup
- Rename event to clarify intent
2017-03-28 10:31:43 -07:00