1568 Commits

Author SHA1 Message Date
Alessandro Ranellucci
945bbc030c Fix --center, --dont-arrange, --export-* and other things 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
b17f623915 Add missing export_amf option to CLIActionsConfigDef 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
a20adee38c Minor improvements to code quality 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
f0f36cb935 Complete the C++ CLI; remove the #ifndef SLIC3RXS guards and fix CI by removing std::initializer_lists 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
0eb3ea7253 Auto-generate CLI help (includes some refactoring to ConfigDef and ConfigOptionDef) 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
3b2c9cbf7d Finish porting export_gcode() - atomic write and post-processing scripts 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
fac31616c8 Clean setenv_() code 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
a1464a737e Validate CLI config options against min/max 2018-11-25 11:55:57 -06:00
Alessandro Ranellucci
bb29661a90 Redesigned C++ CLI 2018-11-25 11:55:57 -06:00
Joseph Lenox
1802193c5b Fixed useage of boost::locale for raw() 2018-11-24 14:47:26 -06:00
Joseph Lenox
d12885d042 use boost::locale instead of corecvt. 2018-11-24 14:47:26 -06:00
Joseph Lenox
02fd5b9de7 Revert "Revert "Expanding Slic3r::Log""
This reverts commit cf933c62d575d3d147d6bc869c9e3e354b81df17.
2018-11-24 14:47:26 -06:00
Alessandro Ranellucci
1e17979e05 Fix warnings about _USE_MATH_DEFINES on Windows 2018-11-23 23:30:43 +01:00
Alessandro Ranellucci
cf933c62d5
Revert "Expanding Slic3r::Log" 2018-11-23 19:59:13 +01:00
Joseph Lenox
93518c9545
Include STL algorithm 2018-11-23 08:07:50 -06:00
Joseph Lenox
37f4497450 Allow for filtering additionally on topic name. 2018-11-22 23:31:13 -06:00
Joseph Lenox
4a39f30ab5 Add doxygen comments 2018-11-22 23:10:20 -06:00
Joseph Lenox
b538f33459 Call through to underlying method for static Log methods 2018-11-22 23:03:58 -06:00
Joseph Lenox
bd9b9cc416 refactor to only use log() and use locale converter to figure out the rest. 2018-11-22 23:03:10 -06:00
Joseph Lenox
86c776287e Implemented debug level filtering. 2018-11-22 22:53:11 -06:00
Joseph Lenox
0ccb9b046e starting to enhance Slic3r::Log; adding tests. 2018-11-22 20:33:19 -06:00
Joseph Lenox
76be75431b Preset::config() returns a weak reference to the shared configuration. 2018-11-18 19:02:56 -06:00
Joseph Lenox
9812e6a81c Pass-through apply and a version of apply_only for Slic3r::Configs so that it can be used with shared_ptr versions. 2018-11-18 19:02:56 -06:00
Joseph Lenox
7553b2f19c Extend ConfigBase::apply_only to add an option to load from defaults if not found in remote config (and not crash). 2018-11-18 19:02:56 -06:00
Joseph Lenox
a9bd65a4e9 Add passthroughs for Slic3r::ConfigBase::has and diff 2018-11-18 19:02:56 -06:00
Joseph Lenox
cbc86b1d71 implement Slic3r::Config::read_ini as a passthrough to Slic3r::ConfigBase::load() 2018-11-18 19:02:56 -06:00
Joseph Lenox
4fcbebf0ff
Merge pull request #4577 from slic3r/filament-extruder
Add [filament_extruder_id] and revert work done for [filament_settings_id]
2018-11-06 15:32:20 -06:00
Joseph Lenox
d1446fe2af
Wrap in brackets to restrict scope of temporary variables. 2018-11-06 08:15:55 -06:00
Alessandro Ranellucci
8c2ce53724 Update MANIFEST 2018-11-06 11:32:32 +01:00
Joseph Lenox
f8e222c722 Derp, typo'd the placeholder name. 2018-11-05 20:13:55 -06:00
Joseph Lenox
704429eb58 Revert "Convert filament_settings_id to something that can be set instead of just read from a configuration file."
This reverts commit d9c1d459c5744aa880cd0c5e9093b0ee42f5321b.
2018-11-05 19:50:40 -06:00
Joseph Lenox
5509afa82a #4569 Added new gcode placeholder, [filament_extruder_id] that is only valid in filament start/end gcode and refers to which position this filament is loaded in. 2018-11-05 19:50:29 -06:00
Alessandro Ranellucci
d3188dfe13 github.com/alexrj -> github.com/slic3r 2018-11-05 20:55:54 +01:00
Alessandro Ranellucci
b41a1c6a4c Remove warning in Build.PL 2018-11-05 20:54:09 +01:00
Alessandro Ranellucci
3776b7ed80 Bugfix: error in porting of SupportMaterial
src/libslic3r/SupportMaterial.cpp:770:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
            if (!z > top_el.first) // next unless $z > $top_z;
                ^  ~
