Commit graph

643 commits

Author SHA1 Message Date
John Lewin
1cc6c15f9a Consolidate PrinterEmulator into MatterControl 2018-07-27 21:51:25 -07:00
Lars Brubaker
1a7ab9460f Tumble cube has corner spots
Theme the tumble cube
2018-07-20 10:15:38 -07:00
Lars Brubaker
6825bdf229 Don't move the part off the bed if we can't see where it is going
issue: MatterHackers/MCCentral#3875
On drag part - if mouse leaves view, snap to original position
2018-07-16 17:15:28 -07:00
John Lewin
5e38277f9f Improve border consistency 2018-07-15 10:07:30 -07:00
LarsBrubaker
c8bcdc7b44 Removed HasSelection
issue: MatterHackers/MCCentral#3556
Remove deprecated Scene.HasSelection property
2018-07-13 06:55:12 -07:00
John Lewin
685541523b Spelling 2018-07-12 22:49:39 -07:00
John Lewin
bbabf95c93 Improve DI, use constructor injection 2018-07-12 09:33:15 -07:00
Lars Brubaker
d5470879ba Make sure the tree view scrolls correctly in the design history
issue: MatterHackers/MCCentral#3776
Explore if the tree view should be in a scroll container
2018-06-27 13:01:13 -07:00
John Lewin
d5d8f000f8 Add ResizableSectionWidget expansion persistence 2018-06-23 08:00:15 -07:00
John Lewin
5c1a453a75 Keep padding consistent for all node types 2018-06-23 07:13:19 -07:00
John Lewin
1c914e36a3 Always show expansion icon for selection TreeView root nodes 2018-06-23 07:12:41 -07:00
John Lewin
626ff15151 Use new ResizableSectionWidget
- Issue MatterHackers/MCCentral#3645
Tree view - Needs title and collapse ability
2018-06-22 18:39:03 -07:00
John Lewin
9e19faf7f8 Clean up references holding IObject3Ds in memory
- Modify ClearPlate to perform cleanup duties while investigating
- Issue MatterHackers/MCCentral#3602
Significantly more memory used than expected
2018-06-22 00:10:27 -07:00
LarsBrubaker
e9e55f874e Making Object3D classes consistent
issue: MatterHackers/MCCentral#3702
Consider adding 'Object3D' suffix to Object3D types or use consistent format
2018-06-21 21:03:13 -07:00
LarsBrubaker
ec28305b56 Improving suspend and resume rebuild 2018-06-20 17:21:37 -07:00
Lars Brubaker
01eeff3544 Make sure tree view starts out with selection 2018-06-07 17:53:19 -07:00
John Lewin
8b19d0c643 Ignore AfterSelect events during SelectionChanged
- Issue MatterHackers/MCCentral#3529
Scene spins indefinitely in rebuild loop
2018-06-07 17:07:26 -07:00
Lars Brubaker
0f628cefd8 Allow selection in the tree view 2018-06-05 13:38:25 -07:00
John Lewin
b6b7a1c186 Flatten namespace 2018-06-05 08:35:38 -07:00
John Lewin
d3478e646f Use new batch SetSelection in SelectAll method 2018-06-01 16:16:17 -07:00
John Lewin
1acce62763 Use new batch set selection method 2018-06-01 09:04:42 -07:00
John Lewin
5244025ae3 Consolidate tree processing
- Only build treeview once, destroy/create child content on change
- Single recursive AddTree(IObject3D) method handles all nodes
- BuildTree caller assigns node.TreeView instance on root node
- MatterHackers/MCCentral#3483
Differing construction implementations results in inconsistent TreeNodes
2018-06-01 09:04:42 -07:00
John Lewin
e563334b4d Use generic rather than printer scope
- Issue MatterHackers/MCCentral#3494
"New Part" crashes with null reference exception
2018-06-01 09:04:41 -07:00
John Lewin
5f3b869fa2 Persist user heights for tree/editor panels
- Issue MatterHackers/MCCentral#3428
Load persisted user value for tree section height
2018-05-31 15:38:58 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
Lars Brubaker
138407e21a Mesh wrapper working much better (pinch and bend working better)
Changing Rebuilding to Suspend and Resume rebuilding
Made visible meshes return only the object not the object and mesh (mesh is on object)
Put in some debugging
2018-05-29 17:50:39 -07:00
Lars Brubaker
7a5c68cf23 Put long running task at top left 2018-05-24 12:05:25 -07:00
Lars Brubaker
ff6e220b4c Made invalidate args so we can pass source and invalidate type
Rebuild does not propagate to parent
2018-05-22 16:17:13 -07:00
John Lewin
2602fef4c7 Host editor panel in BottomResizeContainer
- Issue MatterHackers/MCCentral#3424
2018-05-22 13:40:13 -07:00
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
10100b3be1 Move TreeView above edit panel
- Issue MatterHackers/MCCentral#3427
2018-05-22 12:51:04 -07:00
John Lewin
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -07:00
Lars Brubaker
c2bfefbde6 Made a bottom resize container 2018-05-21 14:15:22 -07:00
Lars Brubaker
0e96303b90 Fixed a bug with selection becoming null during an operation
Writing some test code for Gl BufferObject
2018-05-18 16:58:49 -07:00
John Lewin
dd6c105fd3 Switch from GCode to Model view on drag over
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:21:59 -07:00
John Lewin
664b736f66 Disallow model selection in GCode views
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:14:54 -07:00
Lars Brubaker
f39d2116ee Made the selection much faster and consistent 2018-05-09 16:41:45 -07:00
John Lewin
f6ce9431b6 Move state from widget to model and revise persistence/init
- Issue MatterHackers/MCCentral#3305
View style state not synced on load
2018-05-09 08:41:29 -07:00
John Lewin
6441440764 Improve readability, add uncommitted change 2018-05-09 07:50:50 -07:00
John Lewin
50ec91ea2f Ensure drag-drop GCode is disallowed on part tabs
- Issue MatterHackers/MCCentral#3318
Drag-drop GCode to part tab should not be allowed
2018-05-09 07:35:42 -07:00
John Lewin
9a43326fd5 Switch to GCode view on load if is GCode content 2018-05-07 19:22:21 -07:00
John Lewin
e46737072e Never intentionally null ContentStore 2018-05-07 19:22:21 -07:00
John Lewin
37c131adac Remove hard-coded PlatingHistory binding, reuse current reference 2018-05-07 19:22:20 -07:00
John Lewin
7fa6736e4b Remove this prefix on local member 2018-05-07 19:22:20 -07:00
Lars Brubaker
f825e502b9 Cleaning up calls 2018-05-02 11:06:52 -07:00
Lars Brubaker
6c1c8bf8bd Fixing gcode change layer with arrow keys 2018-04-23 18:48:17 -07:00
Lars Brubaker
573995658e Made the view 3d keys happen when no other control has taken them 2018-04-23 15:02:15 -07:00
Lars Brubaker
3a26b12f22 Got the view to be off center
Made the gcode panel and the model panel match sizes
The vanishing point can be moved in x
2018-04-18 09:37:02 -07:00
John Lewin
64eb8b3a0c Reduce spacing 2018-04-13 12:33:15 -07:00
John Lewin
2a21884abb Make SectionWidget collapsable when disabled
- Directly set Enabled on SectionWidgets rather than on parent
- Add ExpandableWhenDisabled property to SectionWidget
- Expose primary SelectedObjectPanel surface as ContentPanel prop
- Issue MatterHackers/MCCentral#3099
2018-04-12 07:58:08 -07:00