Commit graph

56 commits

Author SHA1 Message Date
John Lewin
78e5649506 Code cleanup 2019-02-22 23:13:56 -08:00
John Lewin
b85d79e774 Extract leveling data visualizer to IDrawable 2019-02-22 21:53:34 -08:00
John Lewin
9ca18ad7ef Add LevelingMeshVisualizer for bed view 2019-02-22 21:14:17 -08:00
Lars Brubaker
ac03a4fcfd Improving subtract object rendering 2019-02-13 10:26:02 -08:00
John Lewin
1faddfd80c Observe Drawable.Enabled and DrawStage 2019-02-04 16:18:06 -08:00
John Lewin
32ab931342 Add item TraceData renderer 2019-02-04 16:18:06 -08:00
John Lewin
02793f790b Simplify 2019-02-04 16:18:06 -08:00
John Lewin
cf4bece014 Extract selection rendering to new Drawable 2019-02-04 16:18:06 -08:00
John Lewin
a9bb99cd99 Adjust timing so that some stages are inside/outside of SetGLContext 2019-02-04 16:18:06 -08:00
John Lewin
83712d7e08 Add and use new ISceneContext interface 2019-02-04 16:18:06 -08:00
John Lewin
ae923cd484 Move AddTransformSnapshot to InteractiveScene 2019-02-04 16:18:06 -08:00
John Lewin
3e7fcbbc09 Consolidate conditional color logic into existing GetItemColor() 2019-02-04 16:18:05 -08:00
John Lewin
2d1c6a560a Add toggles to Gui surface for demo 2019-02-04 16:18:05 -08:00
John Lewin
c7e76e1996 Add Enabled property to IDrawable 2019-02-04 16:18:05 -08:00
John Lewin
8aaa42d078 Invoke drawables at each stage 2019-02-04 16:18:05 -08:00
John Lewin
aaf543c2c7 Rename method to match behavior 2019-02-04 16:18:05 -08:00
John Lewin
316c15a844 Extract drawing from PPE to InteractionLayer
- Eliminate event bindings, invoke DrawEditor directly
2019-02-04 16:18:05 -08:00
John Lewin
5c54285392 Remove unused DrawGlTransparentContent event 2019-02-04 16:18:05 -08:00
John Lewin
7293319e4e Collapse single use method into caller 2019-02-04 16:18:05 -08:00
John Lewin
ff7b8e40cf Add item Drawables list 2019-02-04 16:18:05 -08:00
John Lewin
8f58e8e8d4 Extract InspectedItem render to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
a8dd1c6a5d Extract AABB debugger to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
0f857acc96 Add iterable list of Drawables to viewer 2019-02-04 16:18:05 -08:00
John Lewin
c2fee997d2 Extract AxisIndicator to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
add10eb242 Enable Drawable example 2019-02-04 16:18:04 -08:00
John Lewin
2a37ac564a Extract debug Drawables 2019-02-04 16:18:04 -08:00
John Lewin
f6a1029efc Extract drawable component from viewer 2019-02-04 16:18:04 -08:00
John Lewin
088db639a3 Indirectly combine MeshViewWidget and InteractionLayer 2019-02-04 16:18:04 -08:00
John Lewin
56475a4bfa Remove dead code 2019-02-04 16:18:04 -08:00
LarsBrubaker
6731fdc5d8 Merge branch '2.19.2' 2019-02-03 13:34:11 -08:00
John Lewin
8dfbd04423 Resuse existing AddToPlate() to pickup latest load/position behavior
- Move behavior into more reusable location, next to similar
  AddToPlate helper methods
- Issue MatterHackers/MCCentral#4955
Part plated at origin instead of bed center
2019-01-31 16:07:05 -08:00
Lars Brubaker
9061c2ed35 Needed to have the texture on the bed have some transparent pixels in it
issue: MatterHackers/MCCentral#4961
Support Pillars are invisible unless viewing from underneath bed
2019-01-31 13:46:19 -08:00
John Lewin
7037772465 Extract embedded types to new files 2019-01-30 08:26:23 -08:00
John Lewin
17c055c3bd Remove unnecessary indirection 2019-01-30 08:26:23 -08:00
LarsBrubaker
d63479a736 Setting better gcode default rendering values 2019-01-19 15:20:48 -08:00
Lars Brubaker
e1ce3419f2 simple mesh 2019-01-11 17:10:45 -08:00
John Lewin
5d109d4980 Use new FindDescendants syntax 2018-12-30 08:27:30 -08:00
John Lewin
af142f6992 Rename GuiWidget find descendant helpers 2018-12-30 08:18:22 -08:00
John Lewin
03bdbf51d6 Remove dead event 2018-12-29 12:33:01 -08:00
LarsBrubaker
149ba6d3c2 Made the selection object in subtract always render right
This fixes an issue where if the selected subtract item was
a group it would not render corectly
2018-12-22 08:02:41 -08:00
LarsBrubaker
201c9d1d65 Improved subtract selection rendering
does not modify the part colors only the rendering colors
Refactoring
2018-12-21 08:27:40 -08:00
John Lewin
cfeb515224 Move BedShape near PrinterSettings 2018-11-25 09:07:43 -08:00
John Lewin
e954344416 CodeFactor cleanup 2018-11-16 16:12:48 -08:00
John Lewin
2873a74ef7 Use standard event listener pattern 2018-11-16 15:53:43 -08:00
John Lewin
59a16f53b5 Unregister scoped listeners via Closed event 2018-11-15 14:51:07 -08:00
John Lewin
a7385aa057 Convert ConditionallyCancelPrint to extension method
- Extract printer extension methods to common class
2018-11-12 09:44:59 -08:00
John Lewin
7212f11871 Rename theme.ActiveTabColor to theme.BackgroundColor
- Issue MatterHackers/MCCentral#4491
2018-11-03 09:51:25 -07:00
John Lewin
14967368a4 Replace RunOnIdle use with alternative for startup initialization
- Issue MatterHackers/MCCentral#4438
RunOnIdle should not be used to queue work post application load
2018-11-01 09:36:58 -07:00
John Lewin
151e753db2 Move PrimaryAccentColor to parent 2018-10-22 14:16:24 -07:00
John Lewin
3bc4bed2f8 Fix bed rendering issues
- Issue MatterHackers/MCCentral#4298
lost bed rendering in 2D view
2018-10-18 12:42:14 -07:00