Commit graph

66 commits

Author SHA1 Message Date
Lars Brubaker
bed90234e7 Made MatterControl run as a .net standard app
Moving matter control to a lib and creating a new exe to run it
2018-09-06 16:09:58 -07:00
Lars Brubaker
ecb755634b Getting MaterControl solution to build 2018-08-09 10:48:48 -07:00
John Lewin
9bcb02db5b Create content and library thumbnails on raytrace success 2018-06-21 21:52:01 -07:00
John Lewin
eab6844f41 Inline return value, move caching logic to caller 2018-06-21 21:51:09 -07:00
John Lewin
b347d588f2 Limit to private scope until need returns 2018-06-21 21:48:53 -07:00
John Lewin
4ab59d0aa8 Return the default image if rules prevent thumbnail generation 2018-06-21 21:44:44 -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
John Lewin
1e8359a66f Leave scaling to caller
- Issue MatterHackers/MCCentral#3696
Large MeshContentProvider default thumbnails after load from cache
2018-06-20 22:53:47 -07:00
John Lewin
69490d206c Only cache raytraced images at the content cache key
- Issue MatterHackers/MCCentral#3698
Thumbnails generated for both LibaryItem.ID and content ID
2018-06-20 22:43:59 -07:00
John Lewin
0e574131a9 Revise IContentProvider GetThumbnail signature
- Issue MatterHackers/MCCentral#3695
ContentProvider GetThumbnail fails for non-mesh content
2018-06-20 22:34:24 -07:00
John Lewin
7f93da2a0d Simplify 2018-06-20 21:11:38 -07:00
John Lewin
5760ac0166 Remove ThumbnailKey 2018-06-20 21:11:37 -07:00
Lars Brubaker
78d16dddfb If we don't find the provider id still look for the mesh id 2018-06-19 17:30:12 -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
0d7521696a Extract method for direct thumbnail generation of IObject3D 2018-06-14 15:21:00 -07:00
John Lewin
910705d35b Simplify 2018-06-12 21:16:26 -07:00
John Lewin
1aa73db988 Remove BigRender cache as no longer valid
- Issue MatterHackers/MCCentral#3453
If part icons are built too small they don't rebuild at bigger sizes
2018-05-29 11:53:43 -07:00
John Lewin
f5cf6c48eb Revise IContentProvider.GetThumbnail signature 2018-05-21 14:46:22 -07:00
John Lewin
732186a512 Render raytraced images at requested size 2018-05-21 14:46:22 -07:00
John Lewin
8b969f31a4 Move default from UI layer to model property
- Issue MatterHackers/MCCentral#3052
Default to ray traced icons on desktop
2018-04-07 15:50:42 -07:00
Lars Brubaker
cc9d986e4b Build orthographic thumbnails for large content 2018-03-14 16:44:20 -07:00
Lars Brubaker
859304fd16 Fixed print recovery test
removed the gcode buffer size variable (it didn't work)
2018-02-21 18:15:22 -08:00
Lars Brubaker
cd97718f6b Put in a new splash screen image (from android)
Made the default thumbnail render be traced
2018-02-21 15:23:54 -08:00
John Lewin
273468041f Set MeshPath on load to track original source file 2018-02-13 12:46:55 -08:00
John Lewin
6dadc8869f Remove breaking change 2018-02-13 12:46:54 -08:00
John Lewin
54032fac73 Collapse export into existing method, resolve outstanding issues 2018-02-13 12:46:54 -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
7a4d4df4c0 Rename ILibraryContentItem -> ILibraryObject3D
- Rename member .GetContent() -> .GetObject3D()
2018-02-12 19:26:38 -08:00
John Lewin
1f1f9b64ea Remove dead code 2018-02-12 19:26:37 -08:00
John Lewin
00c0be94c2 Fix library performance issues due to resize on display
- Issue MatterHackers/MCCentral#2435
Large thumbnail images behind poorly performing ListView control
2017-12-18 10:53:26 -08:00
John Lewin
494c2b6d82 Remove redundant helper method 2017-12-15 14:55:10 -08:00
Lars Brubaker
5638bfa646 Put in loading of OBJ files
Load 64 bit matter slice in debug
Build ray trace thumbnails in 64 bit always
2017-11-03 13:43:55 -07:00
John Lewin
0cd3ee2dbb Fix Object3D name regression
- Issue MatterHackers/MCCentral#2069
Investigate multiple failing tests due to missing Scene items
2017-10-13 20:59:58 -07:00
John Lewin
28f1bdd5d8 Remove ContentResult - CreateItem should return Object3D 2017-10-13 18:41:37 -07:00
John Lewin
9eda55bdae Plate at bed center, use InsertionGroup for load handling 2017-09-29 13:49:14 -07:00
John Lewin
16aef9cd99 Set listview default image, notify container when thumbnail generated 2017-09-28 23:02:33 -07:00
John Lewin
278351dc88 Rename member to match behavior 2017-09-28 21:58:29 -07:00
John Lewin
26ed29798a Set default content icon if thumbnail generation is skipped 2017-09-28 17:47:07 -07:00
John Lewin
040d3dc934 Prevent acquisition of content streams for remote only data 2017-09-28 17:36:42 -07:00
John Lewin
b6a2654899 Renamed member to reflect behavior 2017-09-28 16:15:20 -07:00
John Lewin
f42006c537 Restore progress bars on DragDrop 2017-09-28 16:05:54 -07:00
John Lewin
2bddaf503b Position placeholder mesh z0, make static 2017-09-28 11:55:13 -07:00
John Lewin
d1f9c04613 Use specialized type for IObject3D.Children 2017-09-26 13:19:53 -07:00
Lars Brubaker
ac634aad6e Do the right translation (compile and continue error) 2017-09-22 18:16:04 -07:00
Lars Brubaker
1d4a57dbc4 Fixed part drag color and scale 2017-09-22 17:53:25 -07:00
John Lewin
f14edc9d41 Copy source transform on copy 2017-09-22 17:30:31 -07:00
John Lewin
ceecb7d5a6 Add InsertGroup type to manage adding multiple items to the scene 2017-09-19 20:00:10 -07:00
John Lewin
76e7af0436 Eliminate PrinterConnection.Instance 2017-09-17 21:08:16 -07:00