Commit Graph

20209 Commits

Author SHA1 Message Date
enricoturri1966
9f4f09fbbf Refactoring of GLGizmoMeasure to simplify code 2022-10-12 09:22:34 +02:00
enricoturri1966
ed287215db Measuring: Added Measure gizmo imgui dialog + removed tech ENABLE_MEASURE_GIZMO_DEBUG + locking of features by pressing CTRL key 2022-10-12 09:22:34 +02:00
enricoturri1966
6c0aff0d23 Measuring: Measure gizmo features registered for raycasted picking 2022-10-12 09:22:34 +02:00
enricoturri1966
aeb8dec463 Measuring: code for Measure gizmo embedded into new tech ENABLE_MEASURE_GIZMO
Fixed conflicts while rebasing to master
2022-10-12 09:22:20 +02:00
enricoturri1966
7b43786124 Added tech ENABLE_MEASURE_GIZMO_DEBUG to embed debug code related to GLGizmoMeasure 2022-10-12 09:10:52 +02:00
enricoturri1966
86b390e237 Refactoring into GLGizmoMeasure::on_render() 2022-10-12 09:10:52 +02:00
enricoturri1966
62a28c7baf Measuring: refactoring related to plane models cache 2022-10-12 09:10:52 +02:00
enricoturri1966
c30cc15f41 Measuring: circle feature rendered using a torus 2022-10-12 09:10:52 +02:00
enricoturri1966
74d3227703 Follow-up of a7d1c9b5e9 - Simplified code to generate a smooth cylinder 2022-10-12 09:10:52 +02:00
enricoturri1966
adb3d0101d Measuring: reworked rendering of hovered features 2022-10-12 09:10:52 +02:00
enricoturri1966
6a2e7930cf Measuring: allow to select single parts of a multipart object while Gizmo Measure is active 2022-10-12 09:10:51 +02:00
enricoturri1966
a99871a2ab Removed method set_flattening_data() from GLGizmoMeasure 2022-10-12 09:10:51 +02:00
enricoturri1966
a74c070a5e Set Measure Gizmo to be activable for single volume selections only 2022-10-12 09:10:51 +02:00
enricoturri1966
b821f1a33e New icon for Measure Gizmo 2022-10-12 09:10:51 +02:00
enricoturri1966
964fa581fa Use unified color for hovering in GLGizmoMeasure 2022-10-12 09:10:51 +02:00
enricoturri1966
1942932229 Partial revert of 1e494e30 2022-10-12 09:10:51 +02:00
Lukas Matena
b646fcad95 Measuring: implemented edge endpoint detection 2022-10-12 09:10:51 +02:00
Lukas Matena
b23e28e9e4 Measuring: refactoring 2022-10-12 09:10:51 +02:00
Lukas Matena
387dfb2b79 Measuring: Add detection of polygons and their centers 2022-10-12 09:10:51 +02:00
Lukas Matena
457afca5de Measuring: added getters for circle visualization 2022-10-12 09:10:51 +02:00
Lukas Matena
7d6d33f92c Measuring: further separating frontend and backend 2022-10-12 09:10:50 +02:00
Lukas Matena
9d5e9e8870 Measuring: Separating frontend and backend 2022-10-12 09:10:50 +02:00
Lukas Matena
4c5fa7a857 Measuring: Improved feature detection, added circle center calculation 2022-10-12 09:10:50 +02:00
Lukas Matena
0e372b8eb2 Measuring: Improved visualization 2022-10-12 09:10:50 +02:00
Lukas Matena
70ea995f4a Measuring: First steps on extracting features 2022-10-12 09:10:50 +02:00
Lukas Matena
7ae40e281b Measuring: Simple visualization 2022-10-12 09:10:50 +02:00
Lukas Matena
2df9198552 Measuring: Initial plane detection 2022-10-12 09:10:50 +02:00
Lukas Matena
bd63320a00 Measuring: separated another gizmo 2022-10-12 09:10:50 +02:00
Lukas Matena
8833fb7ab4 SurfaceMesh testing (to be reverted later)
Fixed conflicts while rebasing to master
2022-10-12 09:10:33 +02:00
Lukas Matena
05e2a831f4 Added some unit tests (SurfaceMesh) 2022-10-12 08:40:34 +02:00
Lukas Matena
ac167e29ad First implementation of SurfaceMesh 2022-10-12 08:40:34 +02:00
enricoturri1966
2a7611ebaf Measuring: Gizmo measure - Fixed rendering of selected circle features 2022-10-11 13:38:07 +02:00
enricoturri1966
e3fd2ca484 Fixed warning 2022-10-11 11:41:15 +02:00
enricoturri1966
2972493f5f Measuring: Gizmo measure shows dimensioning for distance circle-circle 2022-10-11 10:47:20 +02:00
Vojtech Bubnik
418734f41b WIP Tree supports with circular crossections: Clipping the remaining
collisions with the object.
2022-10-10 16:58:43 +02:00
enricoturri1966
4fb7bb8dec SPE-1342 - Fixed crash after undo in SLA support point gizmo 2022-10-10 14:41:05 +02:00
Vojtech Bubnik
5cb4b63325 WIP TreeSupports: Experimental code draw_branches() to produce
trees with circular cross section
2022-10-10 14:19:06 +02:00
Vojtech Bubnik
5cba1e8319 Improved Point.hpp to_2d() and to_3d() templates to accept Eigen expressions 2022-10-10 14:15:26 +02:00
Vojtech Bubnik
493ada15a5 WIP TreeSupports: fix of calculatePlaceables() by Thomas Rahm 2022-10-10 14:15:26 +02:00
enricoturri1966
6cee261f39 Follow-up of 8312dc2454 - Fixed rendering of point on locked features when the object is scaled 2022-10-10 10:12:14 +02:00
enricoturri1966
614b1581a6 Measuring - Gizmo measure - Auto-select text when opening imgui modal dialog to edit distance 2022-10-10 09:46:12 +02:00
enricoturri1966
f0925e74f7 Follow-up of 2fb59e66c2 - Removed obsolete assert 2022-10-10 08:29:51 +02:00
YuSanka
85af9b93f1 Cut: Fixes and improvements for object's context menu
* Disable or delete some menu items, which are inappropriate for cut objects
* For cut objects added menu item "Invalidate cut info" to disconnect related cut parts of initial object
* If just one part is kept after cut performance, than don't apply a cut info for this object.

