Commit Graph

19714 Commits

Author SHA1 Message Date
Lukas Matena
985b16e858 Measuring: Simple visualization 2022-07-26 16:37:51 +02:00
Lukas Matena
5d8aaed18f Measuring: Initial plane detection 2022-07-26 16:37:51 +02:00
Lukas Matena
f0cf420a84 Measuring: separated another gizmo 2022-07-26 16:37:51 +02:00
David Kocik
7831b4bd07 Notifications: hovering eject button will show tooltip even with idle mouse 2022-07-26 14:28:56 +02:00
Lukáš Hejl
77f5973c25 Fix of #8446: Non-planar Voronoi diagram.
This is the follow-up to 63c66f4f18. Detection of non-planar (degenerated) Voronoi diagrams was rewritten to check if all neighboring edges of the Voronoi vertex are CCW ordered.
2022-07-26 13:47:40 +02:00
enricoturri1966
4865ca65e8 Fixes in tech ENABLE_SMOOTH_NORMALS 2022-07-26 11:19:50 +02:00
tamasmeszaros
0681f92130 Fix segfault caused by unchecked mesh precondition
CGALProc::does_bound_a_volume(mesh) can throw if CGAL::is_closed(mesh) is not met

affects #8521
2022-07-25 14:07:01 +02:00
enricoturri1966
f0c1f9ebbd Follow-up of 6664ba3b80 - Fixed part positions after reload from disk called after loading multipart 3mf project 2022-07-25 08:54:24 +02:00
Michael Kirsch
6664ba3b80 fix reload loosing positioning information 2022-07-25 08:21:50 +02:00
Michael Kirsch
a1e37803f7 fix frustum for off-bed origins 2022-07-25 08:21:22 +02:00
André Althaus
559173c2a1 Don't change to color print view when no color change gcodes are set
When changing custom gcodes the view type is always changed to color view
when any custom gcode is set. This fix only changes to color view
when the custom gcodes contain at least one color change.

