3895 Commits

Author SHA1 Message Date
Alessandro Ranellucci
3d59b7ed82 Merge pull request #3569 from uclaros/window_shortcuts_fix
Fixed a bug with the "Window" menu items.
2016-11-21 18:43:25 +01:00
bubnikv
36d1c575b9 Added optimized methods for point and polyline rotation.
Existing methods for rotation were optimized by calculating the sin/cos values once only.
Added an operator- for points.
2016-11-21 18:41:47 +01:00
bubnikv
5d769bd9da Some inlining optimizations. 2016-11-21 18:41:18 +01:00
Joseph Lenox
d9a92bc4dc Code documentation of options and functions for libslic3r internals, ported from Prusa3d fork (written by @bubnikv) 2016-11-21 18:40:44 +01:00
Alessandro Ranellucci
38291d3c80 Use the CLIPPER_OFFSET_SCALE constant. #3580 2016-11-21 18:37:51 +01:00
Alessandro Ranellucci
9fcd7f38de Refactored Clipper wrapper functions 2016-11-21 18:30:35 +01:00
Alessandro Ranellucci
be00f64243 Include support material in raft shape for --export-svg as well 2016-11-19 20:46:19 +01:00
Joseph Lenox
b874915445 Fix/workaround for Boost issues in Config.hpp (#3572)
* Moved new deserialize functions (and their accompanying boost dependencies) into Config.cpp from Config.hpp.

Fixes #3539

* Forgot to save Config.hpp for removal of Boost
2016-11-12 15:30:20 -06:00
uclaros
94f60db114 Fixed a bug with the "Window" menu items.
If the "Controller" tab was not visible, then the menu items and their shortcuts oppened the wrong tab.
Also, the controller tab was not visible if the plater tab was not visible too.
2016-11-10 00:29:02 +02:00
Alessandro Ranellucci
8910b4970a Added basic support material to SVG export 2016-10-19 12:36:25 +02:00
Alessandro Ranellucci
56334c49ac Don't rescale mesh in POV export 2016-10-18 14:25:25 +02:00
Alessandro Ranellucci
68acf19c09 New --scale-to-fit option in slic3r.cpp 2016-10-18 10:22:34 +02:00
Alessandro Ranellucci
3700950474 Prevent scientific notation in --info output 2016-08-28 12:10:18 +02:00
Alessandro Ranellucci
ade661ebf1 More fixes for non-ASCII paths on Windows 2016-08-28 11:41:00 +02:00
Alessandro Ranellucci
66e48e9d22 Revert "More fixes for non-ASCII paths on Windows"
This reverts commit e79eac2671fca060a04d8183e97b655523eafdfb.
2016-08-28 11:23:06 +02:00
Alessandro Ranellucci
1532f54350 Fixed regression: projector window was not closed with the projector dialog 2016-08-28 10:50:31 +02:00
Alessandro Ranellucci
e79eac2671 More fixes for non-ASCII paths on Windows 2016-08-28 10:43:00 +02:00
Alessandro Ranellucci
822ba300b7 Always convert strings to UTF-8 before passing them to XS 2016-08-28 10:11:15 +02:00
Alessandro Ranellucci
bfd86c36df Allow GCodeSender to be reused after disconnection 2016-08-27 19:31:06 +02:00
Alessandro Ranellucci
3518a97e4c Bugfix: prevent crash in 2DBed (manual control) when handling mouse events when canvas was not painted yet 2016-08-27 19:22:34 +02:00
Alessandro Ranellucci
1e71f438a1 Gracefully handle non existent options 2016-08-27 19:19:46 +02:00
Alessandro Ranellucci
f295d9001a Merge pull request #3416 from lordofhyphens/plater-render-refresh
2D platter rendering fixed on Windows, and the background color fixed
2016-08-27 19:00:43 +02:00
Alessandro Ranellucci
009b8e1e7e Merge pull request #3470 from lordofhyphens/add-libglut-dll
added libglut dll from strawberryperl
2016-08-27 18:55:02 +02:00
Alessandro Ranellucci
b0554d832a Merge pull request #3467 from alexrj/skirt_brim-typo-1
Update skirt_brim.t
2016-08-27 18:53:12 +02:00
Alessandro Ranellucci
7a281828df Merge pull request #3474 from lordofhyphens/fix-3472-vs2013-virtual-inheritance
Fixed a crash in a constructor of FullPrintConfig due to an incorrect…
2016-08-27 18:52:00 +02:00
bubnikv
3a394c5340 Fixed a crash in a constructor of FullPrintConfig due to an incorrect use
of virtual inheritance. Note that an invocation of ConfigBase::optptr()
is routed to FullPrintConfig::optptr() for all classes of the FullPrintConfig
hierarchy. FullPrintConfig::optptr() in turn invokes optptr()
of PrintObjectConfig, PrintRegionConfig, PrintConfig and HostConfig.
Due to the use of virtual inheritance, this all happens, when
PrintObjectConfig gets constructed as part of FullPrintConfig, but
at that time PrintRegionConfig, PrintConfig and HostConfig are not
constructed yet. Accessing them at that time leads to crashes,
when compiled with Visual Studio 2013 compiler. For some reason
the code generated by gcc does not crash, but I believe the behavior
is undefined and it is better to be fixed anyway.

The patch solves the problem by calling set_defaults() by the topmost
object, which not only fixes the crashes, but also avoids repeated
initialization.
2016-08-21 19:47:19 -05:00
Joseph Lenox
566bbbdb52 added libglut dll from strawberryperl 2016-08-19 03:25:29 -05:00
Joseph Lenox
6b4780661f Update skirt_brim.t
Fixed typo. #3466
2016-08-18 21:47:39 -05:00
Alessandro Ranellucci
34f1853dd0 Merge pull request #3438 from lordofhyphens/point_readme_to_wiki
Changed README.md build instructions to point instead to wiki.
2016-07-23 16:31:10 +02:00
Alessandro Ranellucci
862245ca8d Merge pull request #3439 from lordofhyphens/readme-contributing
Expanded/updated 'how can I help' section to include wiki entries
2016-07-23 16:30:41 +02:00
Joseph Lenox
5350b564e7 Expanded/updated 'how can I help' section to include wiki entries 2016-07-21 00:34:36 -05:00
Joseph Lenox
c00b95be6e Changed README.md build instructions to point instead to wiki,
sudo/cpanminus is dangerous to the package systems on debian/ubuntu systems.
2016-07-21 00:25:56 -05:00
Alessandro Ranellucci
fac3a5bee0 Merge pull request #3417 from lordofhyphens/printbed_stl_crash
Fix of a crash when the Print Bed dialog is reopened after the bed shape
2016-07-20 22:14:04 +02:00
Alessandro Ranellucci
5a048ce9f9 Merge pull request #3432 from lordofhyphens/fix-config
Catch exception thrown when loading config files.
2016-07-20 22:12:31 +02:00
Alessandro Ranellucci
f3259bb899 Fix regression in volume not being displayed in the GUI. #3431 2016-07-20 22:11:09 +02:00
Joseph Lenox
6736ff5fa6 Catch exception thrown when loading config files.
Thrown exception has been changed to be std::runtime_error, includes regression test (program does not crash when loading unknown keys).
Sends error/diagnostic message to std::cerr.

Addresses #3430
2016-07-19 00:31:10 -05:00
Alessandro Ranellucci
848374602d Add 'build' to .gitignore 2016-07-17 16:54:01 +02:00
Alessandro Ranellucci
30139fd647 Port --load and --save to XS 2016-07-17 16:53:37 +02:00
Alessandro Ranellucci
c2b06b22aa Change output format for --info 2016-07-17 13:13:51 +02:00
bubnikv
5ebf6e84c7 Fix of a crash when the Print Bed dialog is reopened after the bed shape
was defined with an STL.
Fix of rendering on Windows, refresh on resize.
2016-07-13 00:26:22 -05:00
bubnikv
fd2d060ea7 2D platter rendering fixed on Windows, and the background color fixed
on Linux/GTK.
2016-07-13 00:13:16 -05:00
Alessandro Ranellucci
eb491056d8 Typo 2016-07-12 16:18:22 +02:00
Alessandro Ranellucci
5346894acc New extrude-tin utility 2016-07-12 13:44:37 +02:00
Alessandro Ranellucci
5fb23f9b96 Merge pull request #3409 from alexrj/travis-boost-filesystem
Add boost-filesystem to list of dependencies
2016-07-10 18:21:38 +02:00
Joseph Lenox
7d4d6fed7d Add boost-filesystem to list of dependencies
back to using packages, hopefully it works.
2016-07-10 10:21:51 -05:00
Alessandro Ranellucci
1d510f76db Update error message with machinekit. #2742 2016-07-10 14:45:12 +02:00
Alessandro Ranellucci
f352406c33 Prevent variable-width logic from causing negative extrusion. #3220 2016-07-10 14:36:31 +02:00
Alessandro Ranellucci
546312a18d Merge pull request #3356 from lordofhyphens/msaa_plater
Support multi sampled anti-aliasing with wxWidgets 3.0.3.
2016-07-10 13:43:08 +02:00
Alessandro Ranellucci
6f1d1f6af7 Some cleanup and further optimization to 5f521b24c42ed657967b919871900fa6a65ba790. #3293 2016-07-10 13:38:33 +02:00
Alessandro Ranellucci
3daf64ae56 Remove tabs and clean up code from 4c622c504f8f7c479a8368f7672ec96426391554 2016-07-10 13:09:06 +02:00