Commit graph

20272 commits

Author SHA1 Message Date
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
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
YuSanka
252f9302ef Suppress to delete object from 3D-Scene, when ObjectList is in Editing mode 2022-11-10 11:23:31 +01:00
Lukas Matena
b3183cb277 Measurement: Fixed a bug in circles detection (failing assert) 2022-11-09 15:00:59 +01:00
YuSanka
cf417b4a73 Fix for SPE-1366(https://dev.prusa3d.com/browse/SPE-1366) - InGui Search doesn't work after switch to settings tab 2022-11-09 14:27:53 +01:00
Pavel Mikuš
633ce8aa21
Pm jps path finding (#8)
New step - estimation of curling on both the model and the support extrusions.
Improvements in curled filament estimation algortihm
Implementation of Jump Point Search algorithm 
Use of JPS algorithm to avoid curled extrusions during travel moves in Gcode export
2022-11-09 13:33:58 +01:00
Pavel Mikuš
06fbab12fe
Pm overhang extra perimeters (#7)
Implementation of extra perimeters on steep overhangs/flat unsupported parts
Also contains:
Principal components computation over polygon area
New fast bridge direction estimation which minimizes amount of unanchored bridge endpoints
2022-11-09 10:38:36 +01:00