bubnikv
fcc1b2ad69
Reworked polygon sampling for SLA auto support generation.
...
Conditional compilation of an igl winding number tree for SLA support generator, as it is not used as of now and initialization of the tree is expensive.
Fixed issue with passing the new SLA point definition to the back end and back to the UI.
2019-02-17 13:05:22 +01:00
bubnikv
d0553ece0e
Extended tesselation wrapper for other 3d and 2d point types.
2019-02-08 09:26:48 +01:00
bubnikv
fb6f3d8431
Send EVT_SLICING_UPDATE with RELOAD_SLA_SUPPORT_POINTS
...
once object's support points are calculated by the backend.
2019-02-06 14:18:04 +01:00
bubnikv
d31cb98fe9
Merge remote-tracking branch 'remotes/origin/master' into lm_sla_supports_auto2
2019-02-06 11:11:51 +01:00
bubnikv
6ef9c23d19
Merge branch 'master' into lm_sla_supports_auto2
2019-02-06 11:10:18 +01:00
bubnikv
0e8b526af3
Vojtech's optimizations
2019-02-06 10:57:45 +01:00
bubnikv
72d85261fb
Fix of mouse wheel scrolling over the variable layer height bar
...
with OSX Retina rendering.
2019-02-06 08:44:06 +01:00
bubnikv
7719173f89
Fixed compilation on OSX
2019-02-05 21:26:52 +01:00
bubnikv
0b90e5177c
Fixed missing include
2019-02-05 21:05:31 +01:00
bubnikv
5fedb5f232
Fixed last buggy commit.
2019-02-05 20:54:01 +01:00
bubnikv
f22926649c
Polished up the tesselator.
2019-02-05 20:49:09 +01:00
bubnikv
e3ed05491e
Added the new Tesselate.cpp/hpp
2019-02-05 20:24:25 +01:00
bubnikv
8982664551
Improved stability (fixed crashes) of the Cut by plane function by
...
replacing the cut triangulation with freeglu tesselator.
Added performance tracing output of the Cut by plane function.
Added wait cursor to split to parts / objects, object cut, save to AMF/3MF.
2019-02-05 20:23:24 +01:00
bubnikv
3dc6e266ed
Updated GLCanvas3D to use the tesselator through libslic3r
2019-02-05 19:45:52 +01:00
bubnikv
2a7e5bc0ae
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-02-05 18:14:27 +01:00
bubnikv
f797083ca2
WIP Added libtess library extracted from
...
https://cgit.freedesktop.org/mesa/glu/
The library is stable (it should be, since it is in use since 1994),
but it is not thread safe: Its callbacks do not receive any pointer
to a context.
2019-02-05 18:14:07 +01:00
bubnikv
5207d31df1
WIP: HiDPI support - 3D scene on Windows / Linux
...
HiDPI support on Windows - enabled in manifest.
2019-02-04 21:41:10 +01:00
bubnikv
09ee5793df
Bumped up version number
2019-02-04 19:11:20 +01:00
bubnikv
f2b44645d1
Updated profiles
2019-02-04 19:10:47 +01:00
bubnikv
b8d6c6bbb2
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-02-04 15:46:20 +01:00
bubnikv
ac007d4173
Platform independent delete menus
2019-02-04 15:46:12 +01:00
bubnikv
f42ce8c84a
Ctrl+A is handled differently on OSX than on Windows / Linux by wxWidgets
2019-02-04 15:12:24 +01:00
bubnikv
f626f69e90
Fixed typo.
2019-02-04 12:08:48 +01:00
bubnikv
af0e9370fb
Handle Del, Ctrl+Del, Ctrl+A hot keys in the 3D scene only,
...
do not bind it through the menu accelerators.
This time the implementation is the same on all platforms.
2019-02-04 12:04:42 +01:00
bubnikv
0b7b961994
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-02-04 09:38:02 +01:00
bubnikv
7c5d94e0b1
Don't capture Cmd+A on OSX in Canvas, it works throug the menu accelerators.
2019-02-04 09:37:49 +01:00
bubnikv
cd838561ee
Model fixing through Netfabb service (Windows only):
...
Model volumes are now fixed one by one, instances & parameters are maintained,
it is now possible to fix just a single volume of a multi-part object.
2019-02-03 22:14:34 +01:00
bubnikv
bcab373a54
Fixed an error when importing / exporting Config Bundles with
...
at least one SLA print or SLA material defined.
2019-02-03 20:17:55 +01:00
bubnikv
1905d49ade
Trying to find a reasonable workaround for the single key menu accelerators.
2019-02-03 19:10:20 +01:00
bubnikv
d0b1b3b3de
Trying to convince OSX that we want the Control key to behave as Command
...
key when accessing OSX machine over VNC from a PC.
2019-02-03 17:57:55 +01:00
bubnikv
f9743d17e9
On Windows, system and hidden files are now ignored in all file
...
enumeration loops.
Should fix "desktop.ini still displaying error" #1761
2019-02-03 15:30:37 +01:00
bubnikv
14a623f50e
Removed GLCanvas3D::on_key_down() handler, as it is replaced
...
by the on_char() handler.
2019-02-03 14:11:09 +01:00
bubnikv
0c1f750cba
The accelerators Ctrl+A, Ctrl+Del and Del were incorrectly captured
...
globally by being defined in the Edit menu.
These accelerators are now suppressed in the menu (shown on Windows
but inactive, not shown on OSX / Linux),
and they are now captured by the 3D scene widget instead.
Fix of ctrl-A doesn't work well #1753
2019-02-03 14:06:13 +01:00
bubnikv
ecdf550e65
OSX specific: Changed the "Preferences dialog" short cut
...
to the platform default "Control-," fixes #1748
2019-02-03 12:12:26 +01:00
bubnikv
5deb8fcc65
Suppressed the "Split to volumes" button in simple mode.
2019-02-03 11:15:26 +01:00
bubnikv
f050d91239
OSX specific: The Command short keys over the 3D scene toolbars
...
are now shown with the OSX "Command" symbols, not as "Ctrl+"
2019-02-03 11:10:25 +01:00
bubnikv
a56f7d60e5
Fixed an issue, where the output G-code file name was not always updated
...
from the current Model/ModelObjects.
Fixed a possible race condition in updating Print::m_placeholder_parser
with the proposed filename / filename base.
Improved documentation (source code comments).
2019-02-03 10:41:14 +01:00
bubnikv
e59a10e0c2
Fix of a cooling slow down logic.
...
fixes "Min print speed" to "Estimated Print Time" Inconsistencies #1488
2019-02-01 17:15:41 +01:00
bubnikv
3b973e01dd
Get name of both the G-code and project file from the 1st printable
...
object's name or file path.
Fixed some compilation warnings.
2019-02-01 11:44:08 +01:00
bubnikv
405d18a7fa
Changed default the Drag & Drop target from "Move" to "Copy". Fixes #1742
2019-02-01 08:53:29 +01:00
bubnikv
f4243c694f
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-31 15:09:23 +01:00
bubnikv
c82d346c1a
Fixed a bug in initialization of some StaticPrintConfig derived classes.
...
Merged implementation of support for "Octoprint-Cancelobject" #972
thanks @supermerill
2019-01-31 15:09:16 +01:00
bubnikv
2d3da7ef33
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-31 09:37:38 +01:00
bubnikv
f1470966a5
glsafe macro to test for the glGetError in debug mode
2019-01-31 09:37:27 +01:00
bubnikv
3c78d35e3c
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-31 09:09:42 +01:00
bubnikv
73280d48ed
Fixed name of the exported project file to respect the object name.
2019-01-31 09:08:40 +01:00
bubnikv
991632add5
GLCanvas3d::on_render(): if not intialized yet,
...
Call render directly, so it gets initialized immediately, not from On Idle handler.
2019-01-30 19:48:26 +01:00
bubnikv
7dbda0243e
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-30 19:02:43 +01:00
bubnikv
ed9a924880
Added missing GL context "Set Current" calls before loading data
...
into vertex buffers.
Changed behavior of Canvas3D::on_render() to postpone rendering to idle,
as on OSX the paint events happen directly from control updates,
if the control update triggers Canvas3D window rescaling. With this change,
rendering only happens from idle handler consistently.
2019-01-30 19:02:30 +01:00
bubnikv
eec289961a
Removed Microsoft specific _DEBUG flag from the Unix systems.
...
Made condional compilation of assert code based on #ifndef NDEBUG
instead of #ifdef _DEBUG to compile on Unix systems.
2019-01-30 15:27:11 +01:00
bubnikv
35cef67ee5
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-30 12:10:38 +01:00
bubnikv
460cf820af
Some optimizations of the color print preview.
2019-01-30 12:10:26 +01:00
bubnikv
d30676ceee
Merge remote-tracking branch 'remotes/origin/ys_color_print'
2019-01-30 09:29:55 +01:00
bubnikv
72e8c7c756
Updated the github issue template
2019-01-30 09:07:29 +01:00
bubnikv
49bb90523a
Fix of a G-code comment. Fixes
...
Incorrect filament profile being used during purge - always set to PLA. #1691
2019-01-29 18:28:52 +01:00
bubnikv
7bfc60e805
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-29 18:08:02 +01:00
bubnikv
57bd0889c3
Disabled the experimental pressure equalizer.
2019-01-29 18:07:45 +01:00
bubnikv
79f608d1e6
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-29 14:44:25 +01:00
bubnikv
2c9a98b22f
Renamed Open / Save to Open Project / Save Project
2019-01-29 14:44:10 +01:00
bubnikv
4464fcc9d2
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-29 13:36:35 +01:00
bubnikv
e35124b627
Fix of 1.42.0.alpha2 BUG ** Printer choosing bug #1588
2019-01-29 13:36:23 +01:00
bubnikv
aaaffd7f90
Fixes Add [layer_num] and [layer_z] to Custom Tool change G-code #1651
2019-01-29 12:02:48 +01:00
bubnikv
de742bbab2
Fix of Custom filename - used_filament in meters #1680
2019-01-29 11:14:29 +01:00
bubnikv
c973500ee6
Support for a numeric input with both dot and comma
...
as a valid decimal separator.
Fixes Česká verze hustota filamentu #1705
2019-01-29 10:21:21 +01:00
bubnikv
c4bc45cff4
Add DEBUG and _DEBUG symbols on OSX & Linux in a way the Visual Studio
...
does that.
2019-01-29 09:57:17 +01:00
bubnikv
46709c92cd
Fix of OcctoPrint using Post Processor does not work #1731
2019-01-29 08:57:00 +01:00
bubnikv
4a5cff3ee2
Reverted the slow auto arrangement of objects on loading.
...
(made configurable, once it is sped up, it will be re-enabled)
2019-01-28 10:56:02 +01:00
bubnikv
3e0ef05386
Merge remote-tracking branch 'remotes/origin/objects_centering'
2019-01-28 10:25:41 +01:00
bubnikv
9942e9f7e5
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-28 10:11:02 +01:00
bubnikv
adb96bdc2e
WIP: Optimization of the object's 2D convex silhouette for arrangement,
...
not working yet.
2019-01-28 10:10:23 +01:00
bubnikv
66ecdf61ec
FIx of the previous commit
2019-01-28 08:53:02 +01:00
bubnikv
bb0cf221bc
WIP synchronization of Z rotation of the instances
2019-01-28 08:52:22 +01:00
bubnikv
282ef552f9
SLA print bed rotated by 180 degrees, simplified by removing some internal pieces.
2019-01-26 18:52:31 +01:00
bubnikv
588c07c12a
Performance improvements:
...
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
bubnikv
48d64b0842
Fixed compilation on Visual Studio in Debug mode.
2019-01-26 14:12:57 +01:00
bubnikv
302a51f6cb
Merge remote-tracking branch 'remotes/origin/tm_autoplacement'
2019-01-26 13:32:47 +01:00
bubnikv
241283d956
Merge remote-tracking branch 'remotes/origin/vk-bugfixes'
2019-01-26 13:10:58 +01:00
bubnikv
708a14c228
Fix of instance synchronization. It seems to be working, but one may
...
want to review the center of rotation of the instances when rotating
around a general axis (zero component of the rotation axis in the world Z).
2019-01-25 14:56:41 +01:00
bubnikv
dbcf800353
Yet another compilation fix on OSX
2019-01-25 09:57:08 +01:00
bubnikv
ee87d73916
Fixed compilation on Linux.
2019-01-25 09:06:49 +01:00
bubnikv
ceea83720a
Fixed build on OSX & Linux
2019-01-25 08:37:06 +01:00
bubnikv
8c9923b2bf
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-24 20:53:34 +01:00
bubnikv
4487f51c30
Yet one more fix of a unit test.
2019-01-24 20:53:15 +01:00
bubnikv
de70b6a06a
Removed ExPolygon::triangulate_pp() from Perl XS bindings and unit tests.
2019-01-24 19:22:35 +01:00
bubnikv
e1abd1256c
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-24 19:09:06 +01:00
bubnikv
49487c16e6
Improvements of the triangulation of SLA layer preview.
2019-01-24 19:08:58 +01:00
bubnikv
584e8a8490
Updated the polypartition library from https://github.com/ivanfratric/polypartition
2019-01-24 15:18:16 +01:00
bubnikv
772b22265c
Updated poly2tri library from https://github.com/jhasse/poly2tri
2019-01-24 15:17:39 +01:00
bubnikv
5a707a66b9
Adjustment of the offset from the print bed STLs to their textures.
...
Changed the MK2.5 bed from MK2 to MK3.
2019-01-23 17:24:56 +01:00
bubnikv
7730f273fb
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-23 15:29:44 +01:00
bubnikv
90235ac386
Fixed layer height profile access from Perl XS
2019-01-23 15:29:18 +01:00
bubnikv
5ed475a730
Little optimization when creating a SLA support mesh for preview.
2019-01-23 14:22:33 +01:00
bubnikv
fc97ec9cd9
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-23 14:00:23 +01:00
bubnikv
0af11c51e3
Fixed update on reset of the variable layer height profile.
...
Fixed update of the layer height profile on PrintObject when changing profiles.
Fixed crash due to the layer height editing refactoring & wipe tower.
2019-01-23 14:00:03 +01:00
bubnikv
cada2a313f
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-22 12:14:41 +01:00
bubnikv
6937c21f4b
Fixed updates of the variable layer height texture on config change
...
and when the reset button on the variable layer height bar is pressed.
2019-01-22 12:14:26 +01:00
bubnikv
bd80304f39
Added missing headers.
2019-01-21 17:51:37 +01:00
bubnikv
3366ce51e5
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-21 17:02:40 +01:00
bubnikv
ceb08d6380
Variable layer height editing:
...
Smarter updates of the SlicingParameters (update on ScheduleBackgroundProcessing
or on object selection change)
2019-01-21 17:02:16 +01:00
bubnikv
ba1abf3f1f
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-01-21 10:07:27 +01:00