462 Commits

Author SHA1 Message Date
Alessandro Ranellucci
3271010226 Write mm^3/s to the G-code comments 2017-04-01 10:19:14 +02:00
Alessandro Ranellucci
9b4fe076a6 Workaround for detect_surfaces_type() not being idempotent and causing artifacts after multiple runs. #3764 2017-03-28 15:58:52 +02:00
Alessandro Ranellucci
ff9bae79ca Merge pull request #3796 from platsch/slice_xs
Ported parts of Slice to xs
2017-03-28 10:37:52 +02:00
Joseph Lenox
977b0aa8e1 Use correct variable type. 2017-03-26 13:54:03 -05:00
bubnikv
cc1ddc5770 A new feature "support_material_buildplate_only" implemented.
Also a bug has been fixed for zero interface layers. Before
slic3r would put infinite number of interface layers over top surfaces,
if the number of interface layers was set to zero.
2017-03-26 13:54:03 -05:00
Florens Wasserfall
b1372d4365 Ported most of slice() to C++ 2017-03-23 14:53:28 +01:00
Alessandro Ranellucci
9dbe2eea37 Menu option for coloring toolpaths by extruder using the configured filament colors 2017-03-20 15:47:02 +01:00
Alessandro Ranellucci
ad666beac0 Ported GCodeReader and SpiralVase to C++ 2017-03-19 01:40:18 +01:00
Alessandro Ranellucci
abbc458f10 Fix stats output 2017-03-17 21:47:22 +01:00
Alessandro Ranellucci
a5b10287d6 Typo 2017-03-17 20:05:04 +01:00
Alessandro Ranellucci
69d169165e Make sure infill_only_where_needed has no effect when fill_density = 0%. No need to require it to be explicitely turned off for spiral_vase, since it's disabled anyway. #3386 #3126 2017-03-17 19:17:24 +01:00
Alessandro Ranellucci
4c577043f4 Fixed tests broken by the spiral vase change 2017-03-17 18:53:13 +01:00
Alessandro Ranellucci
8067295684 Check number of skirt loops before disabling spiral vase 2017-03-17 16:45:35 +01:00
Alessandro Ranellucci
a1c7b65741 Moved threads option from print settings to application preferences 2017-03-17 16:41:34 +01:00
Alessandro Ranellucci
8fe15d0162 Adjust the top layer thickness in order to match the original object height. #2978 2017-03-14 17:26:27 +01:00
Alessandro Ranellucci
53fee67489 New experimental option z_steps_per_mm. #1827 2017-03-14 16:46:11 +01:00
Alessandro Ranellucci
c93314c8fe Bugfix: wrong extruder order when more than 10 extruders were used. #3235 2017-03-14 01:32:37 +01:00
Alessandro Ranellucci
662031bc2d Print the brim using the support material extruder if we have a raft. #2957 2017-03-13 23:47:52 +01:00
Alessandro Ranellucci
ff43f9a7f8 When slicing from command line, emit a warning if parts might not fit in the print bed. #2725 2017-03-13 13:55:47 +01:00
Alessandro Ranellucci
5dfafda779 Take bed_shape into account when arranging parts from command line. #2725 2017-03-13 13:36:53 +01:00
Alessandro Ranellucci
a29a954d78 If --print-center is not supplied, center print instead of the centroid of the supplied bed_shape instead of defaulting to 100,100. #2725 2017-03-13 12:41:28 +01:00
Alessandro Ranellucci
795a3d06fa Only enable ooze_prevention when print uses more than one extruder. #3334 2017-03-12 11:02:34 +01:00
Alessandro Ranellucci
7b914d17f3 Merge pull request #3588 from lordofhyphens/filament-gcode
Filament-specific start and end gcode.
2017-03-12 00:35:16 +01:00
Alessandro Ranellucci
f670ad6821 New Interior Brim option. #2026 2017-03-12 00:31:15 +01:00
Joseph Lenox
a2fb7313c6 Configurable overhang threshold as function of perimeter width (#3752)
* Fix automatic overhang threshold

We should be supporting perimeters that are overhung further than half a
perimeter out, rather than two times the perimeter width.

Fixes: #2068

* Made the overhang detection configurable, up to 200 (the original value, which is still the default)

* Set default to 60% as per https://github.com/alexrj/Slic3r/wiki/Support:-Requirements
Removed some less useful enumerations (0-30%)

* Folded in auto_threshold into support threshold as a % value
2017-03-11 17:22:06 -06:00
Joseph Lenox
0741ecc2aa Add weight/cost output to gcode. On the way to #647 (#3669)
* Add weight/cost output to gcode. On the way to #647

* added total cost/weight to Extruder statistics, mocked up addendum to status bar change.

* Added second information box that populates after exporting gcode for sliced statistics.

* Changed filament density to use g/cm^3. Extended tooltip to indicate calculation methods.

* Hide sliced info box when gcode export hasn't been done.

* Remove if invalidated and we have background processing or the configuration changes.

* Called layout after every Hide/Show call to ensure that it is placed correctly on different platforms.
Changed output units to cm/cm^3

Conflicts:
	lib/Slic3r/GUI/Plater.pm
2017-03-10 17:36:14 -06:00
Alessandro Ranellucci
5470e89f7a Allow autospeed for gap fill. Now gap_fill_speed = 0 enabled autospeed (consistenly with other speed settings) and does not disable gap fill. A new fill_gaps option, defaulting to true, was added for this purpose. #2976 2017-03-05 01:53:57 +01:00
Alessandro Ranellucci
d9a663098a Make tests pass again 2017-03-02 20:57:31 +01:00
Alessandro Ranellucci
959da803fb Calculate autospeed on a per-layer basis in order not to slowdown the print too much when first layer or solid layers have very different settings affecting flow. #3021 2017-03-02 20:34:14 +01:00
Alessandro Ranellucci
117fb30636 Ported CoolingBuffer to C++/XS 2016-12-21 23:09:58 +01:00
Alessandro Ranellucci
49a9492ad2 Allow any layer height and limit it to the smallest nozzle diameter. #2706 2016-12-21 20:35:06 +01:00
Alessandro Ranellucci
b33d04fd2d Bugfix: adjusted solid infill could become very large in thin areas. #3215 2016-12-21 17:12:37 +01:00
Alessandro Ranellucci
32fdd4d7ee Ported _slice_region() to C++/XS 2016-12-20 20:51:07 +01:00
Alessandro Ranellucci
c5a285f435 Ported expanded_output_filepath() to C++/XS 2016-12-20 19:02:20 +01:00
Alessandro Ranellucci
11ed3d8cf3 Fix regression causing top/bottom solid layer number not to be enforced for some slopes. #2750 2016-12-19 15:24:06 +01:00
Alessandro Ranellucci
e901514212 New feature: brim connections 2016-12-18 15:21:27 +01:00
Alessandro Ranellucci
1d74839373 Allow bed_temperature = 0. #3505 2016-12-17 00:47:07 +01:00
Alessandro Ranellucci
bec26c51af Merge branch 'feature-2700-has_heatbed' of https://github.com/lordofhyphens/Slic3r into lordofhyphens-feature-2700-has_heatbed
Conflicts:
	t/gcode.t
2016-12-17 00:41:45 +01:00
Alessandro Ranellucci
d47f6d30af Ported detect_surfaces_type() to XS/C++ 2016-11-26 16:58:23 +01:00
Alessandro Ranellucci
66591bcc55 Ported make_perimeters() and infill() to C++/XS, use pure C++ threads 2016-11-26 12:28:39 +01:00
Joseph Lenox
19eea19d91 Filament-specific start and end gcode. GUI page copied from Printer settings. 2016-11-26 01:02:51 -06:00
bubnikv
335638a614 Documented perl modules.
Conflicts:

	lib/Slic3r.pm
	lib/Slic3r/Config.pm
2016-11-24 15:38:59 +01:00
Alessandro Ranellucci
103ec05774 Ported infill to XS/C++. Credits and many thanks go to @bubnikv for this work 2016-11-24 15:32:32 +01:00
bubnikv
aaae7bf1c0 New command line option: --dont-arrange
Don't arrange the objects on the build plate. The model coordinates
define the absolute positions on the build plate.
The option --print-center will be ignored.

Also there is a fix in the command line invocation of --duplicate-grid
so it will run, but still there is something broken there and the results
are not correct.
2016-09-05 11:15:07 -05:00
Joseph Lenox
c5c1cab4f9 Adds new has_heatbed option to capabilities to disable autogeneration of bed temp settings. 2016-07-12 19:26:17 -05:00
Alessandro Ranellucci
6f1d1f6af7 Some cleanup and further optimization to 5f521b24c42ed657967b919871900fa6a65ba790. #3293 2016-07-10 13:38:33 +02:00
Joseph Lenox
849b232882 Merge pull request #3355 from lordofhyphens/gcode_speedup
Fix of git #3293 More efficient GCode export
2016-06-30 08:17:53 -05:00
Joseph Lenox
f56799e9d5 infill_only_where_needed is incompatible with spiral_vase, enforced.
Also ensured that support is disabled if spiral_vase is on.
Added a secondary check to make sure that clip_fill_surfaces does not run if we're in spiral_vase.
2016-06-29 19:30:21 -05:00
bubnikv
5f521b24c4 Fix of git #3293: More efficient GCode export
This fixes two problems of repeatedly copying data from the C++ layer
to perl, by factoring the copying out of an inner loop.
2016-06-02 20:48:56 -05:00
Joseph Lenox
f2e8c6f3bd Merge pull request #3262 from hyperair/fix-autospeed-F0-moves
Don't use equality comparisons for floats
2016-05-18 22:07:34 -05:00