Commit Graph

20247 Commits

Author SHA1 Message Date
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
Filip Sykala - NTB T15p
fbb159d595 Fix for selection multiple sla support points with shift 2022-11-08 16:41:49 +01:00
enricoturri1966
2ce76e27dd Measure Gizmo - Fixed volume's color blinking when pressing SHIFT key 2022-11-08 13:08:30 +01:00
Lukas Matena
a09c269584 Measurement: make the edge endpoint detection threshold smaller for short edges 2022-11-08 12:31:26 +01:00
enricoturri1966
41c6da913d Measure Gizmo - Release m_measuring content when leaving the gizmo 2022-11-08 12:16:58 +01:00
David Kocik
46e84dfd35 Read from hint database file in binary style 2022-11-08 12:02:46 +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
8681770eaa Tech ENABLE_NEW_CAMERA_MOVEMENTS set as default 2022-11-08 09:05:57 +01:00
enricoturri1966
083df84009 Removed duplicated code into SceneRaycaster 2022-11-08 08:22:16 +01:00
enricoturri1966
5df2713010 Measuring - Fixed transformation of distance_xyz 2022-11-07 14:46:21 +01:00
enricoturri1966
236f97aded Gizmo Measure - Fixed loss of selection when panning the view 2022-11-07 14:15:36 +01:00
YuSanka
380c746871 Linux specific issue: Prevent ObjectList's events, when updating the volumes in object.
On Linux DeleteVolumeChildren() called the update selection event, what caused the unexpected one by one selection of all volumes in object.
2022-11-07 13:47:34 +01:00
enricoturri1966
8abb8a6546 #8252 - GCodeViewer - Fixed crash when importing invalid gcode 2022-11-07 12:52:10 +01:00
Lukáš Hejl
411535ecdf Fixed undefined behavior (dereferencing std::unique_ptr pointing to nullptr) in the G-Code processing pipeline. 2022-11-07 10:09:49 +01:00
enricoturri1966
a0a0b0d253 Measuring - Keep showing dimensioning after scaling 2022-11-07 09:58:25 +01:00
Lukas Matena
34391a14a2 Merge branch 'lm_measurement_fixes' 2022-11-04 11:52:55 +01:00
Lukas Matena
0c88b5712a Measurement: Circles filtering (part 2) 2022-11-04 11:52:44 +01:00
Lukas Matena
d07537c1f0 Measurement: Merge adjacent edges 2022-11-04 11:52:44 +01:00
Lukas Matena
4b9630c23b Measurement: Circles filtering (part 1) 2022-11-04 11:52:44 +01:00
YuSanka
76064fc2ba Fix for #9100 - Search feature in the settings is broken - every time moves the cursor at the end of the text 2022-11-03 15:24:48 +01:00
enricoturri1966
2eb363bc64 Measuring: modified rendering order of dimensioning items 2022-11-03 15:03:10 +01:00
enricoturri1966
7650be770c Measuring: tweak to calculation of edge-edge distance 2022-11-03 14:24:28 +01:00
enricoturri1966
4f6217a54c Fixed typo introduced with 05e82b1fc5 2022-11-03 14:14:35 +01:00
enricoturri1966
a4e4a71617 Measuring: disabled rectangle selection when the Measure Gizmo is active 2022-11-03 13:37:38 +01:00
enricoturri1966
05e82b1fc5 Measuring: validation for zero distance moved from backend to frontend 2022-11-03 13:20:35 +01:00
Lukas Matena
dda0b50b5c Fixed a crash in measuring backend when handling broken models 2022-11-03 12:14:27 +01:00