Commit graph

68 commits

Author SHA1 Message Date
jlewin
a7b8251807 Replace duplicate ItemsToSubtract property with SelectedChildren
- Update to use new SelecteChildren as HashSet
- Issue MatterHackers/MCCentral#5565
MatterControl extra slow with specific MCX, crashes on copy
2019-05-20 16:37:45 -07:00
LarsBrubaker
3b420c2ef8 improving subtract and subtract and replace editor display 2019-05-18 22:06:17 -07:00
LarsBrubaker
6278622f46 Make subtract and subtract and replace us ID rather than Name 2019-05-18 06:55:57 -07:00
Lars Brubaker
ee10331a5f Fixing warnings 2019-05-06 18:09:52 -07:00
LarsBrubaker
26b403a517 fixing warnings 2019-05-05 10:44:52 -07:00
LarsBrubaker
a6b82731e1 fix spelling
issue: MatterHackers/MCCentral#5381
Consider if spelling error in API should be fixed
2019-04-25 19:48:18 -07:00
jlewin
ada5e28140 Fix spelling 2019-04-24 16:59:40 -07:00
Lars Brubaker
03d16e2dad Don't translate objects when flattening or removing operation
issue: MatterHackers/MCCentral#5224
Deleting subtract operation shifts objects
2019-03-29 16:22:45 -07:00
Lars Brubaker
ab52cd3199 Subtract and replace using new named children getter
Improved subtract selection rendering
2019-03-22 12:06:49 -07:00
Lars Brubaker
3f19e8d11c Making subtract select logical names from children rather than visible meshes 2019-03-22 10:29:05 -07:00
John Lewin
7ae2b6f87c Remove DragDropData dependency, add UndoBuffer
- Issue MatterHackers/MCCentral#5060
On startup, item is selected but not showing correct editor
2019-03-07 17:56:41 -08:00
Lars Brubaker
563bd1a3e7 making sure we don't re-enter this.OnInvalidate unless explicitly for properties
issue: MatterHackers/MCCentral#4965
Rebuild should directly call base.OnInvalidate to prevent re-entering this.OnInvalidate
2019-02-19 14:24:12 -08:00
Lars Brubaker
bcfb3f897e Subtract and replace enabled correctly
Clean up children names if needed
2019-02-13 14:03:57 -08:00
Lars Brubaker
9741ced755 Finishing up subtract and replace
issue: MatterHackers/MCCentral#4929
Move away from mesh wrapper to source item
2019-02-13 12:02:32 -08:00
Lars Brubaker
ac03a4fcfd Improving subtract object rendering 2019-02-13 10:26:02 -08:00
LarsBrubaker
76c4985111 Working to get subtract to show edit data better 2019-02-13 08:12:30 -08:00
Lars Brubaker
f70353a1ff Getting Subtract and Replace 2 working (almost) 2019-02-12 17:27:22 -08:00
Lars Brubaker
51d7193bf0 Subtract 2 is working well now and rebuilding
Cleaning up On Invalidate and rebuild

issue: MatterHackers/MCCentral#4965
Rebuild should directly call base.OnInvalidate to prevent re-entering this.OnInvalidate

issue: MatterHackers/MCCentral#4964
Rebuild should fire Invalidate if content is changed

issue: MatterHackers/MCCentral#4970
Consider if primitives should use background tasks in Rebuild

issue: MatterHackers/MCCentral#4966
async Rebuild calls must be awaited in Create methods
2019-02-12 16:06:32 -08:00
LarsBrubaker
7598c8bf9c Getting subtract object to work as source 2019-02-12 16:06:32 -08:00
Lars Brubaker
b73c4e5f63 Getting subtract 2 working 2019-02-12 16:06:31 -08:00
Lars Brubaker
73f733db91 Fixed a problem with base not rebuilding correctly. 2019-02-11 15:54:00 -08:00
John Lewin
0b1e3732c4 Revise plugins 2019-02-04 16:18:04 -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
LarsBrubaker
63fc7e5b83 Made intersection have a source object
improved update of toolbar buttons for OperationSourceContainerObject3D s
2019-01-27 18:12:19 -08:00
LarsBrubaker
6d6337f5aa Refactoring - moving files 2019-01-27 15:20:05 -08:00
LarsBrubaker
50d77638c7 Change curve object to new source pattern
Fixed a bug with single item input it combine
2019-01-27 11:25:37 -08:00
LarsBrubaker
9b799df0e9 Get pinch to use new source pattern
Fixed a bug with multiple items in combine
2019-01-26 15:50:53 -08:00
LarsBrubaker
b5bc480daa Fix combine position
Make flatten name consistent
2019-01-26 11:44:08 -08:00
LarsBrubaker
de37db2a09 Working to fixe combine tests 2019-01-26 09:32:07 -08:00
Lars Brubaker
564e5e7bf1 Moved array and combine objects to new source pattern
reverted align object to only align children
have new combine 2 object to preserve old files
2019-01-25 16:46:23 -08:00
Lars Brubaker
57b94fd7a4 Improvements to operation source object 2019-01-25 13:25:10 -08:00
John Lewin
b90c082b08 Simplify 2019-01-24 16:51:07 -08:00
Lars Brubaker
1d60533947 combine on an align correctly maintains positions 2019-01-24 14:47:35 -08:00
Lars Brubaker
e1ce3419f2 simple mesh 2019-01-11 17:10:45 -08:00
Lars Brubaker
1957a6a4b1 Moving boolean operation to new rebuild pattern 2019-01-08 17:51:30 -08:00
Lars Brubaker
88dd2395a1 Improving rebuild lock 2019-01-07 17:42:00 -08:00
Lars Brubaker
6e4334bd2c Fixing remove for MeshWrapperObjects
issue: atterHackers/MCCentral#4766
undo after subtract and replace leaves extra copy of item
2018-12-27 13:25:12 -08:00
Lars Brubaker
d2ecb796a4 fixing SubtractAndReplace Object to match subtract refactoring
issue: MatterHackers/MCCentral#4764
Deleting a subtract and replace causes the original objects to move
2018-12-24 11:10:53 -08:00
LarsBrubaker
81df3f2b1c compile and continue (the actual fix) 2018-12-22 07:54:35 -08:00
LarsBrubaker
231af2df67 Subtract and replace can handle multiple keep objects
Also fixes it being applied to an existing subtract and replace
2018-12-22 07:53:26 -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
Lars Brubaker
e0a9ab1526 Writing tests for Combine and Subtract 2018-12-20 14:22:40 -08:00
Lars Brubaker
5910236d5f Fixed Flatten in mesh wrapper
Reverted GetAxisAlignedBoundingBox in mesh wrapper
Have less initialization in FitToBounds
2018-12-18 10:05:05 -08:00
Lars Brubaker
7743a34a87 Don't call ExandedChianged twice in TreeView
Let MeshWrapper call GetAxisAl/ignedBoundingBox from base
2018-12-17 16:12:11 -08:00
LarsBrubaker
38c8d47df3 New work on curve object 2018-12-16 08:35:55 -08:00
Lars Brubaker
8de283dbfe Say who is the owner of executing tasks. This allows us to filter running tasks displays
issue: MatterHackers/MCCentral#4660
Not printing printer tab showing print progress from printing printer tab
2018-12-05 13:48:57 -08:00