Commit Graph

5280 Commits

Author SHA1 Message Date
7817818219 GCodeViewer -> Extrusion toolpaths colored by color print (wip) + visualization of tool changes, color changes, pause prints, custom gcodes + refactoring 2020-04-22 16:29:07 +02:00
530dd5a899 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-21 15:56:35 +02:00
f890470c58 GCodeViewer -> Extrusion toolpaths colored by tool 2020-04-21 15:55:26 +02:00
4119218e16 GCodeViewer -> Refactoring 2020-04-21 12:51:58 +02:00
dd4876ba58 Removed "Support materials" item from "Add Settings" context menu for the Layer ranges
Related to #3060 and #4100
2020-04-21 12:42:52 +02:00
1799831496 GCodeViewer -> Extrusion toolpaths colored by volumetric rate 2020-04-21 11:38:42 +02:00
2543ba430a GCodeViewer -> Extrusion toolpaths colored by fan speed 2020-04-21 09:06:43 +02:00
2a19d4a856 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-20 16:05:20 +02:00
6a63180d25 GCodeViewer -> Extrusion toolpaths colored by feedrate and ranges calculations dependent on travel paths visibility 2020-04-20 16:04:59 +02:00
faef3acc1e GCodeViewer -> Use rgb instead of rgba colors 2020-04-20 13:44:14 +02:00
d2a3cda507 GCodeViewer -> Extrusion toolpaths colored by width 2020-04-20 13:24:25 +02:00
7661a408ca GCodeViewer -> Extrusion toolpaths colored by height 2020-04-20 10:52:16 +02:00
3c968b9535 Fixed a crash in the FDM supports gizmo when the wipe tower was shown
The crash happened during showing/hiding of volumes, which historically assumed to always run in SLA mode and so did not expect to encounter the wipe tower.
2020-04-20 09:17:48 +02:00
5016907bc0 ConfigWizard: fixed first column name on SLA Material page 2020-04-20 08:09:19 +02:00
154a12b818 Tech ENABLE_GCODE_VIEWER -> removed legend texture from GLCanvas3D 2020-04-18 11:49:20 +02:00
94c2331c72 GCodeViewer -> Basic legend using imgui 2020-04-18 10:41:37 +02:00
7e4e89238f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-17 16:48:56 +02:00
7fe35fd04f Fixup of previous commit 2020-04-17 14:17:11 +02:00
93641829f9 GCodeViewer -> Added bounding box to fix camera frustum tighting 2020-04-17 13:28:25 +02:00
cbe2c3955e Fixed a failing assertion in FDM supports gizmo
It was a result of attempting to render an empty GLIndexedVertexArray
2020-04-17 11:11:12 +02:00
12e3fadb5e GCodeViewer -> Toggle visibility of extrusions roles 2020-04-17 10:43:29 +02:00
f6e79b75b2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-17 08:18:20 +02:00
85a2532e18 GCodeViewer -> Selection of extrusions view type 2020-04-16 15:59:36 +02:00
64efd36210 GCodeViewer -> extrusion paths colored by extrusion role 2020-04-16 15:09:04 +02:00
80779cd719 Localization: Fix of #4035
+ Added context for "Advanced" ("Mode")
+ Updated POT
2020-04-16 11:36:41 +02:00
a452acf605 GCodeViewer -> Basic indexed rendering 2020-04-15 16:29:11 +02:00
006ec338de GCodeViewer -> Toggle visibility of shells 2020-04-15 14:31:39 +02:00
a73b7180e2 GCodeViewer -> Toggle visibility of travel paths, retractions and uretractions 2020-04-14 16:40:08 +02:00
5bd1d4e035 Added class GCodeViewer -> basic render of gcode toolpaths using dedicated shaders 2020-04-14 10:02:08 +02:00
304da0ae6f FDM supports gizmo cursor size now accounts for (uniform) scaling of the mesh
Added tooltips on the sliders
2020-04-09 18:36:57 +02:00
135a3bc01b FDM supports gizmo now uses VBOs instead of immediate mode 2020-04-09 15:56:43 +02:00
84831f331e Fixed a crash when switching to Preview 2020-04-08 17:22:30 +02:00
b609ab4f8d Alt+mouse wheel adjusts cursor size in FDM supports gizmo 2020-04-08 15:21:41 +02:00
7f5dd56772 FDM supports gizmo - use right mouse to place support blockers 2020-04-08 14:59:53 +02:00
a484e5adff FDM supports gizmo now ignored modifiers and support enforcer/blockers 2020-04-08 12:58:48 +02:00
dc97f71c8d Clipping plane can now handle multiple-part objects 2020-04-08 11:52:22 +02:00
3e136a821a Improved the FDM supports gizmo dialog
Removed unused code
Fixed a clipping-plane related crash
Fixed a crash in hollowing gizmo when no hollowed mesh was provided
Forbid opening the gizmo when a part of an object is selected
2020-04-08 09:37:49 +02:00
96e3f3f276 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-08 08:10:03 +02:00
3695c30494 Fixed obvious merge conflicts
FDM supports gizmo uses the new common data infrastructure
2020-04-07 19:44:29 +02:00
c39bcd8afe Merge branch 'lm_gizmos' into lm_fdm_supports_gizmo 2020-04-07 17:16:48 +02:00
5994d8a92e Removed obsolete code
Got rid of dummy header GLGizmos.hpp
2020-04-07 16:47:39 +02:00
81cb23f357 Fixed crash related to ClippingPlane and incorrect handling of sla z shift in hollowing gizmo 2020-04-07 16:47:39 +02:00
70dc1721a1 SLA supports gizmo is now enabled and uses the new infrastructure 2020-04-07 16:47:39 +02:00
d3fcf2335d SupportsClipper implementation 2020-04-07 16:47:39 +02:00
207778f347 InstancesHider allows to show/hide supports on demand 2020-04-07 16:47:39 +02:00
7f6096784c ObjectClipper implementation, hollowing gizmo reenabled
ObjectClipper tracks active mesh (incl. possible hollowing), remembers clipping plane position and can render the cut on demand
Hollowing gizmo uses the new infrastructure
2020-04-07 16:45:16 +02:00
04899d536b Raycaster can now handle multiple volumes
This is necessary for future FDM supports gizmo. SLA objects only have one volume, so it wasn't needed until now.
2020-04-07 16:42:59 +02:00
9e5d680d6c Raycaster wrapper
The raycaster manages a MeshRaycaster object that the gizmo can ask to perform raycasts
If the hollowed mesh tracker is enabled and the hollowed mesh is newly calculated/invalidated, the raycaster automatically updates.
2020-04-07 16:40:59 +02:00
4b6e1da6b8 Hollowed mesh tracker implementation
The class tracks state of the backend calculation and if there is a hollowed/drilled mesh, it can provide a pointer to it
2020-04-07 16:40:10 +02:00
4c06da2b78 Dependencies check in debug mode
Some common resources can depend on each other - this checks that the requirements are consistent
2020-04-07 16:39:18 +02:00