1312 Commits

Author SHA1 Message Date
Joseph Lenox
5cba03da98 Added std::string versions of error and info to Slic3r::Log 2018-05-13 00:07:11 -05:00
Joseph Lenox
22e24d92e2 Throw a custom exception if Print::delete_object() gets an out-of-range identifier. 2018-05-13 00:06:34 -05:00
Joseph Lenox
e7ab533da6 Pushed a contains() method up to ExPolygonCollection that returns if any of its expolygons contain the point. 2018-05-08 23:11:02 -05:00
Joseph Lenox
6c6435be6b Merge remote-tracking branch 'origin/master' into cppgui 2018-05-08 18:20:41 -05:00
Joseph Lenox
5d8772167b Rolling part number to 1.3.1-dev for development. 2018-05-08 18:19:51 -05:00
Joseph Lenox
3131845aa7 Merge tag '1.3.0' into cppgui 2018-05-08 18:18:51 -05:00
Joseph Lenox
3ba8e0f369 Updating version for 1.3.0 release. 2018-05-08 17:47:09 -05:00
Joseph Lenox
00fd19331e Added convenience function to build a Point from a Pointf that is scaled. 2018-05-06 20:37:18 -05:00
Joseph Lenox
9cbc2810b4 Add additional translate() functions to accept a Point or Pointf for convenience. 2018-05-06 20:36:40 -05:00
Joseph Lenox
10f4bf9be9 add log function to build strings for vectors 2018-05-06 19:36:28 -05:00
Joseph Lenox
574f77ec16 Added generic error message to Log; print error type to console. 2018-05-05 17:36:20 -05:00
Joseph Lenox
a620e2ee13 Fixed arguments for Polygon::new_scale 2018-05-05 17:35:53 -05:00
Joseph Lenox
dc08bcafae Added template function to make getting references to ConfigOptions easier to write. 2018-05-05 16:13:34 -05:00
Joseph Lenox
4860d63b01 Add static method to create scaled Polygons from Pointf arrays. 2018-05-05 16:10:43 -05:00
Joseph Lenox
1074b04326 Overloaded append() to add single ExPolygons (avoids having to create a vector for no purpose) 2018-05-01 22:31:38 -05:00
Joseph Lenox
77ae0df2ad scale Pointf array into Points array. 2018-04-30 22:15:56 -05:00
Joseph Lenox
cc4477eb3f Used correct inheritance for Config. 2018-04-30 22:15:32 -05:00
Joseph Lenox
1c421af47b added warn() to log 2018-04-29 22:49:49 -05:00
Joseph Lenox
d02516d8fe Added factory function for new_from_defaults. Stubbed out new_from_cli. 2018-04-29 12:14:25 -05:00
Joseph Lenox
44944a9b7d Move ZipArchive to its own library. 2018-04-29 10:07:41 -05:00
Joseph Lenox
c0d8e68606 working on higher-level cpp Slic3r::Config that has a similar interface to the old Perl one. 2018-04-28 18:18:10 -05:00
Joseph Lenox
ad46bc8106 Start a simple Slic3r::Log to collect all of the debugging prints to a single area.
Upgrade backend to boost::log as needed.
2018-04-28 18:13:51 -05:00
Joseph Lenox
d145ee3465 Finish renaming Config->ConfigBase in libSlic3r to make room for a Slic3r::Config that has an interface closer to the Perl version. 2018-04-28 18:12:26 -05:00
Joseph Lenox
2ec07cb93c Added CATCH v2.2.2 header 2018-04-28 12:32:54 -05:00
Joseph Lenox
8a93fbbd0c Changed a few comments to doxygen format. 2018-04-25 18:50:51 -05:00
Joseph Lenox
5619e41dd1 Reordered initializer list. 2018-04-25 18:50:33 -05:00
Joseph Lenox
7822802550 Rearrange initializer list in constructors to match the class order. 2018-04-25 18:22:52 -05:00
Joseph Lenox
d8a743d177 If M190, M109, M104, or M140 commands are not present in end gcode, append commands to shut off all hotends and the bed (same as start gcode). 2018-04-24 18:35:29 -05:00
Oekn5w
72db3392c8 "Reload from disk" - UI function overhaul (#4388)
* C++ backend work to support reloading modifier files

* UI update preserving configs and volumes of modifiers (those are not reloaded)

* clarifying variable names

* Setting up variables in the GUI enviroment

* Implementation of added variables in (new ModelVolume(*)) funcion

* Implementation of new reload function

* Overhaul of the reload function, also renaming of some variables

* Rewriting the main loop of the reload function, explicitly differentiating between the original file and later added parts and modifiers pointing to other files

* Whitespace cleanup

* Added dialog to choose from different reload behaviors, added hide and default option in preferences, copied volumes are matched the new object's origin translation
2018-04-23 12:04:47 -05:00
Joseph Lenox
7457cfdac2 Outputs (bridge) in verbose gcode if path extruded is marked as bridge. Fixes #4380 2018-04-14 14:52:46 -05:00
Jaggz H
a46aa09755 Added max-support-layers (support_material_max_layers) (#4148)
* Added max-support-layers (support_material_max_layers)
* Revised tooltip text for support_material_max_layers
* Disable support_material_max_layers if no support.
2018-04-14 14:28:55 -05:00
Joseph Lenox
ea29a22cd6 Adds Printer config option to force the use of set-and-wait gcode semantics (if supported by firmware).
Fixes #3268
2018-04-12 21:15:23 -05:00
Joseph Lenox
548ce534ad added another couple tests to catch a few more expressions according to spec. 2018-04-12 20:23:47 -05:00
Joseph Lenox
7b8369d00e Adding a simple test to show that changing the skirt count invalidates the skirt step. 2018-04-03 23:04:44 -05:00
Joseph Lenox
1869b0657d Propagate invalidation results from dependent invalidations. Mostly Fixes #4364 2018-04-03 22:56:49 -05:00
Joseph Lenox
4db029c753 Use the surface thickness if it is available for internal infill, instead of passing the layer height for the flow.
Fixes #4345
2018-04-01 21:03:40 -05:00
Joseph Lenox
db17a63436 Properly retrieve the fill spacing for internal infill. Fixes #4319 2018-04-01 11:53:48 -05:00
Joseph Lenox
245aac1172 Make SLAPrintOptions available to Projector through MainFrame. 2018-02-24 23:04:36 -06:00
Joseph Lenox
976bb5518e Also close the file when we're done writing to it. 2018-02-24 20:38:22 -06:00
Joseph Lenox
6e283f6914 Flush the output buffer when writing svg files from PrintSLA.cpp.
Fixes #4311
2018-02-24 20:36:08 -06:00
Joseph Lenox
d3a3d6d620 Hotfix: Set minimum spacing to 0.3 if the provided configuration option is 0.
Avoids a crash with infill density < 100% on SLA prints.
2018-02-24 20:24:46 -06:00
Merill
113308c317 gyroid infill (#4317)
* Gyroid infill type (from slic3rPE#733)

* adaptation

* debug gyroid

* Change a few comments to be doxygen comments.

* Use doxygen comments.
2018-02-24 17:54:35 -06:00
rockandsalt
5f28ee409b added point3 to UI and the required function (#4305) 2018-02-17 22:02:40 -06:00
Joseph Lenox
05461b8620 Fixing name cases. 2018-02-08 17:20:57 -06:00
Joseph Lenox
9bf13727ad Fix casing of conditional gcode 2018-01-16 20:59:31 -06:00
Joseph Lenox
19ea7a596a
Long retract support in marlin and repetier for FW retract. (#4108)
* For reprap (really Marlin) or Repetier flavors and a toolchange retract, produce G10 S1 instead of G10.

Also refactored comments (were getting eaten by fw retract)

* Fixed tests to check for correct retract gcode output.

* Better reference to scalar.

* Added config checks for if fw tool retracts are in place and firmware is repetier/marlin, disable the advanced option.

* Disable z lift if firmware retraction is enabled.

* With gcode comments on, indicates which extruder Slic3r thinks it is retracting/unretracting.
2018-01-08 15:08:30 -06:00
David Eccles (gringer)
54fe2e4145 Update 3D Honeycomb Infill to switch directions at squares rather than every line (#4049)
* Initial attempt at updated minimal-bridging honeycomb pattern

* Revert, make incremental change of existing code
2018-01-05 20:20:06 -06:00
Joseph Lenox
b6209c4ee3 herp herp derp static methods. 2018-01-05 20:14:30 -06:00
Joseph Lenox
54e86b7307 Reduce bounds on auto width again (the math likes to go very wide which is not feasible if your nozzle isn't really big).
Should address #4212
2018-01-05 20:02:54 -06:00
Joseph Lenox
a1a2a31e77 Use the default extrusion width for the first loaded object if the configured perimeter width and first layer width is 0.
Fixes #4245
2017-12-29 20:12:34 -06:00