Commit Graph

49 Commits

Author SHA1 Message Date
YuSanka
0da12d08fd Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
YuSanka
8c62f0ee51 Application Scaling for MSW:
+ Experiments with toolBars scaling
+ Rescaled warning and printing legends
2019-04-16 12:13:45 +02:00
YuSanka
70e794f17d Application Scaling for MSW: Added rescale function for DoubleSlider (from Preview), ObjectList, ManipulationPanel and SettingsPanel
+ Set wider default size for Preset Comboboxes from Tabs (#2023)
2019-04-16 10:05:45 +02:00
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
7c935b02df We are getting mysterious crashes on Linux in gtk due to OpenGL context activation GH #1874 #1955.
So we are applying a workaround here, just on linux.
2019-03-21 11:44:39 +01:00
Enrico Turri
e65dbcabb5 Tech ENABLE_CANVAS_GUI_REFACTORING set as default 2019-03-20 09:33:30 +01:00
Enrico Turri
7775244bb9 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-19 10:48:51 +01:00
Enrico Turri
59de8637f7 Alternate fix of #1976 2019-03-19 10:48:20 +01:00
Enrico Turri
1c8e93e480 Code cleanup 2019-03-19 09:21:27 +01:00
Enrico Turri
fda6a2565e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-19 08:25:50 +01:00
Enrico Turri
9c21459c7d Fix of #1976 2019-03-18 16:00:44 +01:00
Enrico Turri
15c0782608 Follow-up of a5b202aa1d (fixed cleanup of toolpaths in preview after scene update) 2019-03-18 14:07:55 +01:00
Enrico Turri
3f5299f349 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-18 12:07:32 +01:00
Lukas Matena
0f9dbebb33 Removed technology ENABLE_IMGUI 2019-03-18 11:45:15 +01:00
Enrico Turri
8841d4260e 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
Enrico Turri
90cda32365 Removed unused members from View3D and unused parameters from Preview::Init() 2019-03-13 14:35:09 +01:00
Enrico Turri
f760dfed36 Refactoring - Shared members of GLCanvas3D as references instead of pointers 2019-03-08 12:03:37 +01:00
Enrico Turri
444002e156 Code cleanup 2019-03-08 12:03:31 +01:00
Enrico Turri
55342be4a1 Use unique camera shared by 3d view and preview (experimental) 2019-03-08 12:03:17 +01:00
Enrico Turri
d3350fe0ce Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 08:33:52 +01:00
Enrico Turri
8adb611bd9 Code cleanup 2019-03-01 10:46:28 +01:00
Enrico Turri
00f9dd6de5 Do not regenerate existing gcode preview toolpaths when switching to Preview 2019-03-01 10:42:46 +01:00
Enrico Turri
e2f265128e ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default 2019-02-28 12:21:36 +01:00
Enrico Turri
bea4d1313b ENABLE_UNIQUE_BED set as default 2019-02-20 13:50:35 +01:00
Enrico Turri
727dc40cee 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
Enrico Turri
0fd82f7fa0 User mode-aware toolbar items 2019-01-31 13:19:26 +01:00
Vojtech Kral
7bd509fc6d Mac: Retina OpenGL: Fix ImGui font switch, dynamic switching, toolbar fixes 2019-01-24 20:03:12 +01:00
Enrico Turri
4011138999 Removal of wxNotebook from plater set as default 2019-01-03 12:59:06 +01:00
Enrico Turri
15dcc9972d Background texture for toolbars set as default 2019-01-02 16:26:22 +01:00
bubnikv
c6b70b7068 Improvements of assigning the layer span to the layer slider
on slice update.
2018-12-20 10:55:50 +01:00
bubnikv
eb89a67a60 Fix of SPE-691 Slicer crash after extruder change
Added synchronization of GCodePreviewData between the front end / back end
(GCodePreview data is only used if PrintStep psGCodeExport is finished).
Added reset of GCodePreviewData on Print::apply() to conserve RAM.
2018-12-19 14:47:16 +01:00
Enrico Turri
b2b84a85a3 Added background texture to toolbars 2018-12-17 10:55:14 +01:00
bubnikv
87759588b1 include "libslic3r" from slic3r project directly, not as "../../libslicer"
(rely on -Ilibslic3r set correctly) for the slic3r project.
2018-12-06 12:52:28 +01:00
Enrico Turri
8ce353056d Removal of tabs from plater -> added buttons to scene to switch between views 2018-12-06 10:38:19 +01:00
Enrico Turri
83cc96a520 Removal of tabs from plater -> fixed no-imgui case 2018-12-04 15:17:24 +01:00
Enrico Turri
66524bbe2b 1st installment of removal of tabs from plater 2018-12-04 13:55:25 +01:00
Enrico Turri
fdd57dd892 SLA slices preview - wip 4 2018-11-27 15:36:31 +01:00
Enrico Turri
4ddce6a2e5 SLA slices preview - wip 3 2018-11-27 14:50:57 +01:00
Enrico Turri
3bcc65666d SLA slices preview - wip 2 2018-11-26 16:17:59 +01:00
Enrico Turri
f394874341 SLA slices preview - wip 2018-11-26 15:16:35 +01:00
bubnikv
933a2475a1 Refactored to get direct access to GLCanvas3D in Plater and Preview.
WIP: SLA update delayed until mouse is released.
2018-11-23 12:47:32 +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
Lukas Matena
84c1e59e44 Manipulation with colorprint ticks now calls Plater::schedule_background_process() 2018-11-12 15:41:04 +01:00
YuSanka
c9fb0efb31 Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-05 23:39:51 +02:00
YuSanka
ace7e465f0 Completed split of the GUI_ObjectParts 2018-10-05 23:29:15 +02:00
Enrico Turri
1254c85e4b Use an unique opengl context 2018-10-04 10:41:11 +02:00
Enrico Turri
6e6fdb13a2 on_viewport_changed event handler 2018-10-03 14:25:35 +02:00
Vojtech Kral
c9e6f89379 Replace PerlCallbacks with events in GLCanvas3d et al. 2018-10-03 11:51:47 +02:00
bubnikv
c581a07f0f Moved the newly added GUI_Preview files. 2018-09-19 11:34:26 +02:00