Commit Graph

70 Commits

Author SHA1 Message Date
bubnikv
99f0207578 Handling of left hand oriented coordinate systems:
is_left_handed() method on transformations and volumes
rendering of GLVolumes in left handed coordinate systems by glFrontFace(GL_CW);
SLA slicing on left hand oriented instances by flipping the mesh for SLAPrintObject in X.
rendering of the SLA cutting plane in left handed systems
resetting the SLA clipping planes on 3D preview invalidation
2019-04-02 13:47:49 +02:00
bubnikv
69614c17f5 Improved glsafe macro to print out file name, line number and function
name on OpenGL assert.
2019-03-27 10:26:55 +01:00
Lukas Matena
3043c72c73 SLA gizmo now forces objects to use their normal color (not SELECTED_COLOR) 2019-03-20 14:04:20 +01:00
bubnikv
5867c337b6 Merge remote-tracking branch 'remotes/origin/ys_buttons' 2019-03-12 09:01:17 +01:00
Enrico Turri
f760dfed36 Refactoring - Shared members of GLCanvas3D as references instead of pointers 2019-03-08 12:03:37 +01:00
YuSanka
d5efdecb6c Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831) 2019-03-01 11:00:34 +01:00
Enrico Turri
93a3b3b054 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 13:16:39 +01:00
Enrico Turri
01efa53dc6 Tech ENABLE_PRINT_BED_MODELS set as default 2019-02-19 10:07:37 +01:00
Enrico Turri
213174e342 Temporary disable transparent bed and higher resolution bed textures 2019-02-08 16:45:03 +01:00
Enrico Turri
a05f59abf5 Printbed model rendered with 50% transparency 2019-02-07 09:59:57 +01:00
Lukas Matena
e768ab3613 SLA gizmo - fixed hiding of objects and instances 2019-02-06 17:27:02 +01:00
Enrico Turri
c32c45deef Keeps modifier transparent while layer editing tool is enabled 2019-01-31 14:25:11 +01:00
bubnikv
583b8a9a2b glsafe macro to test for the glGetError in debug mode 2019-01-31 09:37:27 +01:00
Enrico Turri
63015c6a4a Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 08:29:15 +01:00
bubnikv
9341ac5584 Improvements of the triangulation of SLA layer preview. 2019-01-24 19:08:58 +01:00
Enrico Turri
2358a7de59 Improved transparent volumes rendering set as default 2019-01-21 12:53:01 +01:00
Enrico Turri
da9e00f0a6 Sidebar visual hints set as default 2019-01-21 12:36:34 +01:00
bubnikv
b76f438975 WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
Enrico Turri
23d98b0006 Fixed convex hull of sla supports 2019-01-16 09:59:25 +01:00
Enrico Turri
9e5e197859 Added print bed models for mk2 and mk3 printers to 3D scene 2019-01-04 12:56:48 +01:00
Enrico Turri
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
bubnikv
818e0cde7f Fixed many errors in background processing synchronization and update.
Fixed couple of compiler warnings.
2018-12-22 10:02:42 +01:00
Enrico Turri
73a2136ba4 Fixed toolbar update when switching between 3d view/preview using tab or ctrl+5/6 2018-12-21 10:10:49 +01:00
Enrico Turri
ef8c6bcd52 Improved rendering of transparent volumes 2018-12-21 09:56:11 +01:00
Enrico Turri
3d29709cef Visual hints in the 3D scene when sidebar matrix fields have focus -> legacy render case 2018-12-20 11:42:26 +01:00
Enrico Turri
b50193abc7 Visual hints in the 3D scene when sidebar matrix fields have focus -> Completed VBOs case 2018-12-20 11:14:53 +01:00
Enrico Turri
b16f27b238 Visual hints in the 3D scene when sidebar matrix fields have focus (wip [position+scale+size] and disabled) 2018-12-19 14:44:37 +01:00
Enrico Turri
62fbfd8bd1 Removed out of bed detection for sla pad 2018-12-10 13:57:43 +01:00
YuSanka
eae21f34f7 GLVolume : set color from the model volume to correct part rendering on the Scene 2018-12-05 12:11:03 +01:00
bubnikv
e99fa7d104 Implemented naming of the SLA export file based on the output file name
template.

Reworked naming of the plater exports to not use the output file name
template, but to derive the file name from the first printable object's name.

Fixed error handling: Reimpemented the Perl's "eval" blocks
as try / catch blocks.
2018-12-03 13:14:28 +01:00
Enrico Turri
4ddce6a2e5 SLA slices preview - wip 3 2018-11-27 14:50:57 +01:00
bubnikv
91ac484405 Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
bubnikv
b125a598e9 Further removal of the 3DScene / GLCanvas3DManager scaffold. 2018-11-23 17:15:17 +01:00
Enrico Turri
a3699f96d1 Partial cleanup of obsolete methods 2018-11-23 15:05:43 +01:00
bubnikv
0d2a1e6eef Removed legacy GUI Perl bindings,
replaced Print & SLAPrint pointers with BackgroundProcessing pointer
at the GLCanvas3D level, so that the Print & SLAPrint access will be
synchronized with the current printer technology.
2018-11-22 15:29:59 +01:00
Enrico Turri
9c19f322ac Added member m_sla_shift_z to GLVolume 2018-11-22 13:33:20 +01:00
bubnikv
a625d03cb2 Fixed "setting an extruder does not change object's color" 2018-11-22 13:20:13 +01:00
Enrico Turri
5d33d75d38 Different colors for SLA support and pad geometry 2018-11-22 11:01:57 +01:00
bubnikv
80ee4feda4 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-21 17:35:58 +01:00
bubnikv
30f61bd66e WIP: Synchronization of SLA background processing. 2018-11-21 17:35:35 +01:00
Enrico Turri
a5f35f3fd3 Added menu Edit -> Select all 2018-11-21 15:28:35 +01:00
bubnikv
22aef36a54 Added force_full_scene_refresh parameter to the 3DScene::refresh()
function to force a refresh of all GLVolumes. Currently this hack
is used by the Platter::arrange() function only, and ideally
we should replace this parameter with a smarter 3DScene::refresh()
function, which would check for the transformation matrices as well.
2018-11-21 13:52:46 +01:00
Enrico Turri
39665fad9c Ensure object on bed after deletion of subpart 2018-11-21 12:27:20 +01:00
tamasmeszaros
91ff36dab9 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 12:56:32 +01:00
Vojtech Kral
6f3e386e85 Cutting 2018-11-18 21:20:47 +01:00
bubnikv
1d82cca0d2 WIP: Support of SLA suport & pad GLVolumes, couple of fixes. 2018-11-17 17:23:56 +01:00
bubnikv
63ee3dc63c Partial update of 3D scene (GLVolumes derived from Model and from
the SLAPrintObject).
Updated PrintBase to generate a unique timestamp at each step invalidation.
2018-11-16 18:28:50 +01:00
Enrico Turri
2ab876f986 Removed a bunch of obsolete methods 2018-11-14 15:57:11 +01:00
Enrico Turri
c23537c6c0 Deletion of instances and volumes from 3D scene 2018-11-14 08:53:56 +01:00
bubnikv
357dbc2226 GLVolume: split composite_id to object_id, volume_id and instance_id.
WIP: Added creation of GLVolumes for SLA supports.
2018-11-13 17:45:44 +01:00