Commit graph

107 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
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
John Lewin
910705d35b Simplify 2018-06-12 21:16:26 -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
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
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
Lars Brubaker
46dc1210be Getting image path generation and extrude working with rebuild 2018-06-06 15:52:06 -07:00
Lars Brubaker
99ef697d16 Subtract is working now
Added child selector
got align updating correctly
got array operations working with source object
fit to bounds updating correctly
took out hole output type
improved text object

issue: MatterHackers/MCCentral#3456
Second subtract creates bad data
2018-06-01 17:47:59 -07:00
John Lewin
e563334b4d Use generic rather than printer scope
- Issue MatterHackers/MCCentral#3494
"New Part" crashes with null reference exception
2018-06-01 09:04:41 -07:00
Lars Brubaker
9f98291014 array tools are rebuilding correctly 2018-05-31 16:24:37 -07:00
Lars Brubaker
207714ad9f Starting on radial array 2018-05-31 15:10:53 -07:00
Lars Brubaker
6b6ed0d093 Fixing array linear to work with suspend and resume 2018-05-31 15:10:53 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
Lars Brubaker
138407e21a Mesh wrapper working much better (pinch and bend working better)
Changing Rebuilding to Suspend and Resume rebuilding
Made visible meshes return only the object not the object and mesh (mesh is on object)
Put in some debugging
2018-05-29 17:50:39 -07:00
LarsBrubaker
8a3f99ac1f Make sure mesh creation objects set invalidate mesh 2018-05-27 19:39:04 -07:00
LarsBrubaker
734fa69134 Improving curve and pinch to have more base class code sharing
Cleaning up flags
Refactoring
2018-05-27 08:48:48 -07:00
LarsBrubaker
1c18da68e7 Added group object
Made the names in the tree view better (hopefully)
2018-05-26 08:34:24 -07:00
Lars Brubaker
89701f2d70 Improvements in mesh wrapper
Default pinch to have an effect immediately
Refactoring
2018-05-25 14:52:23 -07:00
John Lewin
466e614ff7 Fix typo 2018-05-24 19:40:23 -07:00
Lars Brubaker
1505add773 Refactoring in CurveObject 2018-05-24 17:52:47 -07:00
Lars Brubaker
dfb1e6d498 Improving curve tool and subtract tool
Added world render cylinder function
Make curve tool default to adding a curve
2018-05-24 10:25:54 -07:00
LarsBrubaker
6bdf0c8e32 Making Curve and Pinch maintain their initial coordinate system for subsequent transforms 2018-05-23 08:23:32 -07:00
Lars Brubaker
ff6e220b4c Made invalidate args so we can pass source and invalidate type
Rebuild does not propagate to parent
2018-05-22 16:17:13 -07:00
Lars Brubaker
28b55b73a5 Getting Rebuild working for Object3D 2018-05-22 14:13:53 -07:00
Lars Brubaker
ca438aba4b The Curve tool can rebuild when its children change
Adding Rebuliding and Rebuild to IObject3D
2018-05-22 14:13:52 -07:00
John Lewin
9967e14328 Switch to constant padding with right margin on buttons
- Previously layout was using variable padding with left margin
2018-05-17 12:41:00 -07:00
LarsBrubaker
d4dba5c7e7 Better logic around showing tree view
Text object apply mantains data better (and now untility function)
2018-05-16 07:48:36 -07:00
Lars Brubaker
fbd4f9e219 Improved GlyphTranslator
Added true type fonts
Refactored VertexStorage data types
Shortened FlagsAndComamand enum names
2018-05-15 15:06:40 -07:00
LarsBrubaker
c3ffe541be Refactoring selection bounds to be in world space
refactoring changing signatures
2018-05-10 10:20:39 -07:00
John Lewin
cb1882c709 Fix typo 2018-05-10 07:29:44 -07:00
Lars Brubaker
2d27b777c1 Made tool tips show for most Public Properties
still need to get lists working
2018-05-09 13:35:47 -07:00
Lars Brubaker
a360cc1112 Don't crash when we have bad data (should fix it at a higher level (rebuild from children)) 2018-05-09 12:30:50 -07:00
Lars Brubaker
77828744bb Make sure we rest the meshes in pinch tool 2018-05-08 16:39:49 -07:00