1158 Commits

Author SHA1 Message Date
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
Len Trigg
25bcff3656 Fix #2861, provide consistent mouse-wheel zoom direction, plus a GUI preference to invert (#3749)
* Make mouse-wheel in 2D toolpath zoom in the same direction as it does in 3D and 3D-preview

* Add a GUI preference setting for whether to invert the direction that
mouse-wheel scrolling will zoom in the 2D and 3D panels.
2017-03-10 23:37:17 -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
f018c20a6d Console for sending manual commands in manual printer control 2017-03-11 00:06:23 +01:00
Alessandro Ranellucci
6d371884a1 Remember manual control settings 2017-03-09 21:37:56 +01:00
Alessandro Ranellucci
782dda46a2 Refactoring, use the new OptionsGroup::append_button() instead of append_widget() 2017-03-09 21:35:17 +01:00
Alessandro Ranellucci
28075264b8 Added manual control for temperature and bed temperature 2017-03-09 21:24:45 +01:00
Alessandro Ranellucci
5821f040c4 Bugfix: placeholders with preset names were not initialized without background processing. #3507 2017-03-05 16:30:32 +01:00
Alessandro Ranellucci
871f469c89 Fixed regression in the post_process GUI field. #3698 2017-03-05 16:13:19 +01:00
Alessandro Ranellucci
36e148929b More user-friendly inputs for speed and extrusion width options (explicit "auto" labels instead of having to write 0) 2017-03-05 03:20:39 +01:00
Alessandro Ranellucci
619bc4012d Allow to express gap_fill_speed as % over infill_speed 2017-03-05 02:13:00 +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
22ba87c3b3 Finished porting importers and read_from_file() to C++ 2017-03-01 22:19:30 +01:00
Alessandro Ranellucci
8326f75af8 Ported AMF parsing/writing to C++ (by @bubnikv) 2017-03-01 21:29:29 +01:00
Joseph Lenox
5fa45989af Replace glVertexPointer_p() call with glVertexPointer_c(). (#3677)
Delete VBO buffers after they've been drawn. Both ways work on OpenGL.pm 0.7

Credit to @bubnikv from prusa3d fork, drawn from commit c0b3de6248f6e6d50624b3d2132c823fb65af95e on that repository.
2017-02-07 16:49:36 -06:00
Joseph Lenox
c557a00516 Fixed input to bed shape dialog to catch everything that resolves to 0. Fixes #3681 (#3683) 2017-02-07 16:46:54 -06:00
Alessandro Ranellucci
88387634eb Merge pull request #3659 from gege2b/OctoprintUI
Fix for #3655 - always print after gcode send
2017-01-11 19:07:38 +01:00
Alessandro Ranellucci
ee2d14fcd2 Bugfix: wrong alignment after cut by grid 2017-01-11 16:31:45 +01:00
Gege2B
f4bf6fef92 Fix for #3655 - always print after gcode send 2017-01-08 22:46:48 +01:00
Joseph Lenox
ed0173364f initialize $self->{move_target} before calling functions on it. 2017-01-01 23:43:13 -06:00
Alessandro Ranellucci
85bf2ed7ae Bugfix: object disappeared from 2D plater when reloaded from disk. #3634 2016-12-22 12:13:28 +01:00
Alessandro Ranellucci
475f9d45a5 Some minor fixes. #3603 2016-12-21 20:42:17 +01:00
Alessandro Ranellucci
27b2f0d6c3 Prevent useless reloading of 3D preview 2016-12-21 18:10:48 +01:00
Alessandro Ranellucci
c5a285f435 Ported expanded_output_filepath() to C++/XS 2016-12-20 19:02:20 +01:00
Alessandro Ranellucci
346671e161 Fix crash in bed shape dialog 2016-12-20 13:21:39 +01:00
Alessandro Ranellucci
807b0111ed More reasonable axes length in 3D preview 2016-12-19 15:42:44 +01:00
Alessandro Ranellucci
f2d8ab5b87 Minor fix: don't reselect the 3D plater when the 2D plater is already selected 2016-12-18 19:40:28 +01:00
Alessandro Ranellucci
e901514212 New feature: brim connections 2016-12-18 15:21:27 +01:00
Alessandro Ranellucci
7dfea3ecf0 Typo 2016-12-18 14:28:13 +01:00
Alessandro Ranellucci
464421cfe4 If background slicing is disabled, reslice automatically when selecting the preview tabs. When making changes, go back to the plater view. #2979 2016-12-18 14:01:57 +01:00
Alessandro Ranellucci
42a6fb130f Revert "Merge branch 'lordofhyphens-background-slice-now'"
This reverts commit 807d441c6ea5b0b149649bae4dc4fe8a03239c16, reversing
changes made to 5cbdb7865d6a5b0441c8b34da7c235446e9df488.
2016-12-18 13:31:23 +01:00
Alessandro Ranellucci
fe2116a37c Merge remote-tracking branch 'lordofhyphens/background-slice-now' into lordofhyphens-background-slice-now 2016-12-18 13:23:10 +01:00
Alessandro Ranellucci
5cbdb7865d Cut by Grid also in GUI 2016-12-18 13:10:25 +01:00
Alessandro Ranellucci
54f782c121 Preserve transparency when modifier volumes are selected 2016-12-18 12:09:01 +01:00
Alessandro Ranellucci
accd174566 Use absolute coordinates for the modifier sliders 2016-12-18 12:00:18 +01:00
Alessandro Ranellucci
9cbd8c4327 Merge branch 'lambda-modifier-mesh' of https://github.com/lordofhyphens/Slic3r into lordofhyphens-lambda-modifier-mesh
Conflicts:
	xs/src/libslic3r/TriangleMesh.cpp
	xs/src/libslic3r/TriangleMesh.hpp
2016-12-18 11:04:02 +01:00
Alessandro Ranellucci
fbfd47b235 Command for reloading an object from file. #1466 2016-12-17 21:47:45 +01:00
Alessandro Ranellucci
1ae8d13ffd Query OctoPrint and prompt user if a file with same name exists. #2666 2016-12-17 21:31:41 +01:00
Alessandro Ranellucci
6f6ddf5086 Prompt for filename and ask whether to start printing when uploading to OctoPrint. #3217 #3027 #2780 #2666 2016-12-17 21:19:58 +01:00
Alessandro Ranellucci
a778cd9820 Cut along X and Y axes too 2016-12-17 19:51:29 +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
4be6c973e3 Support decimal scaling factors and rotation angles. #1617 2016-12-17 00:26:57 +01:00
Alessandro Ranellucci
7472077540 Merge pull request #3591 from lordofhyphens/3589-viewport-divide-by-zero
Avoid recentering viewport if the bounding box is max size 0
2016-12-16 22:02:44 +01:00
Alessandro Ranellucci
376df2e3f2 Minor GUI fix in the prompt for solid rectilinear infill. #3610 2016-12-15 11:50:58 +01:00
Joseph Lenox
0033cf9974 Add LWP::UserAgent to use of plater.pm (#3608) 2016-12-06 22:10:18 -06:00
Joseph Lenox
a26a60f8dd Only enable movers if modifier mesh. 2016-12-06 00:57:16 -06:00
Joseph Lenox
2875624eac Repair the generic mesh so it can be exported. 2016-12-05 23:40:28 +00:00
Joseph Lenox
bbb84278d4 Added UI options to make a slab, defaulting to the model object's bounding box * 1.5 2016-12-05 23:08:36 +00:00