src/libslic3r/SupportMaterial.cpp:770:17: note: add parentheses after the '!' to evaluate the comparison first
            if (!z > top_el.first) // next unless $z > $top_z;
                ^
                 (               )
src/libslic3r/SupportMaterial.cpp:770:17: note: add parentheses around left hand side expression to silence this warning
            if (!z > top_el.first) // next unless $z > $top_z;
                ^
                ( )
1 warning generated.
2018-11-05 20:08:18 +01:00
Chow Loong Jin
94420acc2b Drop #error "admesh works correctly on little endian machines only"
admesh works fine on little-endian machines as of b9592961. It just doesn't
compile because of this pesky #error.
2018-11-05 13:07:50 -06:00
Alessandro Ranellucci
90c192e8ed Support locating Boost under BOOST_DIR/lib 2018-11-05 20:00:19 +01:00
Alessandro Ranellucci
734e6e7ef9 More verbose errors about BOOST_DIR 2018-11-05 19:45:16 +01:00
Joseph Lenox
d9c1d459c5 Convert filament_settings_id to something that can be set instead of just read from a configuration file. 2018-10-29 20:31:42 -05:00
Joseph Lenox
b7661289e3
Make fill.hpp comments Doxygen 2018-10-17 16:15:14 -05:00
Joseph Lenox
d17659b67c Add GIT commit version to About dialog and to exported GCode.
Implements #4532
2018-09-07 21:40:49 -05:00
Joseph Lenox
880e9a52c3 Prime layer_z and layer_num for end gcode in C++ PrintGcode. 2018-09-02 11:49:49 -05:00
Joseph Lenox
6303d0a59a Fixed regression where end gcode wasn't being applied in CLI path. 2018-09-02 11:49:08 -05:00
ElectroQuanta
f337fdcc62 FIX: check bounds for fill->min_spacing causing fill_density<100 to abort (#4524)
* FIX: check bounds for fill->min_spacing causing fill_density<100 to abort

* Added time-stamping to SVG files

* Delete .gitignore

* Revert "Added time-stamping to SVG files"

This reverts commit 625ad15b50fc0b5acc3011cfb1dfdc826ba78a4e.

* Set a sane default instead of aborting.

* Don't return status

If there's an exceptional condition, should use exceptions instead.

* Changing to not return bool.
2018-08-31 22:22:49 -05:00
ElectroQuanta
446811a426 Added print CLI options in addition to the print ones 2018-08-24 00:48:55 +01:00
ElectroQuanta
8d9f8001b3 FIX: fixed typo for export_obj 2018-08-23 18:25:04 +01:00
ElectroQuanta
41c610b47e FIX: Forward declaration of std::ofstream caused CMake to abort 2018-08-21 03:30:10 +01:00
Joseph Lenox
4f3e89a871 Added translation markers to more options in PrintConfig.cpp 2018-08-12 16:43:48 -05:00
Joseph Lenox
4faf1b134b Merge i18n in 2018-08-12 16:26:32 -05:00
Joseph Lenox
3ee452aff6 Permit building on MSVC 2017 (15.7.6) 2018-08-08 00:20:39 -05:00