Commit Graph

244 Commits

Author SHA1 Message Date
a0674714b1 More work for background processing 2014-06-13 14:27:55 +02:00
d9e7a50a6e Partial work for background processing 2014-06-13 11:19:53 +02:00
3f6360ee8f Finish porting Print classes to XS 2014-06-10 16:01:57 +02:00
ba8148f4ad Merge branch 'printcpp' of github.com:sapir/Slic3r into sapir-printcpp
Conflicts:
	lib/Slic3r/GCode.pm
	lib/Slic3r/Print.pm
	lib/Slic3r/Print/Object.pm
	lib/Slic3r/Print/Region.pm
2014-06-10 14:46:40 +02:00
defe0a4279 Move 2D canvas to a distinct class for better isolation 2014-05-28 12:29:43 +02:00
e62672f787 Fix regression in Split from GUI. Might be related to #1998 2014-05-26 13:10:58 +02:00
8da0bded1d Move Print object storage to C++. (along with its subobjects) 2014-05-24 23:50:29 +03:00
0ba685f556 Fix regression causing config validation to be ignored when using the Export G-code button in plater. #2046 2014-05-20 23:29:43 +02:00
27c73f5983 Some fixes after the recent Model refactoring 2014-05-10 16:59:17 +02:00
7ba08c90cf Refactoring to Model API for making it stricter and safer 2014-05-09 14:24:35 +02:00
093d1cbe2f Don't transfer ownership of Model to Print::Object 2014-05-07 01:11:49 +02:00
13af16ea24 Use Pointf for origin_translation and pass const refs whenever possible 2014-05-07 00:58:29 +02:00
05b2993769 Translate Model class' storage to C++.
Some code copied from xs-model branch.

Also:
* Generate ::Ref classes programatically.
* Add separate __REGISTER_CLASS macro
    (for use where forward declaration won't work, i.e. typedefs)
2014-05-05 16:30:19 +03:00
4f17c2b7d1 First working implementation of a GUI for cutting 2014-04-25 17:14:39 +02:00
882a98ed44 Initial work for a GUI for the cut feature 2014-04-25 14:54:08 +02:00
10bf334a58 Added one more failing test to address bad option priority hierarchy 2014-03-26 19:42:01 +01:00
d1bb69434e Handle non existing STL files gracefully 2014-03-25 19:06:51 +01:00
25191bd405 Prevent circular event handlers on Windows. #1856 2014-03-25 15:30:56 +01:00
f6f1517f58 Bugfix: the Add button in plater wasn't working anymore. #1856 2014-03-25 15:07:21 +01:00
72a6848f1b Fixed regression causing wrong relative positions of objects after splitting in plater. #1758 2014-03-24 21:42:38 +01:00
fec41d6dfd Update plater and print upon changing object parts and their settings 2014-03-23 16:45:55 +01:00
21e6de0e59 Only expand shortcut options in StaticConfig objects. This way we can keep a default extruder value in the parts panel 2014-03-22 20:12:54 +01:00
34f1511e0c Better fix for non-global options not being replaced in filename placeholders. Includes refactoring and a new PlaceholderParser class. Also includes regression tests. #1831 2014-03-17 00:39:07 +01:00
59ebdebf72 Revert "Fix crash reported by Simooon on #Slic3r."
It turns out this helped on the version of stable I was using
but not on master.

This reverts commit 8df6e2d930.
2014-02-16 14:00:28 +00:00
8df6e2d930 Fix crash reported by Simooon on #Slic3r.
Error was:

  Argument "" isn't numeric in subroutine entry at
    lib/Slic3r/GUI/OptionsGroup.pm line 392
2014-02-16 12:05:01 +00:00
df508551d0 Refresh plater canvas when switching presets 2014-02-14 22:25:58 +01:00
7387e60706 More incomplete work 2014-01-22 21:15:19 +01:00
90194ee581 Fix overflow in Point::ccw() affecting convex hull generation. Includes regression test 2014-01-17 14:49:51 +01:00
a40556ab56 Repair meshes after splitting 2014-01-14 22:06:28 +01:00
499b34dea1 Catch any click inside thumbnail's contour for easier selection of thin-walled objects 2014-01-05 15:02:12 +01:00
0bdea60b53 Merge branch 'region-config'
Conflicts:
	lib/Slic3r/Format/AMF/Parser.pm
2014-01-05 14:59:36 +01:00
2754ddf215 Fix positioning of loded AMF plates 2014-01-05 14:04:32 +01:00
81663215c5 Adapt plater to the new split config 2014-01-02 22:06:58 +01:00
beb1baa096 Incomplete work for refactoring regions and flows 2013-12-30 18:28:41 +01:00
ca2952060d Draw more detailed thumbnails in plater and turn cursor to hand also when moving inside holes (otherwise objects with thin walls would not be easy to select) 2013-12-29 01:28:06 +01:00
c5ead0f2a6 Fixes to Config and plater; also refactored the arrange() code 2013-12-24 00:30:51 +01:00
ab25cc4940 Merge branch 'xs-config'
Conflicts:
	lib/Slic3r/Config.pm
	xs/MANIFEST
2013-12-22 01:41:55 +01:00
9fb62e671f Adapt GUI to new XS Config 2013-12-22 01:27:09 +01:00
266673213d New option for turning autocentering off. #404 2013-12-18 19:11:20 +01:00
15235699e4 Completed adapting plater behavior to new Print object API 2013-12-18 18:54:11 +01:00
e4c9171890 Handle read_from_file() exceptions in GUI. #1619 2013-12-17 16:14:00 +01:00
2d045d1f39 Removed extra line 2013-12-17 16:01:25 +01:00
02df73c94b More refactoring to clean up the Print object API 2013-12-16 00:54:59 +01:00
d3171b1eea More work for updating the embedded Print object when Model is changed in plater 2013-12-16 00:36:53 +01:00
fcbd62f07c Finished updating plater to the new centering logic 2013-12-15 23:50:05 +01:00
4993b12799 Some initial work for adapting plater to the new centering workflow 2013-12-15 18:00:44 +01:00
250608aa52 Move centering outside the Print object 2013-12-15 16:17:12 +01:00
2eff7c238e Some initial work for stateful Print object 2013-12-13 14:02:01 +01:00
14c97978c7 Use 0,0 for default instance 2013-12-13 12:24:23 +01:00
5470fbbebc Make quick_slice() work with new model handling 2013-12-13 12:18:30 +01:00