Fixes #8413 and #5837
2022-07-25 08:21:04 +02:00
YuSanka
e0031018a7 Manually merged PR #8544 - Add 2.5.0 translate for zh_CN language 2022-07-22 16:53:11 +02:00
Lukáš Hejl
dd6096bf0b Fix of #8457 and #8461: Made pressure equalizer to modify only GCode lines that are inside the block tags _EXTRUDE_SET_SPEED and _EXTRUDE_END.
The previous approach could modify all GCode lines, even custom GCode or tool change GCode, which was unintentional.
2022-07-22 11:32:37 +02:00
Lukáš Hejl
decfa80bfd Test case for issue when Arachne produce closed ExtrusionLine that have different the first and the last point. 2022-07-22 08:33:27 +02:00
Lukáš Hejl
e14da6224a Fixed an issue when an open perimeter containing part of an overhang perimeter was split into two parts and wasn't extruded as continuous extrusion. 2022-07-22 08:33:27 +02:00
Lukáš Hejl
2a865919a0 Prevented gap fill and Arachne from creating tiny gaps in extrusions in specific cases. 2022-07-22 08:33:27 +02:00
enricoturri1966
bb36f0df0c Tech ENABLE_OPENGL_ES - 1st installment 2022-07-21 15:43:11 +02:00
enricoturri1966
8fbc0b8633 SPE-1259 - Fix for sinking objects not placed on top of bed after rotation with Place on face Gizmo 2022-07-21 14:16:09 +02:00
enricoturri1966
5922966eb0 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_raycast_picking_rebase 2022-07-21 10:56:38 +02:00
YuSanka
1150639306 Gallery: Update for recycling symbols 2022-07-21 10:44:09 +02:00
enricoturri1966
ac7c4b342b Added shaders for OpenGL ES 2022-07-21 10:18:18 +02:00
enricoturri1966
182a4e06dc Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_opengl_es_rebase 2022-07-21 10:10:22 +02:00
enricoturri1966
429c2d896c Merge branch 'et_raycast_picking_rebase' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_opengl_es_rebase 2022-07-21 10:09:33 +02:00
enricoturri1966
ca34518bcc Fixed conflicts after merge with master 2022-07-21 08:55:52 +02:00
Lukáš Hejl
63c66f4f18 Fix of #8474 and #8514: Voronoi generator sometimes produced a non-planar Voronoi diagram.
We introduced detecting for those degeneration cases. When degenerated Voronoi diagram is detected, then the input polygons are rotated, and the Voronoi diagram is recomputed. Usually, rotation of input data solves issues like this.
2022-07-21 08:47:48 +02:00
enricoturri1966
a3aab02f56 Fixed warning 2022-07-21 08:47:29 +02:00
enricoturri1966
520261925f Fixed conflicts after merge with master 2022-07-21 08:14:44 +02:00
enricoturri1966
42dbaf92bf SPE-1251 - Fixed crash in Gizmo Rotate when rotating an object when the camera is using orthographic projection 2022-07-20 13:45:21 +02:00
enricoturri1966
91b3c3dd1d Tech ENABLE_GL_CORE_PROFILE - Added call to method PlatformDefaults() to the wxGLContextAttrs used to generate wxWidgets OpenGL context 2022-07-20 11:46:05 +02:00
Vojtech Bubnik
23099c83dc WIP Tree Supports: Extracted Cura configs into a structure,
replaced Cura AABB with BoundingBox,
headers should be compilable now.
2022-07-20 11:21:53 +02:00
enricoturri1966
4353c626fc Revert of 324594db5e 2022-07-20 09:45:32 +02:00
enricoturri1966
324594db5e Added some errors to test new command line option '--opengl-debug' 2022-07-20 08:55:39 +02:00
enricoturri1966
90c49f4c1a Added filtering of key auto repeat for SHIFT and CTRL keys in GLCanvas3D 2022-07-20 08:15:38 +02:00
Vojtech Bubnik
6e1e4fcca2 WIP Tree Supports: Ported parallelization from cura homebrew parallel_for
to thread building blocks tbb::parallel_for.
2022-07-19 17:14:07 +02:00
enricoturri1966
9690919028 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 13:12:13 +02:00
enricoturri1966
de635f9088 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 12:57:26 +02:00
enricoturri1966
6e6ab640f4 Fixed missing update of object position when dragging it on the plate while Place on Face gizmo is open 2022-07-19 12:13:07 +02:00
Vojtech Bubnik
f6ae93366a WIP TreeSupports: Replaced cura namespace with Slic3r,
removed Cura includes.
2022-07-19 11:10:17 +02:00
Vojtech Bubnik
4c41311df3 WIP Tree Supports: Updated copyright 2022-07-19 10:59:10 +02:00
Vojtech Bubnik
b74fde237d WIP Porting tree supports by Thomas Rahm, losely based on Cura tree supports.
https://github.com/ThomasRahm/CuraEngine
2022-07-19 10:55:43 +02:00
Lukas Matena
a965956cba Removed extra member qualification in declaration (does not build with /permissive-) 2022-07-19 10:53:41 +02:00
enricoturri1966
92cf1d6e0c Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-07-19 10:04:07 +02:00
enricoturri1966
0d5de5fdf2 Tech ENABLE_WORLD_COORDINATE - Removed unneeded parameter from GLGizmoRotate::mouse_position_in_local_plane() declaration 2022-07-19 10:03:46 +02:00
Lukas Matena
1e494e30af SurfaceMesh testing (to be reverted later) 2022-07-18 15:45:08 +02:00
Lukas Matena
9a163c356b Added some unit tests (SurfaceMesh) 2022-07-18 15:45:08 +02:00
Lukas Matena
46da54ffaf First implementation of SurfaceMesh 2022-07-18 15:45:08 +02:00
enricoturri1966
76562d1e75 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-18 15:38:56 +02:00
enricoturri1966
8db552ce26 Tech ENABLE_GL_CORE_PROFILE - Command line option '--opengl-core=M.m' renamed as '--opengl-version=M.m'
use case 1 - the option is not added to the command line - PrusaSlicer defaults to the highest available core profile OpenGL version

use case 2 - the option specify an OpenGL version which supports core profile - PrusaSlicer select the required OpenGL version, if available

use case 3 - the option specify an OpenGL version which does not support core profile - PrusaSlicer defaults to the highest available compatibility profile OpenGL version

use case 4 - the option contains invalid OpenGL version - PrusaSlicer defaults to the highest available core profile OpenGL version
2022-07-18 15:33:24 +02:00
David Kocik
24fe505f00 Merge branch 'dk_resolve_search' 2022-07-17 19:24:51 +02:00
David Kocik
5c7cb3b55a Delete unused variable 2022-07-17 19:24:29 +02:00