Commit graph

706 commits

Author SHA1 Message Date
Lars Brubaker
acf3ea14fa Made paint material work much better 2017-12-07 17:23:38 -08:00
Lars Brubaker
b665025e17 Made do undo work for subtract, support, color, intersect & paint 2017-12-07 13:22:07 -08:00
Lars Brubaker
71979e35e9 Unify to single GetNonCollidingName
Improve it to check for and replace numbers
add new calling method
Make sure Object3D Close does not end up modifying object in processes
Don't try to render meshes with no faces
2017-12-06 16:31:04 -08:00
Lars Brubaker
bfe9d9b9ca Working on getting uvs for tumble cube 2017-12-05 15:38:06 -08:00
Lars Brubaker
d7e9e1a59b Check for null 2017-12-05 09:52:36 -08:00
LarsBrubaker
b1a30925b9 Improving ray tracing so we can click tumble widget
Fixing warnings
2017-12-04 21:00:50 -08:00
LarsBrubaker
64c2b752b2 Put a border on the tumble cube 2017-12-02 21:48:27 -08:00
LarsBrubaker
c9e3332d80 Make duplicate maintain object height and position 2017-12-02 17:19:00 -08:00
LarsBrubaker
d3f0e66645 Made cicular bed draw axis correctly
Made tumble cube invalidate while rotating
Vector2 slice edit type needs to be able to be negative (couldn't figuer out how to make test)
2017-12-02 12:54:42 -08:00
John Lewin
bf1bba0792 Remove unused View3DWidget dependency 2017-11-30 06:58:27 -08:00
John Lewin
243d5d7ec2 Await ClearPlate call
- Issue MatterHackers/MCCentral#2343
Library Selection -> Print frequently fails to place selection on bed
2017-11-30 06:10:46 -08:00
John Lewin
aa7777f692 Guard for null 2017-11-29 17:54:17 -08:00
John Lewin
98b109df13 Fix loading state - SelectedObjectPanel/LayerPosition/TumbleCube 2017-11-29 17:54:16 -08:00
John Lewin
4d6ed9f913 Add support for switching to plating history items 2017-11-29 14:16:21 -08:00
John Lewin
a76736e9a6 Disable controls when !EditableScene, add IsEnabled to NamedAction 2017-11-29 13:50:25 -08:00
John Lewin
5b1fec7144 Expose controls for conditional Enable 2017-11-29 13:45:01 -08:00
John Lewin
cd07b07d87 Use event as described in TODO statement 2017-11-29 10:22:17 -08:00
John Lewin
4baa4f14c8 Use local variable for clarity, set DragDropObject for external ref 2017-11-29 10:22:17 -08:00
LarsBrubaker
168e95f798 Make sure we can switch to part select in touchscreen mode
This will eventually be removed when the tumble control is done
2017-11-29 07:45:03 -08:00
John Lewin
529e8dc6dc Simplify 2017-11-28 15:42:00 -08:00
John Lewin
00a5a209ee Remove per draw Object3D wrapper and instantiation
- Extract color calculation to reusable helper method
- Issue MatterHackers/MCCentral#2327
Color assigned per draw, color assignment creates new thread...
2017-11-28 15:41:59 -08:00
John Lewin
75fd2e9281 Improve overlay positions 2017-11-27 17:44:12 -08:00
John Lewin
da5600fbb7 Move ViewMode/ViewModeChanged to model, listen and respond in UI
- Issue MatterHackers/MCCentral#2290
After slicing the view is switched to 3D GCode but the button...
2017-11-27 17:36:36 -08:00
John Lewin
c87b879be9 Use more opaque background colors on scene overlays
- Issue MatterHackers/MCCentral#2308
Overlays have inconsistent readability due to transparency
2017-11-27 16:41:52 -08:00
John Lewin
a3cbe6acbe Compute opaque theme colors, save before slice, revise icon styling
- Change slicing hash generation method/name
- Add ComputeFileSha1 to ApplicationController
- Issue MatterHackers/MCCentral#2307
Same color supplied for both tab and border
- Issue MatterHackers/MCCentral#2304
Have to Save file to make slicing go after change to scene
2017-11-21 11:11:07 -08:00
Lars Brubaker
2683f1dc86 Make build volume work when height set to 0 2017-11-20 17:55:42 -08:00
John Lewin
d9cb216d82 Save before invoking Print so FileHashCode is computed correctly
- Avoid saving to file again during print/slice operations
- Issue MatterHackers/MCCentral#2302
Print recovery regression after recent slicing/printing updates
2017-11-20 16:55:03 -08:00
John Lewin
8ae9e2da6d Convert GCode menu to new format
- Issue MatterHackers/MCCentral#2272
3D layer view uses old menu format
2017-11-20 14:09:33 -08:00
Lars Brubaker
cdb9598faa improved color delegate for mesh 2017-11-20 13:29:01 -08:00
Lars Brubaker
65639abc75 Added a replace undo command and used it for ungroup mesh 2017-11-20 11:19:22 -08:00
Lars Brubaker
2aec7e2243 Make sure we check for on bed in circular beds. 2017-11-18 07:33:04 -08:00
Lars Brubaker
ef16087f96 Made objects off bed show as transparent
Made build volume render
2017-11-16 16:13:44 -08:00
Lars Brubaker
0f8f4881e9 Cleaned up presets editor to better handle overrides and visible settings
Always show enabled settings in presets
Don't how FDM settings (disabled printer) in SLA presets
Don't show printer tab in presets
Don't show temp on SLA printer
2017-11-16 09:57:26 -08:00
John Lewin
a7902feb4d Put in transparent color option
- Issue MatterHackers/MCCentral#1867
2017-11-15 17:44:36 -08:00
John Lewin
46188d1eea Reduce Print/Slice helper method couplings to PrintItemWrapper 2017-11-15 07:41:36 -08:00
John Lewin
28baf658d5 Render root mesh if present
- Render only, no editing abilities due to selection behavior
2017-11-14 16:08:13 -08:00
John Lewin
ddfeb79d17 Interactive save shouldn't be more encumbered than auto save
- Don't prompt for Save location if we're already auto saving to
  default locations in other contexts
2017-11-14 15:47:45 -08:00
John Lewin
f3a2e88e22 Collapse function into caller 2017-11-13 16:09:10 -08:00
John Lewin
69de19d4ca Revised Tabs
- Add tab close
- Show new tab on + tab button click
- Revise Close icon - only show circle on hover
- Add micro-thumbnails for sidebar prototype
- Issue MatterHackers/MCCentral#2243
Revise main tabs
- Issue MatterHackers/MCCentral#2242
Can't switch back from GCode2D view as all controls are lost
2017-11-12 23:13:45 -08:00
John Lewin
9cff33b282 Add gutter icon support to MenuItems
- Convert checkbox items to simple MenuItems with check icon
- Issue MatterHackers/MCCentral#2235
Add icon support to popup menus
2017-11-10 13:15:44 -08:00
Lars Brubaker
50f74760ad Make Tumble view control rotate on drag 2017-11-10 07:29:21 -08:00
John Lewin
3944d37ad5 Convert FlowLayouts to new PopupMenu, consolidate MenuItem helpers 2017-11-09 18:27:18 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00
John Lewin
06e957d7b9 Rename ValueDisplayInfo -> InlineEditControl
- Issue MatterHackers/MCCentral#2201
Consider renaming ValueDisplayInfo to better describe behavior
2017-11-08 23:25:06 -08:00
Lars Brubaker
7d39c9bfeb Guard against null 2017-11-08 17:17:53 -08:00
John Lewin
c1b2aeb7d8 Rename Wizard Window/Page -> Dialog Window/Page 2017-11-08 15:56:37 -08:00
John Lewin
24cf593b29 Simplify 2017-11-08 15:35:30 -08:00
Lars Brubaker
5f8781d67a Got the TumbleCubeControl working (some)
Fixed Matrix CreateRotation(axis, angle) to not negate the angle
Fixed all the code this broke
2017-11-08 14:45:59 -08:00
Lars Brubaker
98f32ca2b0 Improving tumble contol 2017-11-08 14:45:59 -08:00
John Lewin
76ffda05f9 Change DragDrop context on tab switch
- Issue MatterHackers/MCCentral#2072
View3DWidget DragDrop targets not changing on tab switch
2017-11-07 14:59:20 -08:00