540 Commits

Author SHA1 Message Date
Florens Wasserfall
2c85797c1f Introduce new step PosLayers to split layer generation and slicing 2017-04-18 13:48:36 +02:00
Alessandro Ranellucci
3776f1afc6 Fixed regression causing posPrepareInfill invalidation to have no effects. #3874 2017-04-18 00:05:23 +02:00
Joseph Lenox
1857bf6391 SupportMaterial operates in angle, underling XS Fill operates in radians. Convert degrees->radians
Fixes #3861
2017-04-15 14:31:31 -05:00
Jaggz H
3164217e3d Addressed logic of enforced supports. There are inconsistent rare crashes which I cannot find as related to my changes. 2017-04-12 19:52:03 -07:00
Joseph Lenox
5cc2d346a2 Wrong logic on detecting use of % for support threshold. Fixes #3842. 2017-04-10 19:16:30 -05:00
Alessandro Ranellucci
bc96a1a268 New customizable G-code to be added between objects when using sequential printing. (by @lordofhyphens) #3264 #3275 2017-04-04 18:51:06 +02:00
Alessandro Ranellucci
de1c900d8f Since prepare_infill is not actually idempotent, recalculate perimeters every time. #3827 2017-04-04 17:10:43 +02:00
Florens Wasserfall
f43e004f44 Merge branch 'master' into adaptive-slicing-spline
and added Spline variable to ModelObject
2017-04-03 18:01:06 +02:00
Joseph Lenox
068ef7b9af Use multiplication for support material speed
It's initialized same as infill, caused division by 0 when 'auto' speed for support material was selected.
Fixes #3837
2017-04-02 22:08:38 -05:00
Alessandro Ranellucci
3f0fea7585 Refactoring: moved Fill::adjust_solid_spacing() to Flow::solid_spacing(). 2017-04-02 17:14:07 +02:00
Alessandro Ranellucci
678ae9de72 Keep brim always attached to the object when support material is enabled. #2981 2017-04-02 17:14:07 +02:00
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
Florens Wasserfall
f6616329a2 Ported adaptive slicing to C++
and merge branch 'slice_xs' into adaptive-slicing-spline to call adaptive slicing algorithm from _slice
2017-03-28 08:44:11 +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
Florens Wasserfall
3a53a17efb Merge branch 'master' into adaptive-slicing-spline 2017-03-07 13:19:13 +01:00
Florens Wasserfall
22ffb76fb1 Implemented adaptive layer height algorithm based on volumetric surface quality 2017-03-07 12:51:58 +01: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
Florens Wasserfall
dd46432e4f better rounding for layer height gradation 2017-02-16 10:46:12 +01:00
Florens Wasserfall
27314bb387 Merge branch 'adaptive-slicing-layer-gradation' into adaptive-slicing-spline-controlvalue 2017-02-16 10:45:40 +01:00
Florens Wasserfall
59dd5e4bca implemented volumetric error approach to control the adaptive layer height 2017-02-08 12:49:17 +01:00
Florens Wasserfall
66cc47500b Merge branch 'adaptive-slicing' into adaptive-slicing-spline 2017-01-26 21:22:57 +01:00
Florens Wasserfall
1ab568399f Merge branch 'master' into adaptive-slicing 2017-01-26 21:21:26 +01:00
Florens Wasserfall
1dd90cf430 bugfix: smoothing was not applied after adaptive layer height generation 2017-01-26 09:38:12 +01:00
Florens Wasserfall
a3867b0be8 Integration of spline based layer height postprocessing 2017-01-26 09:22:04 +01:00