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
a33a7e8924
Fix alpha accumulation to 0
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
7269d71b65
Disable example
2019-02-04 16:18:04 -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
ce2aaac574
Fixed rotate, scale, translate to work with multiple objects
...
Made Transform Wrapper Object work with list
issue: MatterHackers/MCCentral#4979
Crash when scaling model with support
2019-01-31 15:41:56 -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
Lars Brubaker
1d2fe6823e
added an Enable Network Traffic config value
...
If disabled - turn off 'check for update', 'login', 'get public profiles', and make public for other network aware resources
issue: MatterHackers/MCCentral#4879
add ability to check Registry key to disable check for updates and login
2019-01-31 09:42:54 -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
John Lewin
50590f056f
Use theme colors
...
- Issue MatterHackers/MCCentral#4952
Support panel is not theme aware
2019-01-29 18:03:04 -08:00
John Lewin
f6799d9324
Prefer clipping on edge revealed by resize
...
- Issue MatterHackers/MCCentral#4796
Invalid popover position when no space for left popup
2019-01-29 18:03:04 -08:00
John Lewin
58742f3cc9
Prefer clipping right edge to left
...
- Empowers user to resize window to reveal content
- Issue MatterHackers/MCCentral#4796
Invalid popover position when no space for left popup
2019-01-29 18:03:04 -08:00
John Lewin
8ed19010f2
Switch arrow directions when switching anchor points
...
- Issue MatterHackers/MCCentral#4953
Invalid alt-mate anchor points
2019-01-29 18:03:04 -08:00
Lars Brubaker
6e8b7386c8
Make lots of objects use the center and height maintainer (for consistency)
2019-01-29 15:13:16 -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
LarsBrubaker
13c7ca93be
Common invalidate for all operations source objects
...
issue: MatterHackers/MCCentral#4941
changing color of inner object of curve not updating on screen color
2019-01-28 07:53:38 -08:00