Commit graph

106 commits

Author SHA1 Message Date
John Lewin
ca9380bd3f Move DeleteCache behavior to shared method off of Thumbnails 2018-08-02 17:30:59 -07:00
John Lewin
472ab06f03 Use Object3D.Load(stream) for load 2018-08-01 18:30:36 -07:00
John Lewin
45ff2d5e54 Add support for printing GCode
- Issue MatterHackers/MatterControl#3457
MC2 2.0.0.9727 Gcode files do not print
- Enable print from current bed plate
- Enable print from library selection
2018-07-18 17:12:56 -07:00
John Lewin
f04cf69f71 Purge library rather than content thumbnail cache on save
- Issue MatterHackers/MCCentral#3803
Start page showing wrong icon for recent print
2018-07-17 16:44:28 -07:00
Lars Brubaker
7d329ed03c Make sure we are default to shaded 2018-06-27 16:08:33 -07:00
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
262ef1ebb0 Simplify naming 2018-06-21 10:03:13 -07:00
John Lewin
b491cc8e5a Add type for thumbnail cache, move to ApplicationController 2018-06-21 10:03:13 -07:00
Lars Brubaker
c1588fcd04 Created the data to allow thumbnails to be cached by mesh id
Estimated memory size for mesh
Mesh Render Id
Get long hash for color
default constructor for face and vertex

issue: MatterHackers/MCCentral#3519
Improve thumbnail generation for complicated models
2018-06-19 17:04:20 -07:00
John Lewin
b77a72a934 After slicing, set endLayerIndex to target layer + 1
- Issue MatterHackers/MCCentral#3577
After slicing we switch to render n - 1 but show were on n
2018-06-12 12:33:35 -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
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
John Lewin
7878fc8141 Add support for GCode post processors, discover and process from scene 2018-05-26 12:17:47 -07:00
John Lewin
9c9462001c Revise accessibility of LoadGCodeContent 2018-05-22 13:41:16 -07:00
John Lewin
1c3493e8a2 Add missing field initializer 2018-05-09 10:50:31 -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
f651026b15 Add and use application viewstate type for library view mode
- Issue MatterHackers/MCCentral#3315
ListView mode/state not synced with actual
2018-05-09 07:52:05 -07:00
John Lewin
45b8c06827 Switch back to Model view on ClearPlate
- Issue MatterHackers/MCCentral#3284
clearing the bed does not switch back on the 3D view after dragging on GCode
2018-05-07 19:22:21 -07:00
John Lewin
9a43326fd5 Switch to GCode view on load if is GCode content 2018-05-07 19:22:21 -07:00
John Lewin
d9557b9767 Remove hard-coded coupling to PlatingDirectory, use loaded container
- Ensures Parts can be saved to PartHistory rather than PlateHistory
2018-04-29 11:05:35 -07:00
Lars Brubaker
a421ca2aae using the bed image on 2d view
making bed re-calculate on 2d view
2018-04-19 14:39:55 -07:00
John Lewin
48b7a85de6 Invoke Click rather than changing Checked to ensure event fires
- Issue MatterHackers/MCCentral#3171
Something got messed up with baby stepping on this print
2018-04-19 13:27:40 -07:00
Lars Brubaker
c63173f199 Moving all user settings test strings into UserSettingsKey
prototyping user tips system
2018-04-18 14:38:21 -07:00
Lars Brubaker
3a26b12f22 Got the view to be off center
Made the gcode panel and the model panel match sizes
The vanishing point can be moved in x
2018-04-18 09:37:02 -07:00
John Lewin
35a898871e Prefer InMemoryLibraryItem for passing scene reference 2018-04-09 13:16:18 -07:00
John Lewin
9e9686c8fe Remove hard to sync toggle switches 2018-04-05 15:54:16 -07:00
John Lewin
64a96dd7ff Add new toggle switch style 2018-04-05 15:54:12 -07:00
John Lewin
5a13d9cf30 Move view options from overflow menu to new persistent panel
- Issue MatterHackers/MCCentral#3014
Add View Options panel to model view
2018-04-05 15:52:17 -07:00
John Lewin
d556fbcf75 Move state from UI layer to model 2018-04-05 15:52:14 -07:00
John Lewin
7aba4267c0 Release event listeners on close
- Issue MatterHackers/MCCentral#3016
Switching colors leaks GuiWidgets
2018-04-02 12:59:18 -07:00
John Lewin
c5977bf3f4 Revise naming for clarity 2018-03-14 17:14:50 -07:00
John Lewin
a39e2b532d Persist Printer tab state
- Issue MatterHackers/MCCentral#2872
2018-03-12 15:59:03 -07:00
John Lewin
ad38cc5a98 Revise Assets 2018-03-07 18:12:49 -08:00
John Lewin
d54e317382 Revise long running task title assignment and draw position
- Issue MatterHackers/MCCentral#2737
long running task overlaps title and content
2018-02-20 18:27:52 -08:00
John Lewin
26a483b08f Set better default width 2018-02-18 10:59:49 -08:00
John Lewin
f5287fac1a Add persistent GCode sidebar, add db settings to track width 2018-02-16 18:49:36 -08:00
John Lewin
4ffde89cab Use unwaited async load for new LoadPlateFromHistory method
- Issue MatterHackers/MCCentral#2552
Startup hangs at "ProfileManager" when complex items are on bed
2018-02-14 18:10:21 -08:00
John Lewin
cf2f01f48b Collapse Save into SaveChanges
- Issue MatterHackers/MCCentral#2822
Collapse SaveChanges into Save
2018-02-13 17:00:23 -08:00
John Lewin
f8d9070c61 Rename GetContentStream() -> GetStream() 2018-02-12 19:26:38 -08:00
John Lewin
f440981e51 Rename ILibraryContentStream -> ILibraryAssetStream 2018-02-12 19:26:38 -08:00
John Lewin
4bfcf88cb9 Remove single use overload, callers must specify CancellationToken 2018-02-12 19:26:37 -08:00
John Lewin
127fedd0d5 Simplify SaveAs, move into menu definition,
- Extract persistence to Scene.ToPersistedLibraryItem()
2018-02-12 19:26:37 -08:00
John Lewin
19972a900f Move SaveChanges from GuiWidget(View3DWidget) to SceneContext 2018-02-12 19:26:36 -08:00
John Lewin
5c76436fb5 Add prototype for user driven GCode coloring mode
- Issue MatterHackers/MCCentral#2793
Non-speed rendering should avoid using colors from the speeds table
- Issue MatterHackers/MCCentral#2792
Speeds legend should only be visible when Speed rendering is enabled
2018-02-09 21:51:06 -08:00
John Lewin
30cf0c0f60 Add support for slicing persisted but in memory IObject3D items
- Issue MatterHackers/MCCentral#2785
Exception in AddObjectsForExtruder
2018-02-09 18:11:55 -08:00
John Lewin
313893c802 Remove library path specifier from Scene.Save instance member 2018-02-07 09:44:27 -08:00
John Lewin
877ea4d040 Purge thumbnail cache on save
- Issue MatterHackers/MCCentral#2766
Thumbnail cache invalidation leaves behind sized thumbnails
2018-02-03 13:32:50 -08:00
John Lewin
1377651016 Add user control of model rendering in GCode view
- Add Semi-transparent option for less noisy render
- Add Wireframe option for latest render style
- Add None option for classic view
- Issue MatterHackers/MCCentral#2713
Consider adding wireframe/shaded toggle to gcode view options
2018-02-02 23:23:39 -08:00
Lars Brubaker
010b57649e Added in ability to manually adjust the gcode time multiplier 2018-02-02 10:33:45 -08:00