Commit graph

1051 commits

Author SHA1 Message Date
John Lewin
baca60021d Revise base parameter naming to resolve Roslyn indicator 2018-06-09 09:01:53 -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
Lars Brubaker
01eeff3544 Make sure tree view starts out with selection 2018-06-07 17:53:19 -07:00
John Lewin
8b19d0c643 Ignore AfterSelect events during SelectionChanged
- Issue MatterHackers/MCCentral#3529
Scene spins indefinitely in rebuild loop
2018-06-07 17:07:26 -07:00
Lars Brubaker
46dc1210be Getting image path generation and extrude working with rebuild 2018-06-06 15:52:06 -07:00
Lars Brubaker
0f628cefd8 Allow selection in the tree view 2018-06-05 13:38:25 -07:00
John Lewin
b6b7a1c186 Flatten namespace 2018-06-05 08:35:38 -07:00
Lars Brubaker
18e8453b10 Have transparency working on subtract again
Fixed problem with objects moving during subtract
2018-06-04 09:56:11 -07:00
Lars Brubaker
230eaa90e5 Get the rest of the boolean operations ported to new method 2018-06-01 18:31:10 -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
d3478e646f Use new batch SetSelection in SelectAll method 2018-06-01 16:16:17 -07:00
John Lewin
1acce62763 Use new batch set selection method 2018-06-01 09:04:42 -07:00
John Lewin
5244025ae3 Consolidate tree processing
- Only build treeview once, destroy/create child content on change
- Single recursive AddTree(IObject3D) method handles all nodes
- BuildTree caller assigns node.TreeView instance on root node
- MatterHackers/MCCentral#3483
Differing construction implementations results in inconsistent TreeNodes
2018-06-01 09:04:42 -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
John Lewin
5f3b869fa2 Persist user heights for tree/editor panels
- Issue MatterHackers/MCCentral#3428
Load persisted user value for tree section height
2018-05-31 15:38:58 -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
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
f05152e34b Made Advanced panel in Print menu show up when needed
issue: MatterHackers/MCCentral#3455
If pause or spiral vase are set show them in the print dialog
2018-05-26 21:52:19 -07:00
LarsBrubaker
8c1e79dcf0 Move import settings to settings section
Moved export to bottom to create more distiction of import presets and export all

issue: MatterHackers/MCCentral#3451
Feature Request: Import/Export material profiles
2018-05-26 11:59:22 -07:00
Lars Brubaker
4f8aad70e8 fixing more rebuild problems 2018-05-25 17:11:39 -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
25c76d0282 Ignore "Start Print" on empty bed
- Issue MatterHackers/MCCentral#3442
Clicking Print button with empty bed results in empty gcode, disabled print button
2018-05-24 22:46:34 -07:00
Lars Brubaker
7a5c68cf23 Put long running task at top left 2018-05-24 12:05:25 -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
Lars Brubaker
b1765a7659 Made lay flat use the convex hull
Made the convex hull be a mesh so it is more flexible
removing dead code
2018-05-23 10:23:02 -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
2602fef4c7 Host editor panel in BottomResizeContainer
- Issue MatterHackers/MCCentral#3424
2018-05-22 13:40:13 -07:00
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
10100b3be1 Move TreeView above edit panel
- Issue MatterHackers/MCCentral#3427
2018-05-22 12:51:04 -07:00
John Lewin
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -07:00
Lars Brubaker
c2bfefbde6 Made a bottom resize container 2018-05-21 14:15:22 -07:00
Lars Brubaker
0e96303b90 Fixed a bug with selection becoming null during an operation
Writing some test code for Gl BufferObject
2018-05-18 16:58:49 -07:00
John Lewin
ba5549cd8e Add toolbar separator class 2018-05-17 13:52:29 -07:00
John Lewin
3900812cbc Use theme computed separator margin 2018-05-17 12:41:32 -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
John Lewin
1af88e8390 Add opaque container for clipping tabs
- Issue MatterHackers/MCCentral#3365
User droplist should use opaque background and sibling should be
clipped against
2018-05-17 10:58:30 -07:00
Lars Brubaker
eb5ebf30a8 Make the switch for slice or drag show that the button was clicked 2018-05-16 11:37:44 -07:00
John Lewin
dd6c105fd3 Switch from GCode to Model view on drag over
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:21:59 -07:00
John Lewin
664b736f66 Disallow model selection in GCode views
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:14:54 -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
95a82a3093 Cleanup 2018-05-10 08:37:55 -07:00
John Lewin
6dcbd60fc0 Remove Invalidate from OnDraw call
- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:55 -07:00
John Lewin
b8d5b00ad3 Compute rather than move for selection render
- Issue MatterHackers/MCCentral#3344
Won't close if there is a selection on the bed

- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:54 -07:00
Lars Brubaker
f39d2116ee Made the selection much faster and consistent 2018-05-09 16:41:45 -07:00
John Lewin
f6ce9431b6 Move state from widget to model and revise persistence/init
- Issue MatterHackers/MCCentral#3305
View style state not synced on load
2018-05-09 08:41:29 -07:00
John Lewin
6441440764 Improve readability, add uncommitted change 2018-05-09 07:50:50 -07:00