Commit Graph

45 Commits

Author SHA1 Message Date
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
Enrico Turri
51936e4d1f Only one instance enabled when selecting sub parts 2018-11-07 12:11:34 +01:00
Enrico Turri
8bd37b6d28 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
Enrico Turri
d6db104017 GLCanvas3D::update_gizmos_data() set as private 2018-11-01 15:08:39 +01:00
Enrico Turri
fff76c6aae New selection set as default 2018-11-01 10:06:55 +01:00
Enrico Turri
108110940c Mirror component of transformations set as default 2018-11-01 08:46:44 +01:00
Enrico Turri
e348d471e5 Added Geometry::Transformation class. Use it into ModelInstance, ModelVolume and GLVolume 2018-10-31 14:56:51 +01:00
Enrico Turri
1d2b29bc5c Mirror transform components in ModelInstance and GLvolume - WIP and disabled 2018-10-18 15:50:51 +02:00
Enrico Turri
069be62c6f ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
Enrico Turri
167d63c98b Added helper functions to generate 3d transforms 2018-10-12 10:09:16 +02:00
Enrico Turri
63c0ab74ee Simplified OpenGL calls 2018-10-11 10:52:50 +02:00
Enrico Turri
8d91b99cc0 added method: static GUI::GLCanvas3D* _3DScene::get_canvas(wxGLCanvas* canvas) 2018-10-11 10:24:19 +02:00
Enrico Turri
691ef4bb1b New selection -> rotation wip 2018-10-09 15:56:34 +02:00
Enrico Turri
799806ba64 New selection -> removed obsolete parameters from GLVolumeCollection::load_object() 2018-10-08 16:05:55 +02:00
Enrico Turri
1d4d84e432 New selection -> removed obsolete methods\n+\nFixed a few compile warnings 2018-10-08 15:17:36 +02:00
Enrico Turri
671c2a877d 1st installment of new selections (disabled) 2018-10-08 14:02:12 +02:00
Vojtech Kral
c9e6f89379 Replace PerlCallbacks with events in GLCanvas3d et al. 2018-10-03 11:51:47 +02:00
Enrico Turri
c0faf9fc6e Fixed call to reset_legend_texture() made on hidden canvas 2018-10-02 14:12:23 +02:00
bubnikv
3cc0b4abd4 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-25 15:33:51 +02:00
bubnikv
fd0047f081 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-20 16:48:40 +02:00
bubnikv
1260b8deb3 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00