9ca63f16bcNew PlaceholderParser variable for sequential prints: current_object_idx - zero based index of the object printed. Implements feature request https://github.com/prusa3d/Slic3r/issues/578
bubnikv
2017-11-28 15:30:05 +01:00
bb2b180eccFixed G-code export of custom G-code sections to not add a newline if the custom G-code already ends with a newline.
bubnikv
2017-11-26 21:23:18 +01:00
b54a15faa2Fix of the new PlaceholderParser: Maintain whitespaces and new lines.
bubnikv
2017-11-26 20:43:31 +01:00
571d654e67Placeholder parser - added a comment with a reference to a C grammar.
bubnikv
2017-11-26 11:52:44 +01:00
5c3ba79c6fPlaceholderParser - added an unary not operator.
bubnikv
2017-11-26 11:16:28 +01:00
2312fa845eFixed compilation on GCC, changed to handle keywords correctly.
bubnikv
2017-11-26 10:54:54 +01:00
708f416c84PlaceholderParser extended with {if}/{elsif}{else} blocks and + - * / == != <> numeric expressions.
bubnikv
2017-11-26 09:59:14 +01:00
9205c8aab4Sketch of the PlaceholderParser if/elsif/else macro.
bubnikv
2017-11-17 18:46:03 +01:00
47f193fe2dThe PlaceholderParser has been rewritten to use a real boost::spirit::qi parser, accessing the DynamicConfig repository directly. This is a first step towards a full fledged expression interpreter.
bubnikv
2017-11-17 11:15:46 +01:00
200f176951Fixed compilation on Linux / GTK
bubnikv
2017-11-10 18:50:14 +01:00
4628308415Oh those compiler differences.
bubnikv
2017-11-10 17:42:30 +01:00
bfce6dba9bIntegrated 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.
bubnikv
2017-11-10 17:27:05 +01:00
b23b9ea1d2Implemented volumetric flow rate hints, removed some C++11 conditioned compilation. Slic3r now requires C++11.
bubnikv
2017-11-09 15:10:20 +01:00
9a0100d6deInitial 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.
bubnikv
2017-11-09 10:48:06 +01:00
5fb54ed1f3Code beautification: PrintConfig tooltips were split to multiple lines.
bubnikv
2017-11-09 10:06:25 +01:00
e4614f301cConfigBase with option template to do the type conversion of resolved ConfigOption.
bubnikv
2017-11-09 10:05:37 +01:00
ee84e1773dFixed an incorrect comment separator in generated g-code.
bubnikv
2017-11-02 16:50:08 +01:00
4ab4a9afe8Fighting with boost::filesystem::directory_iterator
bubnikv
2017-11-02 16:40:25 +01:00
7551006102Another fix or Unices of the previous commit.
bubnikv
2017-11-02 16:35:46 +01:00
df5628422cFixed serial port enumeration on non-Win32 systems.
bubnikv
2017-11-02 16:29:03 +01:00
e8b6d92d4dLooks like the reworked C++ preferences start to work again.
bubnikv
2017-11-02 16:21:34 +01:00
95c284c764Next step of Perl to C++ configuration layer conversion.
bubnikv
2017-11-01 19:30:05 +01:00
337f6c5808Deleted 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.
bubnikv
2017-10-30 18:55:31 +01:00
d564fc95dfSplit Preset.cpp,hpp to Preset.cpp,hpp and PresetBundle.cpp,hpp
bubnikv
2017-10-30 18:41:50 +01:00
1fee3633a0New C++ class AppConfig for maintaining the config.ini New helper function for generating a unified "generated by slic3r" header.
bubnikv
2017-10-30 18:15:41 +01:00
857b78ddcaFix of the previous commit: Slic3r::Config::new_from_defaults_keys has to be provided with a reference to array of strings.
bubnikv
2017-10-27 22:49:59 +02:00
21633bc0bathrow std::invalid_argument instead of std::exception
bubnikv
2017-10-27 21:28:39 +02:00
2455aee97cFurther reduction of Perl Config.pm methods.
bubnikv
2017-10-27 18:52:35 +02:00
3bc79e80d5Fixed configuration & validate C++ ports.
bubnikv
2017-10-27 16:11:06 +02:00
5a99e694ceAnother step towards the C++ presets.
bubnikv
2017-10-26 17:17:39 +02:00
ee645007f2Another step towards C++ presets.
bubnikv
2017-10-25 12:53:31 +02:00
7308017ee8Added the AGPL v3 license file
bubnikv
2017-10-21 16:09:25 +02:00
fe0bf6ebf3Optimization of Perlglue ConfigBase__get
bubnikv
2017-10-18 14:26:38 +02:00
d9d6d996e9Utility 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.
bubnikv
2017-10-17 20:00:15 +02:00
af51220f34Fix of preceding commit.
bubnikv
2017-10-17 19:41:04 +02:00
b9d57483d8perglue.cpp - use static_cast instead of dynamic_cast if possible, use switch instead of plenty of ifs, export clone<DynamicPrintConfig> to Perl XS.
bubnikv
2017-10-17 19:19:41 +02:00
746afbd790Yet another compilation fix?
bubnikv
2017-10-17 18:49:07 +02:00
de2c6a2a3dexception what() method shall be noexcept.
bubnikv
2017-10-17 17:53:16 +02:00
67ce4d862bOne more fix of the preceding commit.
bubnikv
2017-10-17 17:48:04 +02:00
38aca5047fFix of the preceding commit for gcc & clang: Add a class name suffix to the s_cache static members of the StaticPrintConfig derived classes.
bubnikv
2017-10-17 17:37:03 +02:00
3731820c48Optimization of the configuration layer:
bubnikv
2017-10-17 16:01:18 +02:00
a91d7cb2f7Redefined 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.
bubnikv
2017-10-17 14:36:30 +02:00
a191fbbec8Fix of a 3D print path preview for the wipe tower: Calculate the bounding boxes accurately.
bubnikv
2017-10-04 13:50:04 +02:00
5a844c91f1When 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
bubnikv
2017-10-03 17:05:47 +02:00
a830a3c161Fixes the scene disappearing when there are no Prusa MM priming towers.
bubnikv
2017-10-03 14:15:00 +02:00
e719e48a84Fixed a bug in the temperature handling of the Prusa Multi Material priming towers.
bubnikv
2017-10-03 13:43:34 +02:00
9898024ce9admesh: changed header_num_facets to uint32
bubnikv
2017-10-03 12:41:53 +02:00
1958673806Fixed the cubic infill: The cubic infill was 30% flatter than it should have been.
bubnikv
2017-10-03 11:29:13 +02:00
a52a04550eBig endian fix, thanks to @hyperair for hints and initial implementation.
bubnikv
2017-10-03 10:57:16 +02:00
84d4bf8fdbLoad presets into the new C++ class.
bubnikv
2017-10-02 17:35:00 +02:00
b1e3b0cdf9Further fixes of the previous commit.
bubnikv
2017-09-20 10:16:00 +02:00
8089631f10Fix of the previous commit: Fix compilation on Linux.
bubnikv
2017-09-20 10:03:53 +02:00
473233019cInitial partial implementation of presets in C++.
bubnikv
2017-09-19 13:55:48 +02:00
b58756f38bA bit of refactoring and beautification.
bubnikv
2017-09-18 10:01:37 +02:00
e16f827223Ported PrintConfigBase::_handle_legacy from Perl to C++, merged from upstream Slic3r, thanks to @alexrj.
bubnikv
2017-09-18 09:56:48 +02:00
cd084a33c6Fixed a regression bug, which was made during the porting of discover_horizontal_shells() fron Perl to C++, where the already calculated bridge direction was being lost.
bubnikv
2017-09-14 13:15:32 +02:00
630b746cabFix a lag when starting to move a platter object. The fix is done by disabling the print out of a model statistics, which runs the model fixing twice.
bubnikv
2017-09-14 09:06:14 +02:00
777dc8c48bFixed a missing bbox.defined=true assignment.
bubnikv
2017-09-13 15:52:51 +02:00
e2a169b0e5Changed the G-code protocol for cleaning up the priming towers for the multi material prints.
bubnikv
2017-09-13 13:27:49 +02:00
83b5b9e660Set a missing bbox.defined flag.
bubnikv
2017-09-13 10:28:02 +02:00
98408bbed0Fixed a crash when slicing leads to no print. Fixed a bug in TriangleMesh::bounding_box().
bubnikv
2017-09-12 16:48:44 +02:00
b08d6f1969The last priming area is shortened and the excess wipe is moved into the wipe tower if there is enough space inside the wipe tower.
bubnikv
2017-09-12 15:55:38 +02:00
6d4ec5c989Further fix of https://github.com/alexrj/Slic3r/issues/4085 making it safe in case wxWidgets do not report supporting multisampling, but the OpenGL context actually does and it leaves the multi-sampling enabled. This then may in theory lead to incorrect picking by color.
bubnikv
2017-09-12 10:14:24 +02:00
100c8f60a5Added GCode/PrintExtents.cpp,h Added a check for a collision between the multi material priming regions with the rest of the print.
bubnikv
2017-09-12 09:01:48 +02:00