Commit graph

6465 commits

Author SHA1 Message Date
John Lewin
b70908d770 Revise TuningAdjustmentsDefaultToOneAndPersists test
- Make 'Print' button visible on PrintFinished state
2017-06-02 21:42:19 -07:00
John Lewin
39fb56453e Revise PrinterRequestsResumeWorkingAsExpected test
- Test still failing due to pause dialogs not appearing
- Make WaitForPrintFinished helper/extension method
2017-06-02 21:20:56 -07:00
John Lewin
f770384137 Revise PulseRequiresLevelingAndLevelingWorks
- Test still fails likely due to recent bug in 1.7
2017-06-02 21:07:54 -07:00
John Lewin
a324a036bc Remove UnsavedChanges prompt - always save bedplate changes before print 2017-06-02 20:59:33 -07:00
John Lewin
543ddced7c Use single statement test syntax 2017-06-02 20:29:03 -07:00
John Lewin
b0957cdd13 Return emulator from helper function, remove casts to Emulator
- Use variable name that reflects type
2017-06-02 19:57:15 -07:00
John Lewin
ccd83ba673 Extract default file plating helper to extension method 2017-06-02 19:50:08 -07:00
John Lewin
563b371395 Make SwitchToAdvancedSliceSettings helper an extension method
- Rename for clarity - numerous Settings contexts in application
2017-06-02 19:49:33 -07:00
johnlewin
c6def81f76 Merge pull request #2108 from jlewin/design_tools
Get first ActivePrintItem test passing again
2017-06-02 19:17:41 -07:00
John Lewin
f9ff588ab1 Remove unused files 2017-06-02 17:06:46 -07:00
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -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
johnlewin
955373f4de Merge pull request #2105 from jlewin/design_tools
Restore perspective after Generate button creates new children
2017-06-02 08:43:57 -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
johnlewin
12f08791cb Merge pull request #2104 from jlewin/design_tools
Move world transforms outs of TrackballTumbleWidget
2017-06-01 22:11:46 -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
cf3a542ede Merge pull request #2101 from larsbrubaker/design_tools
using new Initialize widget method
2017-06-01 09:54:57 -07:00
Lars Brubaker
e7327cbce5 This test requires we call initialize. 2017-06-01 09:50:36 -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
Lars Brubaker
ac50b820b9 Merge pull request #2100 from jlewin/design_tools
Consolidate and revise menu classes
2017-05-31 14:02:14 -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
johnlewin
7f0e1ee788 Merge pull request #2099 from larsbrubaker/design_tools
Got decent filtering working correctly
2017-05-31 12:45:25 -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
e9a0b1bb0a Merge pull request #2098 from larsbrubaker/design_tools
Design tools
2017-05-30 21:04:14 -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
a5ae51ae2b Merge pull request #2097 from jlewin/design_tools
Add support for conditional close to menus
2017-05-30 17:53: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
johnlewin
21ce081d30 Merge pull request #2095 from jlewin/design_tools
Remove ViewControls2D, use shared ViewControls across Layer2D/3D views
2017-05-27 18:17:46 -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
johnlewin
0c90910547 Merge pull request #2094 from jlewin/design_tools
Fix empty Layer2D view
2017-05-26 20:59:12 -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
Lars Brubaker
5e0e35cdc1 Merge pull request #2093 from jlewin/design_tools
Switch directly to 3D layer view
2017-05-26 15:47:50 -07:00
John Lewin
8ff6b9ae23 Switch directly to 3D layer view 2017-05-26 15:40:48 -07:00
johnlewin
bfa37055cd Merge pull request #2092 from jlewin/design_tools
Remove sidebar, fix ViewControl buttons
2017-05-26 14:01:36 -07:00
John Lewin
bce4137069 Remove sidebar, fix ViewControl buttons 2017-05-26 13:46:12 -07:00
johnlewin
aa3a48d90f Merge pull request #2091 from jlewin/design_tools
Design tools
2017-05-26 11:43:04 -07:00
John Lewin
4d4b9dca8e Continue migrating sidebar items to new locations 2017-05-26 02:10:22 -07:00