bubnikv
086f11df98
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
Enrico Turri
7cfcf8fb9a
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-04-01 11:40:08 +02:00
bubnikv
62539bc35b
Fix of No preview of position in variable layer editing UI at retina resolution #2050
2019-04-01 11:08:26 +02:00
Enrico Turri
d87b478d60
Camera refactoring
...
1) All camera related OpenGL calls moved into class
2) The Camera class now stores the view matrix, the projection matrix and the viewport
3) The Camera class now exposes methods to get the camera orientation vectors, the camera position, the view matrix, the projection matrix and the viewport
4) All the code operating on the camera or requiring camera data has been modified to use the new methods
2019-04-01 10:00:10 +02:00
Enrico Turri
af3a32b8a0
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-28 09:30:23 +01:00
Enrico Turri
9b3f1a8942
Small refactoring -> GLGizmosManager gets model from selection and not from canvas
2019-03-28 09:30:01 +01:00
Enrico Turri
a4f404a6a4
Selection enabled only for 3D view and not for g-code preview
2019-03-28 08:44:46 +01:00
Enrico Turri
8459410e3c
Fixed conflicts after merge with master
2019-03-27 14:57:05 +01:00
Lukas Matena
490074a2dd
SLA gizmo now turns off in case someone adds an object/instance (to prevent rendering points in thin air, etc.)
...
Also, a bug appering when adding an object larger than the bed and scaling it down was fixed (sla gizmo did not work correctly in that case)
2019-03-27 14:19:12 +01:00
Enrico Turri
c44b6a30f9
Fixed conflicts after merge with master
2019-03-27 12:51:40 +01:00
Enrico Turri
fee0a6b6b5
void GLCanvas3D::update_gizmos_data() moved into void GLGizmosManager::update_data(GLCanvas3D& canvas)
2019-03-26 15:55:47 +01:00
Enrico Turri
c1d74d2943
Code cleanup
2019-03-26 12:39:40 +01:00
Enrico Turri
eafdcb04ba
Handling of gizmos related mouse events moved into GLGizmosManager::on_mouse()
2019-03-26 12:30:17 +01:00
Enrico Turri
a09197879d
Code cleanup
2019-03-26 09:10:35 +01:00
Enrico Turri
3818bfa19a
1st installment of gizmos refactoring
...
1) GLCanvas3D::Gizmos moved into a standalone class GLGizmosManager
2) GLGizmosManager handles mouse events by calling its on_mouse method (wip)
2019-03-26 09:01:04 +01:00
Lukas Matena
3f7f8f978e
Fix of sla gizmo (it sometimes showed supports for hidden objects)
2019-03-24 13:35:09 +01:00
Enrico Turri
d23824af97
GLCanvas3D::Gizmos as a standalone class (GLGizmosManager)
2019-03-20 13:51:25 +01:00
Lukas Matena
2728e45646
Renamed function mouse_event to gizmo_event
2019-03-20 13:44:34 +01:00
Enrico Turri
df250039df
Tech ENABLE_CANVAS_GUI_REFACTORING set as default
2019-03-20 09:33:30 +01:00
Enrico Turri
b57f6c9fe0
Fixed build on Linux and Mac
2019-03-19 15:33:09 +01:00
Enrico Turri
80c1a8d8e4
GLCanvas3D::Selection as a standalone class
2019-03-19 13:30:21 +01:00
Enrico Turri
334b5a82a6
Tech ENABLE_MOVE_MIN_THRESHOLD set as default
2019-03-19 10:04:19 +01:00
Enrico Turri
42939e76a3
Code cleanup
2019-03-19 09:21:27 +01:00
Enrico Turri
8b85e09062
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-18 12:07:32 +01:00
Lukas Matena
e813a562a1
Removed technology ENABLE_IMGUI
2019-03-18 11:45:15 +01:00
Enrico Turri
5018089351
Toolbar refactoring
...
1) toolbar items define 3 callback functions for setting the visibility, setting the enabling state and defining their action which are set while adding a new item to the toolbar
2) the toolbar takes care to update all its items visibility and enabled states through a new update method to be called by the parent idle event handler
3) the toolbar handles mouse events by calling its on_mouse method
2019-03-14 13:54:05 +01:00
bubnikv
1da97c9415
Merge remote-tracking branch 'remotes/origin/ys_buttons'
2019-03-12 09:01:17 +01:00
Enrico Turri
fc70b73f45
Refactoring - Shared members of GLCanvas3D as references instead of pointers
2019-03-08 12:03:37 +01:00
Enrico Turri
b5217918cf
Code cleanup
2019-03-08 12:03:31 +01:00
Enrico Turri
aa4c44dbea
Use unique camera shared by 3d view and preview (experimental)
2019-03-08 12:03:17 +01:00
Enrico Turri
2a6de99f06
Fixed rotation of multiple volumes selection
2019-03-06 15:22:17 +01:00
Enrico Turri
925378ba90
Added background to legend texture
2019-03-05 13:57:41 +01:00
Enrico Turri
3c7ec5f7c6
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-03-04 08:33:52 +01:00
YuSanka
247b70395b
Merge remote-tracking branch 'origin/master' into ys_buttons
2019-03-01 12:13:33 +01:00
YuSanka
a123099f80
Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831)
2019-03-01 11:00:34 +01:00
bubnikv
d009be7609
Fixed rotation of single instance -> it works now with absolute values.
...
Added Absolute / relative, World / Local, Rigid body / independent
modifier parameter to the object / group rotation.
2019-03-01 10:20:12 +01:00
Enrico Turri
e5a2c0a8c8
ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default
2019-02-28 12:21:36 +01:00
Enrico Turri
0f683a6a1e
1st installment of svg icons for toolbars and gizmos
2019-02-26 09:56:23 +01:00
Lukas Matena
bb3819fd18
SLA support gizmo hotkeys added (A,M,Esc,Enter)
2019-02-25 13:04:05 +01:00
Enrico Turri
03022ce124
Code cleanup
2019-02-22 12:06:56 +01:00
Enrico Turri
a36896e4c9
Fixed conflicts after merge with master
2019-02-22 10:18:15 +01:00
Enrico Turri
aa9994fa35
Gizmos overlay using a single png texture
2019-02-22 10:01:34 +01:00
Enrico Turri
eb0b3aea09
Fixed conflicts after merge with master
2019-02-22 09:11:49 +01:00
Vojtech Kral
051ca410f6
More input handling fixes
2019-02-21 19:00:50 +01:00
Vojtech Kral
bf699462c3
imgui: Attempt to fix Tab key
2019-02-21 13:17:26 +01:00
Enrico Turri
2eb0b6d1b4
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models
2019-02-21 08:20:44 +01:00
Vojtech Kral
2de814d478
Imgui: Implement keyboard input, fix #1797
2019-02-20 16:12:41 +01:00
Enrico Turri
11fc849b1a
Printbed textures generated from svg files
2019-02-20 15:23:23 +01:00
Enrico Turri
e2731416bf
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models
2019-02-20 13:50:54 +01:00
Enrico Turri
cb1ef36ceb
ENABLE_UNIQUE_BED set as default
2019-02-20 13:50:35 +01:00
Enrico Turri
7443868e87
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models
2019-02-20 13:16:39 +01:00
Lukas Matena
2759c87e5b
WarningTexture class in GLCanvas3D modified so it can be used more universally
...
Added a warning to notify that some objects are not rendered with SLA gizmo active
2019-02-20 12:09:45 +01:00
Enrico Turri
75df722fee
Bed and Axes classes moved from GLCanva3d to Plater to have a unique instance of them shared by all views
2019-02-19 15:15:27 +01:00
Lukas Matena
1bb0af1588
SLA gizmo asks about saving changes, right button click removes points
2019-02-19 13:47:28 +01:00
Enrico Turri
d81b957968
Tech ENABLE_REWORKED_BED_SHAPE_CHANGE set as default
2019-02-19 10:28:32 +01:00
Enrico Turri
e861f5a243
Tech ENABLE_PRINT_BED_MODELS set as default
2019-02-19 10:07:37 +01:00
Lukas Matena
ac8f9ab3dc
SLA gizmo improvements
...
- point can be selected
- selection can be deleted, head diameter changed
- dragging of objects is not allowed with the gizmo being on
- added a modal dialog when automatic support generator is triggered
2019-02-11 16:29:03 +01:00
Lukas Matena
0453caf266
SLA gizmo - shift-up and ctrl+a event passing
2019-02-11 08:21:37 +01:00
Lukas Matena
fd4054be7e
First steps on the rectangular selection for the SLA gizmo
2019-02-09 07:19:01 +01:00
Lukas Matena
9fc75d7b34
SLA support points (better backend->frontend synchronization and more)
...
- backend to frontend data synchronization to inform the gizmo that new points have been generated
- fixed the inadvertent cancellation of background processing caused by the SLA gizmo touching frontend data during the process
- inactive instances of the object are hidden when the SLA gizmo is active
- fix of imgui combobox rendering
2019-02-06 15:16:25 +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
5207d31df1
WIP: HiDPI support - 3D scene on Windows / Linux
...
HiDPI support on Windows - enabled in manifest.
2019-02-04 21:41:10 +01:00
Enrico Turri
e43e89d495
Code cleanup
2019-02-04 15:25:22 +01:00
Enrico Turri
5136ffa94b
2nd attempt to fix SPE-807
2019-02-04 12:27:44 +01:00
Enrico Turri
c31a648bf7
1st attempt to fix SPE-807
2019-02-04 10:06:15 +01:00
Lukas Matena
d32d0a7636
Merge branch 'master' into lm_sla_supports_auto2
2019-02-04 08:41:00 +01:00
Lukas Matena
d154e75ad7
Merge branch 'master' into lm_sla_supports_auto2
2019-02-04 08:40:20 +01:00
Enrico Turri
9b9d35d90d
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes
2019-02-04 08:36:28 +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
Lukas Matena
f568f93f08
More SLA support points improvements
...
- unselected objects are hidden when SLA gizmo is active
- support volumes are hidden when editing mode is active
- 3mf support points format versioning
2019-02-01 23:09:02 +01:00
Enrico Turri
e00fb7ba43
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes
2019-02-01 15:14:19 +01:00
Enrico Turri
3e7f76b578
Added debug output to investigate SPE-807
2019-02-01 11:54:18 +01:00
Lukas Matena
21026ec9a8
SLA support points improvements
...
- semi-intelligent algorithm to place support points
- enhanced ImGui dialog with editing/non-editing mode
- support points can have different head diameter (only implemented in GUI so far)
- autogenerated points supporting emerging islands are annotated and the info is kept
2019-02-01 07:13:08 +01:00
Enrico Turri
5fa5d495bb
Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes
2019-01-31 13:32:47 +01:00
Enrico Turri
81c621716b
User mode-aware toolbar items
2019-01-31 13:19:26 +01:00
Enrico Turri
883e09fbcd
Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes
2019-01-30 12:16:49 +01:00
YuSanka
e291172e24
Implemented "Color Print" for preview mode (without re-slicing)
2019-01-29 15:11:29 +01:00
Enrico Turri
6137cc48eb
ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default
2019-01-28 16:06:44 +01:00
Enrico Turri
1550ee0e2b
Merge branch 'objects_centering' of https://github.com/prusa3d/Slic3r into objects_centering
2019-01-28 08:53:46 +01:00
bubnikv
bb0cf221bc
WIP synchronization of Z rotation of the instances
2019-01-28 08:52:22 +01:00
bubnikv
241283d956
Merge remote-tracking branch 'remotes/origin/vk-bugfixes'
2019-01-26 13:10:58 +01:00
Enrico Turri
348aa48121
Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering
2019-01-25 11:50:34 +01:00
Enrico Turri
be1d9c693c
Free camera rotation for sla printer
2019-01-25 11:35:28 +01:00
Enrico Turri
16bd7325c1
Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering
2019-01-25 08:29:15 +01:00
Vojtech Kral
7d30323f46
Mac: Retina OpenGL: Fix imgui windows, right-click menu, misc
2019-01-24 20:03:12 +01:00
Vojtech Kral
3df1ed8f6b
Mac: Retina OpenGL: Fix ImGui font switch, dynamic switching, toolbar fixes
2019-01-24 20:03:12 +01:00
Vojtech Kral
d1c569dd57
Mac: Implement Retina for the 3D scene, fix #97
2019-01-24 20:03:12 +01:00
bubnikv
49487c16e6
Improvements of the triangulation of SLA layer preview.
2019-01-24 19:08:58 +01:00
Enrico Turri
c2c7a3ad8f
Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering
2019-01-23 15:56:46 +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
Enrico Turri
9a5d7a98a6
Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering
2019-01-23 08:26:55 +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
Enrico Turri
f44510c272
Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering
2019-01-22 08:32:05 +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
Enrico Turri
012c681e67
Sidebar visual hints set as default
2019-01-21 12:36:34 +01:00
Enrico Turri
cceff0c519
Unique OpenGL context set as default
2019-01-21 12:20:53 +01:00
Enrico Turri
060fac5e55
Ensure object on bed while scaling set as default
2019-01-21 11:46:06 +01:00
bubnikv
d64b55d27d
WIP Restoration of the layer editing.
2019-01-21 10:06:51 +01:00