Commit graph

190 commits

Author SHA1 Message Date
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
John Lewin
200a01edaf Revise operation -> icon mapping system
- MatterHackers/MCCentral#3703
SelectionGroup lacks custom tree icon
2018-06-21 10:03:13 -07:00
Lars Brubaker
6519c566f0 Made curve have center ratio
Made image to path adjust values to not overlap
2018-06-21 09:54:51 -07:00
LarsBrubaker
b9e1740eb7 Ensure primitve objects call base.OnInvalidate 2018-06-21 08:02:04 -07:00
LarsBrubaker
4b9a427d45 Put in the ability for double edit fields to respond to value changes
In the curve tool we change the diameter of the curve and the editor was
not updating to show the new value. Now it is.
2018-06-21 07:45:08 -07:00
Lars Brubaker
3e49946e5a Refactoring SuspendRebuild to be RubuildLock
Marching squares has more data on how it expects to be processed (edge color)
2018-06-20 17:22:19 -07:00
LarsBrubaker
ec28305b56 Improving suspend and resume rebuild 2018-06-20 17:21:37 -07:00
Lars Brubaker
214494b9b6 Make aabb useable for align 2018-06-18 18:09:50 -07:00
Lars Brubaker
21de02e267 Limit Base to Path objects
Added Hue threshold function
Got alpha threshold to work

issue: MatterHackers/MCCentral#3655
Make base applicable to children rather than descendants
2018-06-18 15:35:17 -07:00
LarsBrubaker
b7d5eda17e Working on putting a histogram into ImageToPath 2018-06-18 09:07:58 -07:00
Lars Brubaker
f00d5a3233 Got path storage to serialize and de-serialize as svg d paths
issue: MatterHackers/MCCentral#3537
Write serialize path
2018-06-15 17:51:34 -07:00
Lars Brubaker
008a50923d Got base able to apply and remove
issue: MatterHackers/MCCentral#3617
Remove operation on base fails to remove
2018-06-15 14:37:15 -07:00
Lars Brubaker
5076c1288c Changing default sides to 40 from 30 so that aabb matches diameter
issue: MatterHackers/MCCentral#3618
Change primitive sides to 40 by default. This makes size same as radius.
2018-06-14 09:25:37 -07:00
John Lewin
dead460f30 Truncate TreeView at ComponentObject3D
- Issue MatterHackers/MCCentral#3610
ComponentObject3D should hide details from selection TreeView
2018-06-13 06:46:11 -07:00
John Lewin
910705d35b Simplify 2018-06-12 21:16:26 -07:00
John Lewin
ffe8a3ba11 Components prototype 2018-06-12 14:58:11 -07:00
John Lewin
08838aafb3 Sync to correct icon state when initialized
- Issue MatterHackers/MCCentral#3594
IconEnumField not showing current state on load
2018-06-12 12:33:35 -07:00
John Lewin
3056df625c Get reflected property value once, then test for each case 2018-06-12 12:33:35 -07:00
Lars Brubaker
0580db2296 Make Operation Source apply create a group if more than 1 item
issue: MatterHackers/MCCentral#3544
Apply array needs to return a collection of the children (rather than a bunch of children)
2018-06-11 16:44:47 -07:00
Lars Brubaker
34b5d070cb Default the update button to be hiden 2018-06-11 15:24:14 -07:00
Lars Brubaker
5913b84245 Don't pass InvalidateType as flags
issue: MatterHackers/MCCentral#3584
text -> fit -> align not rebuilding correctly
2018-06-11 15:12:15 -07:00
Lars Brubaker
a636f4a370 Fixed base (took out ObjectSource)
issue: MatterHackers/MCCentral#3585
Put image converter construction (object tree) into primitives container
2018-06-11 15:12:15 -07:00
John Lewin
dbcaa1b1d3 Change signature 2018-06-09 10:29:27 -07:00
John Lewin
42065acf83 Remove unused View3DWidget parameter 2018-06-09 10:27:12 -07:00
John Lewin
5d3f6b9f89 Remove View3DWidget from IObject3DEditor
- Issue MatterHackers/MCCentral#3567
Remove IObject3DEditor coupling to View3DWidget
2018-06-09 10:13:19 -07:00
John Lewin
32f77d1e51 Remove editControlsContainer param, return constructed editor
- Unregister event listener on owned control close
2018-06-09 09:55:25 -07:00
John Lewin
1d211753c4 Reduce to minimal unique parameters 2018-06-09 09:39:26 -07:00
John Lewin
f342b3606f Remove View3DWidget from IPropertyGridModifier
- Issue MatterHackers/MCCentral#3565
Consider IObject3D couplings to MatterControl assembly
2018-06-09 09:26:37 -07:00
John Lewin
a2f262af0d Collapse single use method into caller 2018-06-09 09:01:24 -07:00
John Lewin
fd23cbd229 Reduce to minimal unique parameters 2018-06-09 08:56:16 -07:00
John Lewin
867f5f8dd0 Abstract reflection details to helper 2018-06-09 07:38:27 -07:00
John Lewin
13b4e976d0 Use existing helper 2018-06-09 07:26:52 -07:00
John Lewin
e8550a863a Revise parameters to better enforce UIField for content convention 2018-06-09 07:24:53 -07:00
John Lewin
1b94ecd47c Create new EnumField for enums 2018-06-09 07:14:38 -07:00
John Lewin
5122ee4f5c Create new IconEnumField for enums with @icons 2018-06-09 06:34:31 -07:00
John Lewin
72d1632ceb Reduce to minimal unique parameters 2018-06-08 21:22:35 -07:00
John Lewin
5a842e6207 Create new DirectionVectorField for DirectionVector content 2018-06-08 20:42:06 -07:00
John Lewin
4e56bb984b Create new CharField for char content 2018-06-08 18:19:06 -07:00
John Lewin
f00638eab4 Use TextField for string content 2018-06-08 16:48:50 -07:00
John Lewin
c090928e82 Remove unused original editors 2018-06-08 16:25:35 -07:00
John Lewin
037dc4ff7e Simplify 2018-06-08 16:20:57 -07:00
Lars Brubaker
e054275ba9 Made linear extrude do an apply correctly
Fixed object properties panel collapse regression

Making copy mesh an extension method

issue: MatterHackers/MCCentral#3561
Editor panel fails to maintain size when collapsed via SectionWidget controls
2018-06-08 15:10:20 -07:00
Lars Brubaker
52b7e51a73 Changing InvalidateType to not be a flag 2018-06-08 12:08:48 -07:00
LarsBrubaker
9ea198686a Refacotring Face to FaceAlign 2018-06-08 07:26:39 -07:00
LarsBrubaker
1a8eba082e some more work on subdivide curves 2018-06-08 07:26:39 -07:00
Lars Brubaker
7a676174fa Error handling on base 2018-06-07 18:41:02 -07:00
Lars Brubaker
65ce95d755 Set properties on SmoothPath and clean
Clean the base polygons
2018-06-07 15:08:23 -07:00
Lars Brubaker
6b49e0cda8 Making linear extrude stay visible 2018-06-07 14:45:11 -07:00
Lars Brubaker
3150dc2c27 Improving base object
Took out object list attribute
Refactoring
2018-06-07 14:26:12 -07:00
Lars Brubaker
095ea6dfeb Getting base working some 2018-06-06 18:18:40 -07:00