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
enricoturri1966
048fb10c31
Measure gizmo - Fixed missing raycaster when promoting a point as 1st selected feature
2022-12-01 14:56:33 +01:00
enricoturri1966
e0ba6c69f4
Fixed warnings
2022-12-01 13:34:29 +01:00
Lukas Matena
1974a56fab
Measurement: tweaking of the tolerances, ransacing the whole border
2022-12-01 13:32:59 +01:00
enricoturri1966
85195ac79f
Measure gizmo - Fixed sychronization of imgui dialog with current hovering/selection state
2022-12-01 12:47:06 +01:00
enricoturri1966
681216447f
Fixed warning
2022-11-30 13:07:49 +01:00
enricoturri1966
e6cbf3a215
Fixed warnings
2022-11-30 13:04:48 +01:00
enricoturri1966
b3db407327
Gizmo measure - Show radius of single selected circle, to allow for object scaling
2022-11-30 12:51:37 +01:00
enricoturri1966
2a82f1d396
Gizmo measure - Modified circle and edge with extra point selection
2022-11-30 11:58:02 +01:00
enricoturri1966
5a3f36da01
Tech ENABLE_RAYCAST_PICKING_DEBUG - Extended data shown into debug imgui dialog
2022-11-29 11:13:09 +01:00
Lukas Matena
1357914301
Measurement: prevent ending up in an infinite loop with broken models
2022-11-25 13:45:23 +01:00
Lukas Matena
9952003f61
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-11-25 10:57:18 +01:00
enricoturri1966
3c1ec473a7
Gizmo measure - Undo/Redo related fix
2022-11-23 12:37:54 +01:00
enricoturri1966
cc13e8a44f
Gizmo measure - Hide SLA supports and pad when opening the gizmo
2022-11-23 12:03:36 +01:00
enricoturri1966
2a944d4cde
Fixed warnings
2022-11-23 09:10:56 +01:00
enricoturri1966
d437d1bebf
Gizmo measure - Fixed color of hovered features when part of the object is outside the printbed
2022-11-23 08:24:08 +01:00
enricoturri1966
456837d541
Follow-up of fdc9c73340
- Alternate implementation of 'When panning/rotating the scene, do not select the hovered feature, if any'
2022-11-22 14:40:35 +01:00
enricoturri1966
d1146ae67a
Gizmo measure - Fixed calculation of angle edge-plane
2022-11-22 13:13:25 +01:00
enricoturri1966
9bdaf0bae2
Gizmo measure - Fixed incorrect point on feature detection
2022-11-22 12:36:51 +01:00
enricoturri1966
b75e403d14
Gizmo measure - Fixed dimensioning after scaling a part of a multipart object
2022-11-22 08:34:12 +01:00
enricoturri1966
42e78720f9
Fixed crash when opening Measure Gizmo after slicing in SLA mode
2022-11-21 14:44:31 +01:00
enricoturri1966
e6ea462ae6
Gizmo Measure - Fixed point color and hint in dialog when adding a point on a selected feature
2022-11-21 12:01:22 +01:00
enricoturri1966
621a43c3a2
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-11-21 11:20:14 +01:00
enricoturri1966
f0e8a22504
Gizmo Measure - Clicking on 1st selected let second selected to be promoted as first selected
2022-11-21 10:26:53 +01:00
enricoturri1966
5cbe5c9d73
Gizmo Measure - Added [Restart selection] button to imgui dialog
2022-11-21 09:46:30 +01:00
enricoturri1966
4660527dda
Gizmo Measure - Use [Delete] key in place of Shift+Right mouse to restart selection
2022-11-21 09:13:28 +01:00
enricoturri1966
fdc9c73340
Gizmo Measure - When CTRL+dragging to pan/rotate the scene, do not select the hovered feature, if any
2022-11-21 08:37:58 +01:00
enricoturri1966
3485db4f1b
Gizmo measure - Render dimensioning thicker main lines
2022-11-18 14:53:19 +01:00
enricoturri1966
83c0be6061
Removed commented out code
2022-11-18 11:17:20 +01:00
enricoturri1966
4435484a0a
Gizmo measure - Show diameter of selected circles into imgui dialog
2022-11-18 10:53:42 +01:00
enricoturri1966
3eaa4b0149
Gizmo measure - Draw background for dimensioning labels
2022-11-18 08:42:47 +01:00
enricoturri1966
c57247b044
Removed debug code
2022-11-16 15:44:01 +01:00
enricoturri1966
1f0fbd500a
Gizmo measure - Fixed angle for perpendicular edge-plane use case
2022-11-16 12:04:38 +01:00
enricoturri1966
692573abf1
Removed debug code
2022-11-16 10:04:25 +01:00
enricoturri1966
2c2f10beb7
Fixed warnings
2022-11-16 09:46:50 +01:00
enricoturri1966
5e60418238
Fixed warnings
2022-11-16 09:42:55 +01:00
enricoturri1966
45e6dbab8f
Gizmo measure - Fixed orientation of arrows in arc dimensioning
2022-11-16 09:38:19 +01:00
enricoturri1966
9ca9fa4752
Fixed conflicts after merge with master
2022-11-16 09:05:22 +01:00
enricoturri1966
c24ce15805
Tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES set as default
2022-11-16 08:53:02 +01:00
Lukas Matena
6dac9f2aca
Measurement: Partially fixed the common gizmo raycaster for self-intersecting meshes
2022-11-15 16:08:27 +01:00
Lukas Matena
c98ba0e651
Measurement: refactoring - do not touch common raycaster interface when there is no need
2022-11-15 16:07:38 +01:00
enricoturri1966
182e5ece2e
Added missing declaration
2022-11-15 12:42:22 +01:00
enricoturri1966
7c63e94515
Gizmo measure - Render hovered plane while in point selection mode
2022-11-15 12:36:38 +01:00
enricoturri1966
3c0e331363
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
2022-11-15 12:17:18 +01:00
PavelMikus
a0243affeb
fix avoidance algorithm, improve curling filament estimation
2022-11-14 11:47:25 +01:00
YuSanka
1ba4227633
Fix for #SPE-1370 - Slicer crash when delete more volumes together
...
Bug was caused by changes in 13e4e85e3d
So, revert related parts of code.
2022-11-11 13:39:15 +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