1534 Commits

Author SHA1 Message Date
Joseph Lenox
d1446fe2af
Wrap in brackets to restrict scope of temporary variables. 2018-11-06 08:15:55 -06: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
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
Joseph Lenox
7fb5fcb450 Wire spiral vase into the printing logic. 2018-08-05 23:31:01 -05:00
Joseph Lenox
ce8e1b94ff Remove debug print. 2018-08-05 22:28:42 -05:00
Joseph Lenox
5baee8a1cb Cooling buffer works in cppgui 2018-08-05 22:27:36 -05:00
Joseph Lenox
d5f33fa87a Filter out messages with no CLI options 2018-08-05 21:06:12 -05:00
Joseph Lenox
e06d33180c Added primitive --help that reads DynamicPrintConfig options directly.
Should slice and generate gcode for STL files now.
2018-08-05 20:44:46 -05:00
Joseph Lenox
dde4779cbb added grow() method for Polyline; moved CLIPPER_OFFSET_SCALE to libslic3r to avoid include loops 2018-07-31 23:19:50 -05:00
Joseph Lenox
4d257930da Ensured that template is instantiated for int types for Flow::solid_spacing 2018-07-30 22:38:18 -05:00
Joseph Lenox
88e03c0b2c added constructors for building ExPolygon from Points array and a pair of Points arrays (used in tests) 2018-07-30 22:37:58 -05:00
Joseph Lenox
adc126067d Cleaned up warnings with unused variables and casting to cover signed/unsigned 2018-07-30 09:02:39 -05:00
Joseph Lenox
5b80fa4a55 Adjust code formatting so that -Wmisleading-indentation doesn't trip over the lines. 2018-07-30 08:56:51 -05:00
Joseph Lenox
51fbe8ad6e Added parens to declare intent and quiet compiler warnings. 2018-07-30 08:54:04 -05:00
Joseph Lenox
7180c2e8d5 Initialize e_per_mm to make the compiler not freak out 2018-07-30 08:52:34 -05:00
Joseph Lenox
e81e19cbc1
Fix int (#4495)
* Use int64 on windows
2018-07-29 22:12:02 -05:00
Joseph Lenox
d5a2e1b1a3 Added implementation of Taubin fit cribbed from "Circular and Linear Regression: Fitting circles and lines by least squares", p126 by Nikolai Chernov for both Pointf and Points,
Added tests for fit and extended some operators to function on Pointf
2018-07-29 20:15:21 -05:00
Joseph Lenox
4451fc424c Renamed interface -> _interface to avoid reserved word under Windows. 2018-07-28 12:38:44 -05:00
Joseph Lenox
5aa0539a76 removing guards 2018-07-27 23:43:48 -05:00
Joseph Lenox
0373496baa Include guard around SupportMaterial so that it isn't built by the Perl side. 2018-07-27 22:08:13 -05:00
Joseph Lenox
fe492f818a Added std::map and Slic3r::Polygon to include list, sorted includes. 2018-07-27 22:07:22 -05:00
Joseph Lenox
44d145d986
Merge pull request #4491 from lordofhyphens/cppgui
Cppgui - Intermediate merge
2018-07-27 21:47:22 -05:00
Joseph Lenox
ac6642ed18 removed some debug prints. 2018-07-27 21:05:42 -05:00
Joseph Lenox
60286bb032 Actually make brim, and fix tests so that math is correct. 2018-07-27 19:51:08 -05:00
Joseph Lenox
5b06201e18 Changed calling convention to get gcc49 to not mis-parse as an initializer list 2018-07-27 08:27:16 -05:00
Joseph Lenox
d11f623ca5 Trying to avoid an issue with gcc4.9 2018-07-26 23:32:27 -05:00
Joseph Lenox
80d7f80734 Implemented printing complete_objects 2018-07-26 23:00:38 -05:00
Joseph Lenox
f625c69f41 Forgot to handle multiple objects at the same time when bucket sorting. Fixed. 2018-07-26 23:00:18 -05:00
Joseph Lenox
71009d8c90 Actually implement layer change. It's somewhat important. 2018-07-26 22:59:33 -05:00
Joseph Lenox
a66ae6ac26 Moved regular expression definitions to header (for reuse) 2018-07-26 22:58:43 -05:00
Joseph Lenox
5e09035181 document the usage of flatten() 2018-07-25 23:47:56 -05:00
Joseph Lenox
6710b249b1 Also flatten the infill list before iterating over it. 2018-07-25 23:41:27 -05:00
Joseph Lenox
8c33fac143 Flatten the perimeters list (which is what the xspp does in the background) before iterating over it. 2018-07-25 23:39:26 -05:00
Joseph Lenox
c78c23c73d Don't need the const_cast. 2018-07-25 23:38:46 -05:00
Joseph Lenox
0b3496b45f Bugfix: Preqreq calls should be calling slice(), not _slice(). _slice() invalidates the print state (!!!) 2018-07-25 23:34:14 -05:00
Joseph Lenox
60005d1bc6 updated comment to use correct c++ syntax. 2018-07-25 23:33:32 -05:00
Joseph Lenox
725f8282b3 Handle case where the get_region() call fails. 2018-07-25 23:14:35 -05:00