4075 Commits

Author SHA1 Message Date
Alessandro Ranellucci
3e04877571 Refactoring: make_fills() is now a LayerRegion method, and we move the base Fill class to Fill.hpp, no need for FillBase.hpp anymore 2016-11-30 18:07:44 +01:00
Alessandro Ranellucci
a9609a6dd5 Finished infill implementation for SLAPrint 2016-11-30 17:43:58 +01:00
Alessandro Ranellucci
a02d5caa42 Try to fix compilation problem with Boost 1.54. #3595 2016-11-30 11:50:02 +01:00
Alessandro Ranellucci
2e82fb01a6 Ignore failure to call SetAutoPop when not available. #3596 2016-11-30 11:45:31 +01:00
Alessandro Ranellucci
6cdff99df3 Apply print bounding box for SLAPrint infill 2016-11-30 11:26:26 +01:00
Alessandro Ranellucci
3f3f696502 Infill for SLAPrint 2016-11-30 09:39:18 +01:00
Joseph Lenox
2dbc5d6e07 Fix perl redefining multiple functions also defined/used by boostlib through the include chain. (#3593)
Resolved ordering dependency (thanks win32 perl!)
2016-11-29 20:46:44 -06:00
Alessandro Ranellucci
cba3b19be4 Handle input file errors gracefully 2016-11-29 19:25:08 +01:00
Joseph Lenox
f0a45356c8 Made cube and cylinder static functions of the package, not some specific TriangleMesh object. 2016-11-28 02:46:43 -06:00
Joseph Lenox
9ffba8c434 Disable sliders if a volume is not selected. 2016-11-27 23:46:05 -06:00
Joseph Lenox
9e2e5079f0 UI now changes its options based on the object type selected. 2016-11-27 23:45:40 -06:00
Joseph Lenox
7aede7aa28 Menu now works to select cylinders (reusing the gui options) 2016-11-27 22:35:19 -06:00
Joseph Lenox
d961a88969 Fixed mesh generation to generate cylinders. 2016-11-27 22:34:10 -06:00
Joseph Lenox
2171d6ab96 Added prototype make_cylinder() 2016-11-27 19:15:27 -06:00
Joseph Lenox
efeb49e3a7 Added new constructor to TriangleMesh that accepts vectors of Points and make_cube function to make a new simple cube mesh. 2016-11-27 16:06:45 -06:00
Joseph Lenox
3a70a448ab Use LambdaObjectDialog in GUI.pm to avoid crash on Windows. 2016-11-27 16:05:28 -06:00
Joseph Lenox
d398c27e1f Avoid recentering viewport if the bounding box is max size 0, as noticed by @jreinam 2016-11-27 11:34:38 -06:00
Alessandro Ranellucci
9eb28371de Maybe the Travis CI server has more than 16 cores? 2016-11-27 18:31:41 +01:00
Alessandro Ranellucci
b8c4464a20 Try to fix compilation error about the new threads default 2016-11-27 18:18:01 +01:00
Alessandro Ranellucci
01cd85f7cf New command for importing 2.5D/TIN meshes in plater 2016-11-27 18:04:39 +01:00
Alessandro Ranellucci
a7693c4719 Fixes and improvements to the view selection menu 2016-11-27 16:48:48 +01:00
Alessandro Ranellucci
5242b3e03a Minor fixes to parallelize code 2016-11-27 15:25:22 +01:00
Alessandro Ranellucci
23b4f6b193 Removed useless virtual keywords from clipper 2016-11-27 15:25:05 +01:00
Alessandro Ranellucci
11585b88d5 Updated Clipper to 6.4.0 2016-11-27 09:56:30 +01:00
Joseph Lenox
cc9bae90a4 Removed commented code. 2016-11-26 23:16:50 -06:00
Joseph Lenox
9abd5eecee Added a cancel button, and rewrote initial option code to reuse OptionGroup. 2016-11-26 23:03:51 -06:00
Joseph Lenox
a41fcb9066 Update main plater view after moving mesh 2016-11-26 22:13:55 -06:00
Joseph Lenox
89dab6a19d Anonymous object supports. Initial implementation provides for a box of arbitrary size. 2016-11-26 19:57:35 -06:00
Joseph Lenox
b2562a9f31 Permit sliding modifer meshes around in the Settings dialog. 2016-11-26 19:55:43 -06:00
Alessandro Ranellucci
d47f6d30af Ported detect_surfaces_type() to XS/C++ 2016-11-26 16:58:23 +01:00
Alessandro Ranellucci
3678977447 Refactored parallelization code 2016-11-26 16:07:36 +01:00
Alessandro Ranellucci
dabb7cb2ee Automatically detect the number of cores and use that as a default for threads number 2016-11-26 13:46:19 +01:00
Alessandro Ranellucci
83ad123d95 Parallelize TriangleMeshSlicer::slice() 2016-11-26 13:45:58 +01:00
Alessandro Ranellucci
fee5de076f Fixed regression in the _make_perimeters port 2016-11-26 12:47:11 +01:00
Alessandro Ranellucci
66591bcc55 Ported make_perimeters() and infill() to C++/XS, use pure C++ threads 2016-11-26 12:28:39 +01:00
Alessandro Ranellucci
dfd2466a72 Revert "Perl OpenGL 0.7 package causes crashes on many platforms."
This reverts commit 832773e3109b0ec61a4e0999783a893ba9dca822.
2016-11-25 10:19:57 +01:00
Alessandro Ranellucci
048fafb9f9 Fix compilation 2016-11-24 17:54:41 +01:00
bubnikv
d88f05945d admesh: Fixed a problem in loading an STL when compiled with
Visual Studio 2013. Added multiple compile time checks for data
sizes and alignment. The library STL import is not big endian safe, so
added a test for endianity, modified STL export to a faster little endian only.
2016-11-24 17:16:31 +01:00
bubnikv
a20cc0a3a6 Reduced some compiler warnings.
Conflicts:

	xs/xsp/BoundingBox.xsp
	xs/xsp/Point.xsp
2016-11-24 17:15:55 +01:00
bubnikv
bd3df21560 Undef seed macro because of crazy perl macro substitutions. 2016-11-24 17:14:41 +01:00
bubnikv
731fa437ba Fix for compilation on Strawberry Perl with C++11 enabled. 2016-11-24 17:14:24 +01:00
bubnikv
3a87ed9de9 Fixed compilation of XS modules by undefinig the "seed" macro
redefined crazily by Perl.
2016-11-24 17:14:12 +01:00
bubnikv
4a91a7221f Optimization of Model bounding box routines (avoids copying the mesh),
optimization of the admesh rotate function (also made numerically more robust).
2016-11-24 17:13:53 +01:00
bubnikv
96ef2692d7 Improvements of admesh robustness when loading and fixing STLs.
https://github.com/prusa3d/Slic3r/issues/33
2016-11-24 17:13:43 +01:00
bubnikv
10c0be2e99 Positive and negative zeros are possible in the floats, which are considered equal by the FP unit.
When using a memcmp on raw floats, those numbers report to be different.
Unify all +0 and -0 to +0 to make the floats equal under memcmp.
2016-11-24 17:13:31 +01:00
bubnikv
9367eb6db7 Increased the gimbal lock threshold to 170 degrees from 150 degrees.
This makes it possible to look at the bottom of an object.

Conflicts:

	lib/Slic3r/GUI/3DScene.pm
2016-11-24 17:13:11 +01:00
bubnikv
497b7fb6c4 Fixed a 64bit compatiblity in admesh, fixed a typo in TriangleMesh::swap()
Conflicts:

	xs/src/libslic3r/TriangleMesh.cpp
2016-11-24 17:11:55 +01:00
bubnikv
9ed127274e Fixes https://github.com/prusa3d/Slic3r/issues/32#issuecomment-260135542
Reverts an inadverent bug introduced in 4460b5ce50

Conflicts:

	xs/src/libslic3r/PerimeterGenerator.cpp
2016-11-24 17:09:49 +01:00
Alessandro Ranellucci
0c63bc0f83 Typo 2016-11-24 17:00:09 +01:00
bubnikv
a1fd0fe60a Refactored Print::validate() method to not throw an exception, but
to return a string with an error message instead. This was necessary
to avoid a hang-up on some Strawberry Perl distributions, when
a perl "croak" function is called after a C++ exception is caught.

Conflicts:

	xs/src/libslic3r/Print.cpp
2016-11-24 16:37:31 +01:00