144 Commits

Author SHA1 Message Date
Lukas Matena
582eccd51b Cut: turn off contour disabling for now 2022-09-19 11:19:18 +02:00
Lukas Matena
d7f55253cd Cut: allow enabling/disabling an island 2022-09-19 11:19:18 +02:00
YuSanka
cf144da4fe Cut WIP: Import/Export cut information to/from .3mf file
+ Fixed a crash during change object selection, when CutGizmo is On
+ Fixed Undo/Redo (was accidentally broken with 7912613dc8e11db2ddea8018ce16b26a01756a3b)
2022-08-22 10:09:32 +02:00
YuSanka
70a575198b Cut WIP: Fix for drawing of the cut line 2022-08-17 15:50:49 +02:00
YuSanka
79e9df4b64 Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-17 10:05:44 +02:00
Lukas Matena
deac513faa Fixed conflicts after merge 2022-08-15 15:23:59 +02:00
YuSanka
edebda511c Cut WIP: Set Circle connector shape as a default.
Allow set connectors to any place of the cut plane.
2022-08-15 14:16:05 +02:00
Lukas Matena
bce2b148f4 Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED) 2022-08-15 13:41:40 +02:00
YuSanka
7912613dc8 Cut WIP: Fixed crash on second "Perform cut"
+ some code cleaning
2022-08-12 17:59:36 +02:00
YuSanka
df8f7e1069 Cut WIP: Raycasters for picking are applied
+ Added snapping for rotation of the cut plane
2022-08-10 13:42:36 +02:00
YuSanka
dda346b70a After merge fixes 2022-08-08 14:58:13 +02:00
YuSanka
2ac3861b2a Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-08 10:57:38 +02:00
YuSanka
a7930cdedd Cut WIP: Cut by line: Some rework for its behavior.
Line can be drawn by :
Shift +
1. LeftDown, Dragging, LeftUp
2. LeftDown, LeftUp, Move, LeftDown
2022-07-28 17:01:05 +02:00
YuSanka
05c22604fb Cut WIP: Suppress use connectors for SLA mode 2022-07-27 15:21:37 +02:00
YuSanka
27f7a8da0f Cut WIP: Added shortcuts for "Edit connectors" ImGuiDialog
+ Added processing for the Ctrl+A ("Select All connectors")
2022-07-27 13:53:54 +02:00
YuSanka
e990254d52 Cut WIP: set attributes for each connector separately.
+ Allow select/deselect several connectors and apply size/depth for selected group of connectors
2022-07-27 11:32:38 +02:00
YuSanka
0fd29dfec7 Cut WIP: Suppress un-universal scaling for cut objects
Added editing of the tolerance
2022-07-22 16:38:28 +02:00
YuSanka
003acee218 Cut WIP: Added snapping for the rotation of cut plane
+ Some code refactoring
2022-07-21 10:20:19 +02:00
enricoturri1966
ca34518bcc Fixed conflicts after merge with master 2022-07-21 08:55:52 +02:00
enricoturri1966
520261925f Fixed conflicts after merge with master 2022-07-21 08:14:44 +02:00
YuSanka
cd8e0d002b Cut WIP: Added "Place o cut" 2022-07-19 16:58:27 +02:00
YuSanka
15418bfb76 Cut WIP: Extensions for grabbers
+ Some code refactoring (RotationGizmo isn't used anymore)
+ A reversion from 63890b5f8d is putted back
2022-07-19 10:54:41 +02:00
enricoturri1966
76562d1e75 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-18 15:38:56 +02:00
enricoturri1966
6b0ea79d34 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-15 14:55:13 +02:00
YuSanka
07d455a125 Cut WIP: some UI improvements
+ partially reverted 63890b5f8d
2022-07-11 10:42:57 +02:00
YuSanka
4b214598a2 After merge fixes 2022-06-29 13:42:10 +02:00
YuSanka
89a7f6bdb1 Merge remote-tracking branch 'origin/ys_wx317_master' into ys_cut 2022-06-29 11:44:11 +02:00
enricoturri1966
0a7dae6df6 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Cut Gizmo 2022-06-13 14:54:52 +02:00
enricoturri1966
df47ba7122 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of gizmos - Move Gizmo 2022-06-13 13:09:24 +02:00
enricoturri1966
cd6155293b Fixed conflicts after merge with master 2022-06-07 11:10:19 +02:00
enricoturri1966
0e3490620e Added method const GLVolume* Selection::get_first_volume() const to simplify client code
Fixed conflicts during rebase with master
2022-06-06 08:44:11 +02:00
enricoturri1966
8d0780aabe Tech ENABLE_GL_CORE_PROFILE - Added command line option '--opengl-core=M.m' which allows the user to select a specific OpenGL version supporting core profile 2022-05-30 16:15:25 +02:00
enricoturri1966
1a1cf108fc Tech ENABLE_GL_SHADERS_ATTRIBUTES merged into ENABLE_LEGACY_OPENGL_REMOVAL
Fixed conflicts during rebase with master
2022-05-26 10:50:32 +02:00
enricoturri1966
914a66e2c3 Tech ENABLE_GL_CORE_PROFILE - Thick lines shader enhanced to render dashed lines
Fixed conflicts while rebase with master
2022-05-26 08:11:04 +02:00
enricoturri1966
017784c38e Tech ENABLE_GL_CORE_PROFILE - Use thick_lines shader where needed
Fixed conflicts during rebase with master
2022-05-25 15:55:39 +02:00
enricoturri1966
389dc36053 Tech ENABLE_GL_CORE_PROFILE - Use OpenGL core profile context - 1st installment
Fixed conflicts during rebase with master
2022-05-25 15:29:10 +02:00
Lukas Matena
c695dcc141 Cut gizmo: UI simplification and changes 2022-05-19 09:36:14 +02:00
Lukas Matena
ef26b1abeb Cut gizmo: cut by line does not rely on mesh raycasters 2022-05-16 11:44:30 +02:00
YuSanka
496481e972 Cut WIP: Fix for Undo/Redo 2022-05-12 17:07:13 +02:00
YuSanka
d6f46bedeb Cut WIP: Fixed some bugs
* Fixed a crash on adding of the object (ObjectDataViewModel:volume_type wasn't initialized)
* Cur grabber color is changed to YELLOW
* Check position of the cut plane center on moving of the cut plane
2022-05-12 13:23:59 +02:00
YuSanka
279b116533 Cut WIP: Fix compilation warnings and errors 2022-05-09 16:52:02 +02:00
YuSanka
51e77fd81b Cut WIP: Make negative volumes a little bit "dipper"
+ Some improvements for Undo/Redo stack
2022-05-09 16:14:19 +02:00
YuSanka
90e359c5d4 Cut WIP: Implemented "Cut By Line" 2022-05-09 11:23:05 +02:00
YuSanka
c903414005 Cut WIP: Improved can_perform_cut() 2022-05-03 11:13:43 +02:00
YuSanka
94f3aaacd4 Cut WIP: Undo/Redo implementation 2022-05-02 12:44:47 +02:00
YuSanka
b5f565308a Cut WIP: Added an extension for cut plane grabber
+ Information about build size during the normal of CutPlane is added to CutGizmo
+ Tooltip for cut plane grabber shows an info about heights of top and bottom parts now
2022-04-28 13:14:57 +02:00
YuSanka
6fcb6afd81 After merge fixes 2022-04-14 11:02:56 +02:00
YuSanka
91a1cd30a0 Merge remote-tracking branch 'origin/master' into ys_cut 2022-04-14 10:04:45 +02:00
YuSanka
f9e22513c1 Cut WIP:
* Added a first detection if a connector position is valid
* Code cleaning: Deleted unused set_range_and_pos function
* Some code refactoring
2022-03-31 13:59:04 +02:00
YuSanka
a42212487d Cut WIP:
* rewrite ObjectClipper::set_range_and_pos().
A calculation of a normal and distance is extracted from this function
and are used for a putting of connectors to the cut plane.
* Some replacement of items of the CutGizmo window
2022-03-23 16:01:31 +01:00