4861 Commits

Author SHA1 Message Date
Joseph Lenox
be580fc9ee experiment to stub out C++ only GUI 2018-07-11 22:14:51 -05:00
Joseph Lenox
b54c02908b Add tests to check if apply_config invaldiates existing steps for perimeter count and infill. 2018-07-11 22:14:51 -05:00
Alessandro Ranellucci
b3d3bed868 Update tiny_obj_loader.h to latest version in order to fix security vulnerabilities (#4473)
(Thanks Alexander Kuntschik)
2018-07-05 18:46:09 -05:00
Merill
cc42bb411c thinwall improvements (#4472)
* First step of thin wall improvements for alexrj branch.

* bugfix

* fix

* remove tabs, remove dead code

* Convert comments to C++ instead of C-style.

Converting comments to C++ style, fixed typos in comments.
C-style comments are normally reserved for commenting out code blocks, not descriptions.
2018-07-05 18:39:55 -05:00
Joseph Lenox
55a4e95b94 Oops, missed a line when editing to use label_printed_objects 2018-07-05 14:49:44 -05:00
Joseph Lenox
75de746431 Added specific option for labelling gcode sections on object change. Finishes implementing #4444
Thanks to @supermerill for the initial implementation.
2018-07-05 13:55:33 -05:00
Merill
89f8623eea CancelObject implementation (#4470)
* CancelObject implementation
activated with "verbose gcode" option

* typo
2018-07-05 13:28:28 -05:00
Michael
65bcaff615 Actually update the print when moving to center (#4465) 2018-07-02 07:00:15 -05:00
Joseph Lenox
12aa06e09c
Set drop-down default to 200% for first layer extrusion width
Previous drop-down default was `0` which is shorthand for auto-calculate. This is different from previous behavior. The default option should match the actual defaults and auto has been added as a dropdown option.
2018-06-27 23:17:02 -05:00
Ahmed Samir
354b6230bd Adding missing file in CMakeLists.txt fixing the linker error. (#4451) 2018-06-18 16:29:20 -05:00
Joseph Lenox
88d24b763b Differentiate between small perimeters and external perimeters in verbose gcode. 2018-06-15 15:09:17 -05:00
Oekn5w
c058ae91d2 Moved resetting parameter of thumbnail generation to on_thumbnail_made (#4443) 2018-06-08 21:51:49 -05:00
Ahmed Samir
1527cfbb26 Allow to set shell thickness for top/bottom layers (#4430)
* Fix a warning in PresetEditor line 806.

* Remove min_shell_thickness from the if condition in  LayerRegion.cpp

* Add missing line in spiral vase check.

* Add initial set top shell thickness.

* Add minimum shell thickness for top/bottom layers.

* Some refactoring.

* Some Fixes.

* revert last change.

* a fix.

* Some refactoring.

* Some fix in calculating solid layers count.

* Refactoring in LayerRegion.cpp, Object.pm and PresetEditor.pm
2018-06-06 19:26:03 -05:00
Joseph Lenox
31ba88eaa4 Fixed typo (missing &) in update 2018-06-05 19:47:39 -05:00
Benjamin Landers
ff3234d8f0 Fixes related to Face Rotation (#4437)
* Adjust size of icon to match others

* Make the rotate button disabled if a face is not selected

* Fix color issue
2018-06-04 20:29:15 -05:00
Benjamin Landers
9856947d45 Rotating face to match plane (#4424)
* Prototype for selecting Face

* Fixed the speed issue - only allocates the array once

* Selecting faces works.

* Add UI elements to run rotate to bed function

(and a bad icon)

* Cleaned up a bit

* Optimized regular frame times (to a decent state) and added TODO for first frame time

* Add rotate face dialog

* Change how coloring for face selection works

* Cleanup according to comments

* Added grouped undos

* Easy fix for variant of #4420

* Added plane selection

* Edited UI labels to be more consistent

* Add a workable rotate face icon
2018-05-31 17:50:40 -05:00
Caroline
f3b590911d Partial implementation #1405: minimum shell thickness option (#3885)
* Added Minimum shell thickness option

-Added the option to libslic3r
-Created some of the necessary checks for illegal values

* Enforce min_shell_thickness as 0 when spiral vase is enabled

-This could be switched to match the extrusion width, but we already know there will only be 1 perimeter so this is probably more logical

* Feature is implemented

-Added a method in PerimeterGenerator to determine the amount of perimeters needed to meet min_shell_thickness

* Added a test in perimeters.t

* Fixed styling as requested

-Removed the magic number in PerimeterGenerator::num_loops()
-Added more test cases in perimeters.t
-Added documentation of the new feature in slic3r.pl and README.md

* Implemented requested changes

-Removed the num_loops function from PerimeterGenerator
-Added a scalled min_shell_thickness variable to PerimeterGenerator
-Changed the loop_number logic to use a previously defined variable loops

* Resolved more implementation issues

-Added min shell to invalidate state method
-Created additional checks in PresetEditor and LayerRegion for min shell
-Fixed the tooltip to be more descriptive
2018-05-22 19:25:02 -04:00
Merill
61ace41351 merge FillGyroid to slic3rPe state (bubnikv refactoring) (#4425)
contains a bugfix for #4406
2018-05-22 18:46:47 -04:00
Joseph Lenox
ae7fdfe227 Only match if it's a %. 2018-05-15 22:47:40 -05:00
Joseph Lenox
2d064e2569 Adds validation to ensure that % layer height is not compatible with adaptive slicing. 2018-05-15 19:08:51 -05:00
Joseph Lenox
dbf25fb710
Hotfix Fix typo in hotfix
(validate that % first layer heights are illegal when using adaptive slicing).
2018-05-15 17:47:28 -05:00
Joseph Lenox
f26108ec1a
Hotfix for adaptive slicing 2018-05-15 16:34:10 -05:00
Jacob Greenfield
4fa6251dd5 Pillar config (#4410)
Implements workaround for #4407 

* Added support for pillar size configuration.
* Pillars UI fix
* Pillar configuration fix
* Fixed misspelled variable name.
* Strings are not numbers.
* Fixed pillar spacing label.
2018-05-12 20:03:50 -05:00
platsch
8dc6eca03f Match object top (#4321)
* Fix: don't render layers in spline preview if they are outside the printable / visible region

* Try to reduce / thicken top layer in adaptive slicing mode to better match top of object
2018-05-08 19:39:36 -05:00
Joseph Lenox
5d8772167b Rolling part number to 1.3.1-dev for development. 2018-05-08 18:19:51 -05:00
Joseph Lenox
3ba8e0f369 Updating version for 1.3.0 release. 1.3.0 2018-05-08 17:47:09 -05:00
Joseph Lenox
8a93fbbd0c Changed a few comments to doxygen format. 2018-04-25 18:50:51 -05:00
Joseph Lenox
5619e41dd1 Reordered initializer list. 2018-04-25 18:50:33 -05:00
Joseph Lenox
7822802550 Rearrange initializer list in constructors to match the class order. 2018-04-25 18:22:52 -05:00
Joseph Lenox
bc145c5c73 Use end_gcode, not start_code for determining to append bed cool command. 2018-04-24 19:03:56 -05:00
Joseph Lenox
44dc572bf7 Use heatbed config option to determine whether to auto-include M140 S0 at end. 2018-04-24 19:00:25 -05:00
Joseph Lenox
0ea8853f6f
Build Experiment - see if build completes without sudo: required. (#4051) 2018-04-24 18:49:14 -05:00
Joseph Lenox
d8a743d177 If M190, M109, M104, or M140 commands are not present in end gcode, append commands to shut off all hotends and the bed (same as start gcode). 2018-04-24 18:35:29 -05:00
Joseph Lenox
2c93cf9019 Ignore CMake-generated files, static libraries, coredumps, and the odd git-renamed file. 2018-04-24 17:26:59 -05:00
Robert Sanchez
ecfc175c41 Added icon files for MacOS (#4376)
* Added icon files for MacOS
Added icons designed by Akira Yasuda for STL and GCODE files. Modified plist generator to include references to icons and dmg creator to include them.

* Update make_dmg.sh

* Fix tabs/spacing
2018-04-23 13:11:45 -05:00
Oekn5w
72db3392c8 "Reload from disk" - UI function overhaul (#4388)
* C++ backend work to support reloading modifier files

* UI update preserving configs and volumes of modifiers (those are not reloaded)

* clarifying variable names

* Setting up variables in the GUI enviroment

* Implementation of added variables in (new ModelVolume(*)) funcion

* Implementation of new reload function

* Overhaul of the reload function, also renaming of some variables

* Rewriting the main loop of the reload function, explicitly differentiating between the original file and later added parts and modifiers pointing to other files

* Whitespace cleanup

* Added dialog to choose from different reload behaviors, added hide and default option in preferences, copied volumes are matched the new object's origin translation
2018-04-23 12:04:47 -05:00
Joseph Lenox
c206ae77a3 Checks to see if config option has been changed before going any further for several config options.
N of 1 testing indicates that it may help with latency.
2018-04-17 21:55:44 -05:00
Joseph Lenox
7457cfdac2 Outputs (bridge) in verbose gcode if path extruded is marked as bridge. Fixes #4380 2018-04-14 14:52:46 -05:00
Jaggz H
a46aa09755 Added max-support-layers (support_material_max_layers) (#4148)
* Added max-support-layers (support_material_max_layers)
* Revised tooltip text for support_material_max_layers
* Disable support_material_max_layers if no support.
2018-04-14 14:28:55 -05:00
Joseph Lenox
df993c5020
Update README.md 2018-04-12 21:21:31 -05:00
Joseph Lenox
f12340a324
Fix path for travis. 2018-04-12 21:20:58 -05:00
Joseph Lenox
ea29a22cd6 Adds Printer config option to force the use of set-and-wait gcode semantics (if supported by firmware).
Fixes #3268
2018-04-12 21:15:23 -05:00
Joseph Lenox
548ce534ad added another couple tests to catch a few more expressions according to spec. 2018-04-12 20:23:47 -05:00
Joseph Lenox
c3cb01eb93 look for octoprint as a octoprint service, not http.
Reference:
https://github.com/foosel/OctoPrint/wiki/Plugin:-Discovery#zeroconf-service-_octoprint_tcp

Fixes #4375
2018-04-10 17:58:33 -05:00
DN
6454abfd5f Raft pattern angles (#3001) (#4334)
Fixes #3001
2018-04-04 22:43:58 -05:00
Benjamin Landers
331764431e Makes post process scripts able to pass args along with filename (#4363)
Any whitespace is the boundrary between the args/filename. Whitespace can be
escaped by putting a exxclamation point in front of it. And exclamation points
can be escaped by putting an exclamation point in front of the exclamation point
to be escaped.

I thought about adding another box for arguments, but I think that would make it
more confusing to use. The only worry I have with this method is peoples existing
scripts with whitespace in the name.
2018-04-04 22:39:37 -05:00
Joseph Lenox
7b8369d00e Adding a simple test to show that changing the skirt count invalidates the skirt step. 2018-04-03 23:04:44 -05:00
Joseph Lenox
1869b0657d Propagate invalidation results from dependent invalidations. Mostly Fixes #4364 2018-04-03 22:56:49 -05:00
Joseph Lenox
4db029c753 Use the surface thickness if it is available for internal infill, instead of passing the layer height for the flow.
Fixes #4345
2018-04-01 21:03:40 -05:00
Joseph Lenox
db17a63436 Properly retrieve the fill spacing for internal infill. Fixes #4319 2018-04-01 11:53:48 -05:00