28 Commits

Author SHA1 Message Date
Joseph Lenox
375663c381 Stubbed out classes for 3D plater/preview, 2D preview (toolpaths), and DLP/SLA preview tabs. 2018-07-11 22:14:51 -05:00
Joseph Lenox
0b978b34aa added a little bit of whitespace to Plater.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
8ae3140ef0 use wxID_ANY instead of -1 for calling preview notebook 2018-07-11 22:14:51 -05:00
Joseph Lenox
68edec4fea More documentation of Plater methods. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6e9cd3bfdd Made Plater::arrange a little less noisy, noted TODO for the background process pause.
Also finished implemented bed_centerf()
2018-07-11 22:14:51 -05:00
Joseph Lenox
7c513fe0d2 added additional documentation for Plater 2018-07-11 22:14:51 -05:00
Joseph Lenox
bbcdebf5b5 more work on arrange() 2018-07-11 22:14:51 -05:00
Joseph Lenox
1cd7e878b0 Stubbed out Plater::arrange() and on_model_change() 2018-07-11 22:14:51 -05:00
Joseph Lenox
f4a90f6742 remember to add the prototype for make_thumbnail 2018-07-11 22:14:51 -05:00
Joseph Lenox
59af3c8a86 Stub out more of the sizers so people implementing can see their work immediately. 2018-07-11 22:14:51 -05:00
Joseph Lenox
cacaa365c3 Added make_thumbnail and on_thumbnail_made 2018-07-11 22:14:51 -05:00
Joseph Lenox
6741a6cc0a Added canvas refresh utility function. Additional previews/canvases should update here. 2018-07-11 22:14:51 -05:00
Joseph Lenox
deb0cfb273 Added bare-bones stubs for 3D plater and 3D preview. 2018-07-11 22:14:51 -05:00
Joseph Lenox
bbbe7e7560 Use std::string internally instead of wxString. 2018-07-11 22:14:51 -05:00
Joseph Lenox
97cb562890 Implemented load_model_objects, fleshed out add() more.
Implemented bed_centerf().
2018-07-11 22:14:51 -05:00
Joseph Lenox
5b13c5a134 stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object. 2018-07-11 22:14:51 -05:00
Joseph Lenox
c9e831b68c Handle wxEVT_WINDOW_CLOSE 2018-07-11 22:14:51 -05:00
Joseph Lenox
67451c03b5 Moved statusbar up to public (allow children to manipulate the statusbar) 2018-07-11 22:14:51 -05:00
Joseph Lenox
97961812f5 stubbed in load_model_objects, load_file should be implemented now. 2018-07-11 22:14:51 -05:00
Joseph Lenox
404618ecca Stubbed out load_file, some work on add to call load_file().
Added some comments for canvas2D.
2018-07-11 22:14:51 -05:00
Joseph Lenox
efedbc6c4e Plater2DObject->PlaterObject 2018-07-11 22:14:51 -05:00
Joseph Lenox
1ededf8481 added Selected_instance field to Plater2DObject, also added reference to object index to Plater. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2bb202e2ec Set LogChannel for Slic3r::GUI::Plater 2018-07-11 22:14:51 -05:00
Joseph Lenox
f44efd08b0 Push Settings down so it's available to the plater (for color choices, etc). 2018-07-11 22:14:51 -05:00
Joseph Lenox
4aef7ddff6 Further implementation of Plater and Plater2D. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6e541d4867 Stubbed Plater constructor. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e1667825a5 Moved plater stubs to its own cpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f9cef4345 Stubbing out more of the UI. 2018-07-11 22:14:51 -05:00