Lukas Matena
e04e8c55cf
Improved performance of GLModel::render:
...
The way the OpenGL version was checked was quite inefficient
2022-12-02 14:21:20 +01:00
enricoturri1966
0c9a4305b8
Fixed conflicts
2022-12-02 12:44:10 +01:00
enricoturri1966
210273e12f
Fixed differences after rebase to master
2022-12-02 12:39:49 +01:00
Lukas Matena
456e61c7d3
Measurement: Fixed edge detection on single-triangle planes
2022-12-02 12:35:05 +01:00
enricoturri1966
cc8a6a3fff
Follow-up of 85195ac79f
- Fixed synch of selected features in imgui dialog
2022-12-02 12:35:05 +01:00
enricoturri1966
2f8e2c5e80
Measure gizmo - Fixed missing raycaster when promoting a point as 1st selected feature
2022-12-02 12:35:05 +01:00
enricoturri1966
954cd105e0
Fixed warnings
2022-12-02 12:35:04 +01:00
Lukas Matena
eeea803be5
Measurement: tweaking of the tolerances, ransacing the whole border
2022-12-02 12:35:04 +01:00
enricoturri1966
220104dbe2
Measure gizmo - Fixed sychronization of imgui dialog with current hovering/selection state
2022-12-02 12:35:04 +01:00
enricoturri1966
f081187356
Fixed warning
2022-12-02 12:35:04 +01:00
enricoturri1966
6533eb2a53
Fixed warnings
2022-12-02 12:35:04 +01:00
enricoturri1966
93a3ee5019
Gizmo measure - Show radius of single selected circle, to allow for object scaling
2022-12-02 12:35:04 +01:00
enricoturri1966
b45ae31af3
Gizmo measure - Modified circle and edge with extra point selection
...
Fixed conflicts during rebase to master
2022-12-02 12:34:51 +01:00
enricoturri1966
8ef55ff82e
Tech ENABLE_RAYCAST_PICKING_DEBUG - Extended data shown into debug imgui dialog
2022-12-02 12:26:30 +01:00
Lukas Matena
b27653493a
Measurement: prevent ending up in an infinite loop with broken models
2022-12-02 12:26:30 +01:00
Lukas Matena
d4ad4aff01
Measurement: Fixed and refactored circle detection:
...
- first/last segment of a circular segment was sometimes separated
- circles were sometimes shown where they shouldn't be
2022-12-02 12:26:30 +01:00
enricoturri1966
3bdd548358
Gizmo measure - Undo/Redo related fix
2022-12-02 12:26:30 +01:00
enricoturri1966
2b155d5932
Gizmo measure - Hide SLA supports and pad when opening the gizmo
2022-12-02 12:26:30 +01:00
enricoturri1966
946bbd285a
Fixed warnings
2022-12-02 12:26:30 +01:00
enricoturri1966
dedaa7b49b
Gizmo measure - Fixed color of hovered features when part of the object is outside the printbed
2022-12-02 12:26:30 +01:00
enricoturri1966
786eb4dc53
Follow-up of fdc9c73340
- Alternate implementation of 'When panning/rotating the scene, do not select the hovered feature, if any'
2022-12-02 12:26:30 +01:00
enricoturri1966
36b4a149a4
Gizmo measure - Fixed calculation of angle edge-plane
2022-12-02 12:26:29 +01:00
enricoturri1966
87fb1604d8
Gizmo measure - Fixed incorrect point on feature detection
2022-12-02 12:26:29 +01:00
enricoturri1966
cc0901228b
Gizmo measure - Fixed dimensioning after scaling a part of a multipart object
2022-12-02 12:26:29 +01:00
enricoturri1966
df266798a6
Fixed crash when opening Measure Gizmo after slicing in SLA mode
2022-12-02 12:26:29 +01:00
enricoturri1966
ab5c81a2ef
Gizmo Measure - Fixed point color and hint in dialog when adding a point on a selected feature
2022-12-02 12:26:29 +01:00
enricoturri1966
38d2e0605a
Gizmo Measure - Handling of [ESC] key
...
When two features are selected -> unselected second feature
When one feature is selected -> unselect first feature
When no feature is selected -> close gizmo
2022-12-02 12:26:29 +01:00
enricoturri1966
ef018318bd
Gizmo Measure - Clicking on 1st selected let second selected to be promoted as first selected
2022-12-02 12:26:29 +01:00
enricoturri1966
a03528e55a
Gizmo Measure - Added [Restart selection] button to imgui dialog
2022-12-02 12:26:29 +01:00
enricoturri1966
543950bf4b
Gizmo Measure - Use [Delete] key in place of Shift+Right mouse to restart selection
2022-12-02 12:26:29 +01:00
enricoturri1966
5d6346f275
Gizmo Measure - When CTRL+dragging to pan/rotate the scene, do not select the hovered feature, if any
2022-12-02 12:26:29 +01:00
enricoturri1966
cf2a7608d3
Gizmo measure - Render dimensioning thicker main lines
2022-12-02 12:26:28 +01:00
enricoturri1966
62d683b50c
Removed commented out code
2022-12-02 12:26:28 +01:00
enricoturri1966
1ba8025702
Gizmo measure - Show diameter of selected circles into imgui dialog
2022-12-02 12:26:28 +01:00
enricoturri1966
534d0353eb
Gizmo measure - Draw background for dimensioning labels
2022-12-02 12:26:28 +01:00
enricoturri1966
89bae8606b
Removed debug code
2022-12-02 12:26:28 +01:00
enricoturri1966
305ea0da27
Gizmo measure - Fixed angle for perpendicular edge-plane use case
2022-12-02 12:26:28 +01:00
enricoturri1966
ce46a1d03d
Removed debug code
2022-12-02 12:26:28 +01:00
enricoturri1966
832b0a69e8
Fixed warnings
2022-12-02 12:26:28 +01:00
enricoturri1966
e6b2467f44
Fixed warnings
2022-12-02 12:26:28 +01:00
enricoturri1966
6dd8199edf
Gizmo measure - Fixed orientation of arrows in arc dimensioning
2022-12-02 12:26:27 +01:00
enricoturri1966
075c241906
Tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES set as default
...
Fixed conflicts during rebase to master
2022-12-02 12:26:12 +01:00
Lukas Matena
5382f4077a
Measurement: Partially fixed the common gizmo raycaster for self-intersecting meshes
2022-12-02 12:00:26 +01:00
Lukas Matena
268365b92d
Measurement: refactoring - do not touch common raycaster interface when there is no need
2022-12-02 12:00:26 +01:00
enricoturri1966
4606d8266a
Added missing declaration
2022-12-02 12:00:26 +01:00
enricoturri1966
fc2f0bad6e
Gizmo measure modified to accept single full instance selection, to combine the volumes meshes into a single mesh and pass it to the back end after transform it in world coordinates
...
Changes embedded into tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES
Fixed conflicts during rebase to master
2022-12-02 11:59:47 +01:00
enricoturri1966
33949734e3
Latest techs definition retargeted to 2.6
2022-12-02 09:11:50 +01:00
enricoturri1966
4e00dcd8c8
Merge branch 'et_measure_extras' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_measure_extras
2022-12-02 07:56:22 +01:00
enricoturri1966
9964c47fbd
Follow-up of 85195ac79f
- Fixed synch of selected features in imgui dialog
2022-12-02 07:56:11 +01:00
Lukas Matena
8aa62b88f6
Measurement: Fixed edge detection on single-triangle planes
2022-12-02 07:45:24 +01:00