5031 Commits

Author SHA1 Message Date
Joseph Lenox
dd90924578 made download more flexible. 2018-05-13 12:41:42 -05:00
Joseph Lenox
3f77c838b8 Build wx and cache the build dir instead of the installdir. Also add it to PATH so that wx-config will be found. 2018-05-13 12:33:22 -05:00
Joseph Lenox
685ed01ac6 wrong argument to tar 2018-05-13 11:58:24 -05:00
Joseph Lenox
437c4f8cf3 Build wxwidgets on osx if it's not cached. 2018-05-13 11:55:55 -05:00
Joseph Lenox
ebe37cd27d Playing around with compiler setups 2018-05-13 11:30:46 -05:00
Joseph Lenox
86b620d8a0 push CXX and CC to a subscript. 2018-05-13 11:25:50 -05:00
Joseph Lenox
9474e2bbc0 Oops, forgot a ] 2018-05-13 11:20:09 -05:00
Joseph Lenox
8558050979 try to build on both linux and osx with travis 2018-05-13 11:14:58 -05:00
Joseph Lenox
cad9750384 put the dc on the stack so it gets destroyed instead of on the heap. 2018-05-13 11:01:17 -05:00
Joseph Lenox
294c9aaa18 call Realize() function on toolbar. 2018-05-13 11:00:29 -05:00
Joseph Lenox
cdcccfc87c Abort arrange if no objects in plater. 2018-05-13 11:00:14 -05:00
Joseph Lenox
e0ff9411ba Stubbed undo ops for increase/decrease. 2018-05-13 09:20:05 -05:00
Joseph Lenox
fa2ee0b8a1 Add loaded objects to the Slic3r::Print reference. 2018-05-13 09:19:44 -05:00
Joseph Lenox
9b81e7ad95 Implemented increase/decrease for instances. 2018-05-13 09:19:12 -05:00
Joseph Lenox
ffa1b3ba2c Removed useless tooltip id 2018-05-13 00:22:34 -05:00
Joseph Lenox
5cba03da98 Added std::string versions of error and info to Slic3r::Log 2018-05-13 00:07:11 -05:00
Joseph Lenox
22e24d92e2 Throw a custom exception if Print::delete_object() gets an out-of-range identifier. 2018-05-13 00:06:34 -05:00
Joseph Lenox
163572e537 Stubbed out toolbar with calling functions; Add, Delete, and Delete All work.
Plater object got a move constructor.
2018-05-13 00:05:31 -05:00
Joseph Lenox
9108e1b13d Stubbed out toolbar button graphics. 2018-05-12 20:11:14 -05:00
Joseph Lenox
1006abc5b8 Cleaned up header for Plate2D.hpp; added comments. 2018-05-12 19:43:43 -05:00
Joseph Lenox
2d386053f6 Forgot to check in a } 2018-05-12 19:21:22 -05:00
Joseph Lenox
850e546c92 Draw skirt on 2D plater. 2018-05-12 18:57:12 -05:00
Joseph Lenox
996a8e355a Draw clearance area if necessary. 2018-05-12 18:38:55 -05:00
Joseph Lenox
3e65cf843d Implemented keyboard nudge in 2D plater. 2018-05-12 17:33:01 -05:00
Joseph Lenox
cd9ba69328 Remembered to bind the right click mouse events, moved the associated comment.
capture [this] instead of [=] for lambdas.
2018-05-12 17:32:30 -05:00
Joseph Lenox
4e5ed9cdb0 Assign on_instances_moved and put a try/catch to not crash if it accidentally gets called while uninitialzed. 2018-05-12 16:58:29 -05:00
Joseph Lenox
9a4ab21bb8 Comment update to be more clear as to what is going on 2018-05-12 16:56:32 -05:00
Joseph Lenox
2bb1c1ab39 Use wxDateTime::Now() to initialze current date instead of default constructor (avoid runtime errors) 2018-05-12 16:41:56 -05:00
Joseph Lenox
ca0e39d7e7 2D Plater: Added double-click handler. 2018-05-12 16:05:22 -05:00
Joseph Lenox
f1ec1f068f 2D Plater: Change cursor to hand cursor when over selectable items. Includes function to check if any instance in a PlaterObject includes a point (makes logic much more readable). 2018-05-12 16:05:02 -05:00
Joseph Lenox
c08d0de7d0 Mostly implemented mouseup on 2D player.
Someting through on_instances_moved causes an uncaught exception.
2018-05-12 13:40:51 -05:00
Joseph Lenox
539e83e74f Set some default values. 2018-05-12 13:39:45 -05:00
Joseph Lenox
ef0f7bf7bb 2D click and drag functions now like in perl side. 2018-05-12 13:39:20 -05:00
Joseph Lenox
b88d36c391 Removed dead code and a spammy log message. 2018-05-12 13:38:41 -05:00
Joseph Lenox
a49ab1549d Cleaned up a pointless statement warning. 2018-05-12 13:38:09 -05:00
Joseph Lenox
74570f822c Object selection now functions on 2D plater. 2018-05-11 23:09:15 -05:00
Joseph Lenox
13e8a1ea1a Use correct range for range check on iterator. 2018-05-11 23:07:07 -05:00
Joseph Lenox
1d4e5775ae Set typedef (via using directive) for object references (iterators) and object indices. 2018-05-11 22:38:00 -05:00
Joseph Lenox
872fd61706 Moved assignable methods to std::function objects. 2018-05-11 22:36:37 -05:00
Joseph Lenox
dfe4f54d08 stubbed methods to fire object_settings_dialog, retrieve the current selected object, etc. 2018-05-11 22:34:40 -05:00
Joseph Lenox
cbede041d2 be a little smarter about converting things (avoids confusing mingw 7.3) 2018-05-10 19:10:33 -05:00
Joseph Lenox
ce21077c61 Define wxGTK as false under win32 or osx 2018-05-10 19:09:39 -05:00
Joseph Lenox
a57a9dc700 Set the bitmap type (needed for wxMSW) and check that the load happens before trying to use it. 2018-05-10 19:08:58 -05:00
Joseph Lenox
aba90c705a Fix some linking under MinGW. 2018-05-10 18:48:24 -05:00
Joseph Lenox
10c538c683 made SLIC3R_STATIC a -D option instead of environment var 2018-05-10 18:48:04 -05:00
Joseph Lenox
d48166ae92 Stubbed out classes for 3D plater/preview, 2D preview (toolpaths), and DLP/SLA preview tabs. 2018-05-09 23:03:06 -05:00
Joseph Lenox
b8a9761b6c Fix typo in drag_start_pos assignment. 2018-05-09 21:57:04 -05:00
Joseph Lenox
014d134823 Utility function for generating scaled points from wxPoints. 2018-05-09 21:56:15 -05:00
Joseph Lenox
e835184cef added a little bit of whitespace to Plater.hpp 2018-05-09 21:55:20 -05:00
Joseph Lenox
dc626de8b3 use wxID_ANY instead of -1 for calling preview notebook 2018-05-09 21:49:04 -05:00