Commit graph

688 commits

Author SHA1 Message Date
John Lewin
9fd2ee08c9 Make GroupSelection into a Scene extension method 2017-06-09 07:59:59 -07:00
John Lewin
058cc565f3 Make AlignToSelection into a Scene extension method 2017-06-09 07:56:48 -07:00
John Lewin
5a5db8de83 Make UngroupSelection into a Scene extension method 2017-06-09 07:49:45 -07:00
John Lewin
ef9982cdc5 Move AlignSelected() body into AlignToSelection() 2017-06-09 07:37:46 -07:00
John Lewin
1ade968db3 AlignToSelectedMeshGroup -> AlignToSelection 2017-06-09 07:34:06 -07:00
John Lewin
221a075fa9 DeleteSelectedMesh -> DeleteSelection 2017-06-09 07:21:58 -07:00
John Lewin
352b516563 UngroupSelectedMeshGroup -> UngroupSelection 2017-06-09 07:19:44 -07:00
John Lewin
96c924bee8 GroupSelectedMeshs -> GroupSelection 2017-06-09 07:19:44 -07:00
John Lewin
b1e3a0dd97 AutoArrangePartsInBackground ->AutoArrangeChildren 2017-06-09 07:19:44 -07:00
John Lewin
9eb37d2679 MakeCopyOfGroup -> DuplicateSelection 2017-06-09 07:19:22 -07:00
Lars Brubaker
6c22a896d9 Taking out center on bed for design tools. 2017-06-08 14:43:01 -07:00
John Lewin
a4d93b1869 Revise layout, sync up more sizes and colors 2017-06-08 10:14:06 -07:00
Lars Brubaker
a689781772 Merging in 1.7.1 improvements 2017-06-07 16:09:42 -07:00
John Lewin
b0de2d1e57 Convert "Options..." menu into OverflowDropdown 2017-06-07 09:15:02 -07:00
John Lewin
7e4d3913da Remove temp workaround DropDownMenu, add CreateMenuItem to Overflow menu 2017-06-07 08:21:01 -07:00
John Lewin
e524422857 Remove Rotate/Scale controls 2017-06-06 15:21:54 -07:00
Lars Brubaker
0c64f9ff30 Missed a compile and continue code change. 2017-06-06 14:41:49 -07:00
Lars Brubaker
6ce533681f Making control add to selection.
Turned off control and shift from changing view state.
2017-06-06 13:34:42 -07:00
John Lewin
3d28b65269 Revise variable names, fix typo 2017-06-06 10:57:13 -07:00
Lars Brubaker
4302f8f05e Got selection working well on mouse up. 2017-06-06 10:06:38 -07:00
John Lewin
9389281ba8 Revise LibraryQueueViewRefreshesOnAddItem test
- Fix naming issue with SaveAs->LocalLibrary
2017-06-05 22:51:28 -07:00
Lars Brubaker
2c5f9d6c32 Make the selection consider polygons. 2017-06-05 17:57:05 -07:00
John Lewin
3ef57c7c92 Update selection from filtered results, use new .Filter method 2017-06-05 17:23:55 -07:00
Lars Brubaker
43d20880b7 Selection rect is working much better (test draw) 2017-06-05 15:45:03 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -07:00
John Lewin
564b7cc651 Use icons for terminal, eeprom, undo and redo printer actions
- Use placeholder images until custom MC assets are made
- Add attribution for placeholder images
- Remove disabled prototyping code
2017-06-04 14:46:31 -07:00
John Lewin
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -07:00
John Lewin
2eb9af71f0 Remove Overflow menu close on MouseLeaveBounds 2017-06-03 18:52:07 -07:00
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