5035 Commits

Author SHA1 Message Date
Joseph Lenox
99768d6928 Ensure unknown revision still works. 2018-07-11 22:14:51 -05:00
Joseph Lenox
77891effc4 Spit out the result of git rev-parse --short HEAD in AboutDialog. 2018-07-11 22:14:51 -05:00
Joseph Lenox
9558a5fb8d Add AboutDialog to GUI and menu. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5db3abfb46 Added stdexcept include, convert VAR_ABS_PATH and VAR_REL to wxStrings. 2018-07-11 22:14:51 -05:00
Joseph Lenox
09394eac0a working on higher-level cpp Slic3r::Config that has a similar interface to the old Perl one. 2018-07-11 22:14:51 -05:00
Joseph Lenox
a2b2bf11a3 Check for datadir in OnInit(). 2018-07-11 22:14:51 -05:00
Joseph Lenox
11716e0f11 More misc functions (used to live as static functions in Slic3r::GUI perl file).
Passing -DVAR_ABS and -DVAR_ABS_PATH=/path/to/slic3r/var on compile redirects where Slic3r expects to find its var directory.
2018-07-11 22:14:51 -05:00
Joseph Lenox
c1649c4dcf Start a simple Slic3r::Log to collect all of the debugging prints to a single area.
Upgrade backend to boost::log as needed.
2018-07-11 22:14:51 -05:00
Joseph Lenox
b419d06cb4 Finish renaming Config->ConfigBase in libSlic3r to make room for a Slic3r::Config that has an interface closer to the Perl version. 2018-07-11 22:14:51 -05:00
Joseph Lenox
20d588e41f Added CATCH v2.2.2 header 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac4ed3f39f Stub out more of the interface, working our way out from GUI::App::OnInit() 2018-07-11 22:14:51 -05:00
Joseph Lenox
cc358a88e6 Update GUI.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
a49f454e66 Update .travis.yml 2018-07-11 22:14:51 -05:00
Joseph Lenox
d6ca7ee434 Less magic 2018-07-11 22:14:51 -05:00
Joseph Lenox
26268c03e2 point cmake to boost_root 2018-07-11 22:14:51 -05:00
Joseph Lenox
fb45227e51 added misc utility functions for the UI, including functions to get user home (for slic3r directory) and path to var. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f22647e61 stubbed Notifier class and misc helper function 2018-07-11 22:14:51 -05:00
Joseph Lenox
67f41d2c23 stub out more menus 2018-07-11 22:14:51 -05:00
Joseph Lenox
f6f2a81dee set cc to gcc not g++ 2018-07-11 22:14:51 -05:00
Joseph Lenox
5c6f315054 Relaxed cmake version. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f40fcb322 Tab panel initializes. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2144c51def Try to get travis to build cppgui instead. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f9cef4345 Stubbing out more of the UI. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ad72e06d86 Exercise build environment. 2018-07-11 22:14:51 -05:00
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