Joseph Lenox
|
fee6aef5c4
|
Get access to LOG_WSTRING.
|
2018-05-07 21:31:42 -05:00 |
|
Joseph Lenox
|
b0404fca34
|
Fixed inverted logic; abort if there aren't any transformed thumbnails.
|
2018-05-07 21:31:19 -05:00 |
|
Joseph Lenox
|
787ac4a0e3
|
Add LogChannel designation as a protected member.
|
2018-05-07 21:30:28 -05:00 |
|
Joseph Lenox
|
eb4df9965f
|
Pass bool when we mean bool, not int.
|
2018-05-07 21:30:05 -05:00 |
|
Joseph Lenox
|
ad7460655b
|
Being more specific about units.
|
2018-05-07 21:29:36 -05:00 |
|
Joseph Lenox
|
eca8fea2b4
|
Work on shared::ptr of Model instead of trying to be clever.
|
2018-05-07 21:28:52 -05:00 |
|
Joseph Lenox
|
62f7760198
|
Make update_bed_size() public.
|
2018-05-07 21:27:02 -05:00 |
|
Joseph Lenox
|
ae10bc70b5
|
Actually unscale instead of doing silly things.
|
2018-05-07 21:26:07 -05:00 |
|
Joseph Lenox
|
def5d565b6
|
call update_bed_size during instantiation
|
2018-05-07 21:24:27 -05:00 |
|
Joseph Lenox
|
d6d3c75582
|
Stub out more of the sizers so people implementing can see their work immediately.
|
2018-05-07 21:24:08 -05:00 |
|
Joseph Lenox
|
962239cf61
|
avoid magic numbers
|
2018-05-07 21:23:33 -05:00 |
|
Joseph Lenox
|
6276e0d7ce
|
Added make_thumbnail and on_thumbnail_made
|
2018-05-06 22:51:55 -05:00 |
|
Joseph Lenox
|
98d4e9a6c5
|
Added canvas refresh utility function. Additional previews/canvases should update here.
|
2018-05-06 22:49:03 -05:00 |
|
Joseph Lenox
|
bc311474a2
|
stubbed in constant for turning on/off threading (mostly to reduce complexity when testing feature code)
|
2018-05-06 22:47:06 -05:00 |
|
Joseph Lenox
|
19c1811823
|
Added bare-bones stubs for 3D plater and 3D preview.
|
2018-05-06 22:44:00 -05:00 |
|
Joseph Lenox
|
7c96e56e07
|
Stubbed out the different draw brushes being set; flattened loops slightly and posted a note
|
2018-05-06 21:39:31 -05:00 |
|
Joseph Lenox
|
17074c14b8
|
Remember to put the event skip in during repaint.
|
2018-05-06 20:39:50 -05:00 |
|
Joseph Lenox
|
e6caa8aa61
|
Started work on component to draw thumbnails from repaint() method.
|
2018-05-06 20:39:29 -05:00 |
|
Joseph Lenox
|
b1c6d28411
|
Ported clean_instance_thumbnails
|
2018-05-06 20:37:49 -05:00 |
|
Joseph Lenox
|
08611ffc8c
|
Use std::string internally instead of wxString.
|
2018-05-06 19:39:34 -05:00 |
|
Joseph Lenox
|
ad22956391
|
Use .at() instead of [] because that'll throw an exception if out of bounds instead of a hard-to-find memory crash.
|
2018-05-06 19:38:11 -05:00 |
|
Joseph Lenox
|
2e74c9f3ad
|
Remember that std::vector<>.size() needs to be offset by 1 if it's being used to find the last index.
|
2018-05-06 19:37:25 -05:00 |
|
Joseph Lenox
|
b541bc208f
|
Avoid using wxString Printf, instead use Format() and use wxRealPoint (floating point) instead of wxPoint (integer)
|
2018-05-06 17:55:59 -05:00 |
|
Joseph Lenox
|
904e7d749e
|
Implemented load_model_objects, fleshed out add() more.
Implemented bed_centerf().
|
2018-05-05 17:37:13 -05:00 |
|
Joseph Lenox
|
b0d552ce4e
|
Add macro to take advantage of wxString <<
|
2018-05-05 17:35:28 -05:00 |
|
Joseph Lenox
|
2c2ad2c992
|
Changed identifier type to size_t (needs to be numerical to do math on it)
|
2018-05-05 16:13:58 -05:00 |
|
Joseph Lenox
|
2b91524619
|
Remember to actually set the sizer.
|
2018-05-05 12:57:31 -05:00 |
|
Joseph Lenox
|
91edf908f2
|
Stubbed restore_window_pos
|
2018-05-05 12:56:24 -05:00 |
|
Joseph Lenox
|
0af528845c
|
Finished implementing ProgressStatusBar class
|
2018-05-05 12:48:24 -05:00 |
|
Joseph Lenox
|
ea94cb7506
|
Fleshed out a StartBusy() function and moved Run to be public.
Also added functional as a header.
|
2018-05-04 23:20:03 -05:00 |
|
Joseph Lenox
|
9235a52dce
|
stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object.
|
2018-05-04 22:47:49 -05:00 |
|
Joseph Lenox
|
e2fdb00bb0
|
removed commented Perl code from MainFrame
|
2018-05-04 22:47:06 -05:00 |
|
Joseph Lenox
|
c012ea6a00
|
Implemented ProgressStatusBar
|
2018-05-04 22:46:50 -05:00 |
|
Joseph Lenox
|
85bfd86bb3
|
Handle wxEVT_WINDOW_CLOSE
|
2018-05-04 22:39:28 -05:00 |
|
Joseph Lenox
|
c68cadbefa
|
Properly pull slic3r version string from libslic3r
|
2018-05-04 22:39:03 -05:00 |
|
Joseph Lenox
|
e263ca2b38
|
Stubbed out save_window_pos
|
2018-05-04 22:35:20 -05:00 |
|
Joseph Lenox
|
2bab9f27e1
|
Moved statusbar up to public (allow children to manipulate the statusbar)
|
2018-05-03 07:55:41 -05:00 |
|
Joseph Lenox
|
33d2232f09
|
stubbed in load_model_objects, load_file should be implemented now.
|
2018-05-02 22:51:08 -05:00 |
|
Joseph Lenox
|
131e6d8d8d
|
Initial load status bar, apparently layout broke for plater.
|
2018-05-02 22:50:22 -05:00 |
|
Joseph Lenox
|
434fc0aa2e
|
Define new event to post status text messages to a status bar; meant for child items to post information to the status bar that propagate up
|
2018-05-02 22:49:54 -05:00 |
|
Joseph Lenox
|
4d9d2c88dc
|
added file filters to add dialog
|
2018-05-02 16:16:19 -05:00 |
|
Joseph Lenox
|
ff1fa38b31
|
Stubbed out load_file, some work on add to call load_file().
Added some comments for canvas2D.
|
2018-05-01 22:51:07 -05:00 |
|
Joseph Lenox
|
3b17844fba
|
partially implemented open_model as a free function in misc_ui. Initial dir and the file patterns are not implemented yet.
|
2018-05-01 22:50:10 -05:00 |
|
Joseph Lenox
|
a998324962
|
Stubbed out mouse events for left up/down/dclick.
|
2018-05-01 22:32:42 -05:00 |
|
Joseph Lenox
|
76b86c807b
|
Implemented make_thumbnail and transform_thumbnail; neither is tested yet.
|
2018-05-01 22:32:09 -05:00 |
|
Joseph Lenox
|
5f405b60e9
|
Plater2DObject->PlaterObject
|
2018-05-01 21:51:28 -05:00 |
|
Joseph Lenox
|
14097656e9
|
Added point_to_model_units() and clarified a couple comments.
|
2018-04-30 23:38:12 -05:00 |
|
Joseph Lenox
|
7afbb6978a
|
added Selected_instance field to Plater2DObject, also added reference to object index to Plater.
|
2018-04-30 22:34:30 -05:00 |
|
Joseph Lenox
|
352183131a
|
Finished update_bed_size, shuffled LogChannel position in the class.
updated a few comments.
|
2018-04-30 22:33:54 -05:00 |
|
Joseph Lenox
|
2116dfa178
|
more work on repaint() event handler. Now draws grid based on bed polygon in config.
|
2018-04-30 22:22:36 -05:00 |
|