157 Commits

Author SHA1 Message Date
enricoturri1966
b7740743b8 Gizmo measure fixed to work with mirrored objects 2022-12-06 14:07:51 +01:00
Lukas Matena
a37f09edaa Measurement: optimize feature extraction:
- do not call ransac when not needed
- decrease number of ransac iterations
- precalculate inverse of transformation matrix
- pass the min error from ransac algorithm, do not calculate it again
2022-12-06 09:57:24 +01:00
Lukas Matena
bed64cb7c7 Measurement: optimize plane highlighting 2022-12-06 09:57:24 +01:00
enricoturri1966
7b569c4eb7 Gizmo measure - Do not show distance strict if distance infinite is already shown 2022-12-05 13:52:49 +01:00
enricoturri1966
210273e12f Fixed differences after rebase to master 2022-12-02 12:39:49 +01:00
enricoturri1966
cc8a6a3fff Follow-up of 85195ac79fb2b7016b05ffff5eb33a483a4d06c2 - 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
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
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 fdc9c73340060cea7d8335e1211836681e18cae0 - 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
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
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
268365b92d Measurement: refactoring - do not touch common raycaster interface when there is no need 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
7c63e94515 Gizmo measure - Render hovered plane while in point selection mode 2022-11-15 12:36:38 +01:00
enricoturri1966
d9be85fa01 Gizmo measure - Swap of CTRL and SHIFT keys behavior + CTRL used to pan/rotate the scene as in other gizmos 2022-11-11 12:38:37 +01:00
enricoturri1966
67b4dd9b2a Gizmo measure - Fixed feature color while point selection mode is active 2022-11-10 15:10:16 +01:00
enricoturri1966
a117a13b91 Gizmo measure - Modified states:
Pressing CTRL activates 'point selection'

Pressing CTRL+SHIFT while hovering a circle or an edge with extra point activates 'center selection'
2022-11-10 13:34:47 +01:00
enricoturri1966
2ce76e27dd Measure Gizmo - Fixed volume's color blinking when pressing SHIFT key 2022-11-08 13:08:30 +01:00
enricoturri1966
41c6da913d Measure Gizmo - Release m_measuring content when leaving the gizmo 2022-11-08 12:16:58 +01:00
enricoturri1966
38ecef036a Measure Gizmo - Fixed unwanted volume displacement when click and dragging outside of an highlighted feature 2022-11-08 11:13:48 +01:00
enricoturri1966
236f97aded Gizmo Measure - Fixed loss of selection when panning the view 2022-11-07 14:15:36 +01:00
enricoturri1966
a0a0b0d253 Measuring - Keep showing dimensioning after scaling 2022-11-07 09:58:25 +01:00
enricoturri1966
2eb363bc64 Measuring: modified rendering order of dimensioning items 2022-11-03 15:03:10 +01:00
enricoturri1966
4f6217a54c Fixed typo introduced with 05e82b1fc569f6fe02d29784a87aa7611164d349 2022-11-03 14:14:35 +01:00
enricoturri1966
05e82b1fc5 Measuring: validation for zero distance moved from backend to frontend 2022-11-03 13:20:35 +01:00
enricoturri1966
da5a9277fa Tech ENABLE_MEASURE_GIZMO set as default 2022-11-02 08:50:12 +01:00
enricoturri1966
377ff4a519 Measuring - Gizmo measure - Commented out hovered feature section from imgui dialog 2022-10-25 14:50:54 +02:00