1582 Commits

Author SHA1 Message Date
Alessandro Ranellucci
9b6bd5dd36 Fix compilation on older gcc 2018-11-28 22:40:33 -06:00
Alessandro Ranellucci
33b3faacfd Ported Print::make_skirt() to C++ 2018-11-27 12:18:34 +01:00
Alessandro Ranellucci
75670c6819 For consistency, move prerequisites after the state guard 2018-11-26 23:50:44 +01:00
Alessandro Ranellucci
c0465d0434 Ported PrintObject::prepare_infill() to C++ 2018-11-26 23:45:19 +01:00
Alessandro Ranellucci
aac9c2481c Ported PrintObject::infill() to C++ 2018-11-26 21:24:33 +01:00
Alessandro Ranellucci
1cc8a8d3e3 Ported PrintObject::detect_surfaces_type() to C++ 2018-11-26 21:17:54 +01:00
Alessandro Ranellucci
f2e2c9aa71 Ported PrintObject::make_perimeters() to C++ 2018-11-26 21:16:37 +01:00
Alessandro Ranellucci
f7509f2a3f Ported PrintObject::slice() to C++ 2018-11-26 21:13:04 +01:00
Alessandro Ranellucci
2bbb089a4f Ported PrintObject::combine_infill() to C++ 2018-11-26 13:57:31 +01:00
Alessandro Ranellucci
fb3aba351b Ported PrintObject::discover_horizontal_shells() to C++ 2018-11-26 11:09:53 +01:00
Alessandro Ranellucci
ea186f5651 Ported PrintObject::_simplify_slices() to C++ 2018-11-26 09:25:15 +01:00
Alessandro Ranellucci
725d0ab408 Ported PrintObject::_support_material_flow() to C++ 2018-11-26 01:01:02 +01:00
Alessandro Ranellucci
e5bd2ef801 Ported PrintObject::clip_fill_surfaces() to C++ 2018-11-26 01:01:02 +01:00
Alessandro Ranellucci
ea67f8ca4f Bugfix: Model::add_default_instances() was always return true 2018-11-25 11:55:57 -06:00
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