4860 Commits

Author SHA1 Message Date
Joseph Lenox
c0d8e68606 working on higher-level cpp Slic3r::Config that has a similar interface to the old Perl one. 2018-04-28 18:18:10 -05:00
Joseph Lenox
d24001b92d Check for datadir in OnInit(). 2018-04-28 18:17:10 -05:00
Joseph Lenox
399db5902c 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-04-28 18:15:16 -05:00
Joseph Lenox
ad46bc8106 Start a simple Slic3r::Log to collect all of the debugging prints to a single area.
Upgrade backend to boost::log as needed.
2018-04-28 18:13:51 -05:00
Joseph Lenox
d145ee3465 Finish renaming Config->ConfigBase in libSlic3r to make room for a Slic3r::Config that has an interface closer to the Perl version. 2018-04-28 18:12:26 -05:00
Joseph Lenox
2ec07cb93c Added CATCH v2.2.2 header 2018-04-28 12:32:54 -05:00
Joseph Lenox
5fc089ef99 Stub out more of the interface, working our way out from GUI::App::OnInit() 2018-04-26 21:43:00 -05:00
Joseph Lenox
998999e747 Merge branch 'master' into cppgui 2018-04-25 18:51:22 -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
02834d8cce Merge branch 'cppgui' of https://github.com/lordofhyphens/Slic3r into cppgui 2018-04-25 18:23:57 -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
a677002886
Update GUI.hpp 2018-04-25 00:30:47 -05:00
Joseph Lenox
cb5456f528
Update .travis.yml 2018-04-25 00:20:02 -05:00
Joseph Lenox
9eefa57089
Less magic 2018-04-25 00:10:15 -05:00
Joseph Lenox
0682c75541 point cmake to boost_root 2018-04-24 23:56:09 -05:00
Joseph Lenox
137716b8a3 added misc utility functions for the UI, including functions to get user home (for slic3r directory) and path to var. 2018-04-24 23:52:13 -05:00
Joseph Lenox
7211acc32d stubbed Notifier class and misc helper function 2018-04-24 23:00:53 -05:00
Joseph Lenox
221432d2ea stub out more menus 2018-04-24 22:46:26 -05:00
Joseph Lenox
7d9079ef62 set cc to gcc not g++ 2018-04-24 20:27:24 -05:00
Joseph Lenox
1d4b369e73 Relaxed cmake version. 2018-04-24 20:19:31 -05:00
Joseph Lenox
19bc2eabdc Tab panel initializes. 2018-04-24 20:17:04 -05:00
Joseph Lenox
cc17b2e279 Merge branch 'master' into cppgui 2018-04-24 19:05:44 -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
6505e6df7b Merge branch 'master' into cppgui 2018-04-24 17:33:52 -05:00
Joseph Lenox
17daf0d908 Try to get travis to build cppgui instead. 2018-04-24 17:32:40 -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
Joseph Lenox
b04d58ecef Stubbing out more of the UI. 2018-04-24 17:21:18 -05:00
Joseph Lenox
a06755c3dd Exercise build environment. 2018-04-24 16:05:47 -05:00
Joseph Lenox
3dfe61de48 experiment to stub out C++ only GUI 2018-04-24 08:07:32 -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
Gilbert
75302fffc1 Wrong colors in 2d platter and instance color missing (#4354) 2018-04-01 08:00:01 -05:00