+ CutGizmo: Fixed selection of the mode
   An object has connectors         -> Connectors mode
   An object doesn't has connectors -> CutPlane mode
2022-10-07 16:26:19 +02:00
enricoturri1966
2fb59e66c2 easuring - Gizmo measure - Reworked imgui dialog layout to avoid change in size in dependence of hovered or selected features 2022-10-07 12:42:30 +02:00
YuSanka
74a32e3261 Cut: Bug fixing and Improvements
* CutGizmo: Fixed a label scale
* Fixed deselection of selected connectors, when moving the camera
* Implemented update of the settings for selected connectors
* Connector selection: Ctrl shortcut is changed to Shift to compatibility of the selection/deselection with rectangle selection
2022-10-07 11:14:13 +02:00
enricoturri1966
0fd01f36bd Measuring - Gizmo measure - Handle [Enter] and [Esc] keys input events in imgui modal dialog to edit distance 2022-10-07 10:42:01 +02:00
enricoturri1966
5ebfa73f37 Measuring - Gizmo measure - Disable background fadeout animation when showing imgui modal dialog to edit distance 2022-10-07 09:57:13 +02:00
enricoturri1966
1a0294e892 Measuring - Gizmo measure disabled for scaled volumes 2022-10-07 08:40:23 +02:00
rtyr
0219709d1f
Sync with PrusaSlicer-settings. 2022-10-06 22:03:26 +02:00
rtyr
934d51d26f
Taz Workhorse thumbnail 2022-10-06 22:00:48 +02:00