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
330aba83f7
Add item Drawables to menu
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
3f02989e62
Remove redundant World dependency
2019-02-04 16:18:06 -08:00
John Lewin
6399686eed
Remove UndoBuffer dependency from viewer
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
3e9b6d6fb0
Consolidate
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
0d895258aa
Require additional metadata for Drawables
2019-02-04 16:18:05 -08:00
John Lewin
54b43faa2a
Convert View3DWidget event handler into IDrawable interface
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
9908b54dbc
Improve naming
2019-02-04 16:18:04 -08:00
John Lewin
56475a4bfa
Remove dead code
2019-02-04 16:18:04 -08:00
John Lewin
0b1e3732c4
Revise plugins
2019-02-04 16:18:04 -08:00
LarsBrubaker
6731fdc5d8
Merge branch '2.19.2'
2019-02-03 13:34:11 -08:00
Lars Brubaker
add3356085
Make all the supports remove when we ask to remove supports
...
issue: MatterHackers/MCCentral#4978
Cannot remove support after saving and reopening design
2019-01-31 18:23:22 -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
John Lewin
15a6f063d7
Remove dead code
2019-01-31 16:02:28 -08:00
John Lewin
3dec3a93fb
Remove redundant key definitions
2019-01-31 16:02:28 -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
18fc068d2c
Add missing localizations
...
- Issue MatterHackers/MCCentral#4976
Localize strings
2019-01-31 12:35:12 -08:00
LarsBrubaker
1918d5987a
improving support generator
...
can undo remove supports
starting work on not overlapping existing support
working on support tests
cleaned up delete command (use selection maintainer)
2019-01-31 07:56:36 -08:00
LarsBrubaker
efe0255238
Merge branch '2.19.2' of https://github.com/MatterHackers/MatterControl into 2.19.2
...
# Conflicts:
# MatterControlLib/DesignTools/Braille/BrailleCardObject3D.cs
2019-01-30 22:58:12 -08:00
Lars Brubaker
333f25dd95
Improving lay flat
...
try to consider faces that have an angle less that 45 first
2019-01-30 09:49:24 -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
50eed56754
Make lay flat un-doable
...
Also improved it to look for the largest face now that we have triangles
This was the intent before but the move to simple mesh lost it and it
was never as accurate as the new method.
issue: MatterHackers/MCCentral#4954
Lay flat should be un-doable
2019-01-30 08:11:57 -08:00
LarsBrubaker
77ebe6ab09
Starting work on new subtract with source
2019-01-29 08:11:47 -08:00
LarsBrubaker
7793ab8aea
Cleaning up base
...
refactoring
2019-01-29 08:11:47 -08:00
Lars Brubaker
6305303047
Cleaning up object3d invalidate calls
2019-01-28 17:44:10 -08:00
Lars Brubaker
f0728e0610
Change the Invalidate Type to flags
...
remove undo buffer from invalidate type
2019-01-28 14:19:48 -08:00