bubnikv
4628308415
Oh those compiler differences.
2017-11-10 17:42:30 +01:00
bubnikv
bfce6dba9b
Integrated the "compatible printers" idea by @alexrj with Vojtech's twist:
...
The incompatible presets are hidden in the tabs if show_incompatible_presets
is false. If show_incompatible_presets is true, there is a button to
show / hide the incompatible presets from the tab selector.
2017-11-10 17:27:05 +01:00
bubnikv
b23b9ea1d2
Implemented volumetric flow rate hints,
...
removed some C++11 conditioned compilation. Slic3r now requires C++11.
2017-11-09 15:10:20 +01:00
bubnikv
9a0100d6de
Initial definition of PresetHints C++ class and Perl binding, ported the cooling logic hints to C++.
...
Removed Perl Flow::new_from_spacing bindings.
Some Fill C++11 beautification.
Fix of a support_material_1st_layer_flow, brim_flow and skirt_flow logic to use the extrusion_width if both first_layer_extrusion_width and support_material_extrusion_width are undefined.
Documented the extrusion width logic in the config tooltips, including the default values.
2017-11-09 10:48:06 +01:00
bubnikv
5fb54ed1f3
Code beautification: PrintConfig tooltips were split to multiple lines.
2017-11-09 10:06:25 +01:00
bubnikv
e4614f301c
ConfigBase with option template to do the type conversion
...
of resolved ConfigOption.
2017-11-09 10:05:37 +01:00
bubnikv
71b58e24a9
Fixed a regression bug in the "first layer extrusion width" G-code comment.
...
https://github.com/prusa3d/Slic3r/issues/566
2017-11-06 15:43:56 +01:00
bubnikv
e6ecb77d9a
Fixed loading of configs and configs from g-codes.
2017-11-03 19:14:33 +01:00
bubnikv
b11d9708ed
Updated Controller after the presets C++ port.
2017-11-02 21:51:06 +01:00
bubnikv
dd9e1aff70
When loading Slic3r.ini of older Slic3rs, remove the .ini suffix
...
from the preset names.
This fixes https://github.com/prusa3d/Slic3r/issues/367
2017-11-02 17:31:24 +01:00
bubnikv
ee84e1773d
Fixed an incorrect comment separator in generated g-code.
2017-11-02 16:50:08 +01:00
bubnikv
4ab4a9afe8
Fighting with boost::filesystem::directory_iterator
2017-11-02 16:40:25 +01:00
bubnikv
7551006102
Another fix or Unices of the previous commit.
2017-11-02 16:35:46 +01:00
bubnikv
df5628422c
Fixed serial port enumeration on non-Win32 systems.
2017-11-02 16:29:03 +01:00
bubnikv
e8b6d92d4d
Looks like the reworked C++ preferences start to work again.
2017-11-02 16:21:34 +01:00
bubnikv
95c284c764
Next step of Perl to C++ configuration layer conversion.
2017-11-01 19:30:05 +01:00
bubnikv
337f6c5808
Deleted the config-bundle-to-config.pl tool, it will be replaced
...
with direct loading of a config bundle as a config file the same way
it has been done for the config from a G-code.
2017-10-30 18:55:31 +01:00
bubnikv
d564fc95df
Split Preset.cpp,hpp to Preset.cpp,hpp and PresetBundle.cpp,hpp
2017-10-30 18:41:50 +01:00
bubnikv
1fee3633a0
New C++ class AppConfig for maintaining the config.ini
...
New helper function for generating a unified "generated by slic3r" header.
2017-10-30 18:15:41 +01:00
bubnikv
835e5b71a8
Reduce UI flicker.
2017-10-28 00:18:02 +02:00
bubnikv
857b78ddca
Fix of the previous commit: Slic3r::Config::new_from_defaults_keys
...
has to be provided with a reference to array of strings.
2017-10-27 22:49:59 +02:00
bubnikv
21633bc0ba
throw std::invalid_argument instead of std::exception
2017-10-27 21:28:39 +02:00
bubnikv
2455aee97c
Further reduction of Perl Config.pm methods.
2017-10-27 18:52:35 +02:00
bubnikv
3bc79e80d5
Fixed configuration & validate C++ ports.
2017-10-27 16:11:06 +02:00
bubnikv
5a99e694ce
Another step towards the C++ presets.
2017-10-26 17:17:39 +02:00
bubnikv
ee645007f2
Another step towards C++ presets.
2017-10-25 12:53:31 +02:00
bubnikv
7308017ee8
Added the AGPL v3 license file
2017-10-21 16:09:25 +02:00
bubnikv
fe0bf6ebf3
Optimization of Perlglue ConfigBase__get
2017-10-18 14:26:38 +02:00
bubnikv
d9d6d996e9
Utility functions to pass wxWidgets pointers from Perl to C++ code.
...
C++ var_dir / set_var_dir() interface to access the UI resources
from the C++ code.
2017-10-17 20:00:15 +02:00
bubnikv
af51220f34
Fix of preceding commit.
2017-10-17 19:41:04 +02:00
bubnikv
b9d57483d8
perglue.cpp - use static_cast instead of dynamic_cast if possible,
...
use switch instead of plenty of ifs,
export clone<DynamicPrintConfig> to Perl XS.
2017-10-17 19:19:41 +02:00
bubnikv
746afbd790
Yet another compilation fix?
2017-10-17 18:49:07 +02:00
bubnikv
9a7d1bb566
Another compilation fix.
2017-10-17 18:41:54 +02:00
bubnikv
de2c6a2a3d
exception what() method shall be noexcept.
2017-10-17 17:53:16 +02:00
bubnikv
67ce4d862b
One more fix of the preceding commit.
2017-10-17 17:48:04 +02:00
bubnikv
38aca5047f
Fix of the preceding commit for gcc & clang:
...
Add a class name suffix to the s_cache static members
of the StaticPrintConfig derived classes.
2017-10-17 17:37:03 +02:00
bubnikv
3731820c48
Optimization of the configuration layer:
...
The values of StaticPrintConfig derived objects were searched by a name
walking through a huge chained if.
Now they are being mapped with a std::map.
Also initialization of StaticPrintConfig classes from their ConfigOptionDef
defaults is done by maintaining a single global definition of each
StaticPrintConfig derived class, and a new instance is initialized
from this static copy.
Also the ConfigOption instances are casted using static_cast
wherever possible, and their types are verified by a virtual type() method.
This approach avoids insiginificant performance penalty of a dynamic_cast.
Also the compare and clone methods were added to ConfigOption,
and the cloning & compare work on binary values, not by serialization.
2017-10-17 16:01:18 +02:00
bubnikv
a91d7cb2f7
Redefined the ==, != operators of Point and BoundingBox classes
...
to become members of their respective classes to avoid type clashes
through implicit casting operators of ConfigOption classes.
2017-10-17 14:36:30 +02:00
bubnikv
a191fbbec8
Fix of a 3D print path preview for the wipe tower: Calculate
...
the bounding boxes accurately.
2017-10-04 13:50:04 +02:00
bubnikv
5a844c91f1
When executing G-code post-processing scripts written in perl on windows,
...
run the perl interpreter, which was used to run the Slic3r.
https://github.com/prusa3d/Slic3r/issues/514
2017-10-03 17:05:47 +02:00
bubnikv
a830a3c161
Fixes the scene disappearing when there are no Prusa MM priming towers.
2017-10-03 14:15:00 +02:00
bubnikv
e719e48a84
Fixed a bug in the temperature handling of the Prusa Multi Material
...
priming towers.
2017-10-03 13:43:34 +02:00
bubnikv
eb0117b1c1
Fix of https://github.com/prusa3d/Slic3r/issues/492
...
When a layer contained the support interface only, it was errorneously
printed with the support base material.
2017-10-03 13:22:37 +02:00
bubnikv
9898024ce9
admesh: changed header_num_facets to uint32
2017-10-03 12:41:53 +02:00
bubnikv
1958673806
Fixed the cubic infill: The cubic infill was 30% flatter than it should
...
have been.
2017-10-03 11:29:13 +02:00
bubnikv
a52a04550e
Big endian fix, thanks to @hyperair for hints and initial implementation.
2017-10-03 10:57:16 +02:00
bubnikv
84d4bf8fdb
Load presets into the new C++ class.
2017-10-02 17:35:00 +02:00
bubnikv
b1e3b0cdf9
Further fixes of the previous commit.
2017-09-20 10:16:00 +02:00
bubnikv
8089631f10
Fix of the previous commit: Fix compilation on Linux.
2017-09-20 10:03:53 +02:00
bubnikv
473233019c
Initial partial implementation of presets in C++.
2017-09-19 13:55:48 +02:00