Commit Graph

12150 Commits

Author SHA1 Message Date
enricoturri1966
6ee7445fe1 Tech ENABLE_USED_FILAMENT_POST_PROCESS set as default 2022-12-06 13:07:08 +01:00
enricoturri1966
4a0b1c77a7 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-06 12:18:17 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
Vojtech Bubnik
96ab500a13 Fixing Cut numerical issues on 45 degree rotated cube and
on 90 degree rotated cylinder.
2022-12-06 11:45:05 +01:00
Vojtech Bubnik
7309c729e0 Reworked "only_retract_when_crossing_perimeters" feature, which
was terribly slow:
Introduced RetractWhenCrossingPerimeters.cpp,hpp
AABBTreeIndirect traverse template was extended to support early exit.
2022-12-06 11:45:05 +01:00
tamasmeszaros
b1bfef44ba Convert static data to compile time constants 2022-12-06 10:00:51 +01:00
Lukas Matena
a47bb5bf1b Measurement: extract features on the fly, not when the tool is opened 2022-12-06 09:57:24 +01:00
Lukas Matena
a37f09edaa Measurement: optimize feature extraction:
- do not call ransac when not needed
- decrease number of ransac iterations
- precalculate inverse of transformation matrix
- pass the min error from ransac algorithm, do not calculate it again
2022-12-06 09:57:24 +01:00
Lukas Matena
bed64cb7c7 Measurement: optimize plane highlighting 2022-12-06 09:57:24 +01:00
Filip Sykala - NTB T15p
2168d0935a Allow letter "T" for open text gizmo 2022-12-05 16:52:35 +01:00
Filip Sykala - NTB T15p
47ca06e53e Merge branch 'master' into fs_emboss 2022-12-05 15:21:04 +01:00
Filip Sykala - NTB T15p
22891acc07 Lock emboss text window position 2022-12-05 15:20:56 +01:00
enricoturri1966
7b569c4eb7 Gizmo measure - Do not show distance strict if distance infinite is already shown 2022-12-05 13:52:49 +01:00
enricoturri1966
6f18f8f784 Tech ENABLE_RAYCAST_PICKING set as default 2022-12-05 10:24:30 +01:00
Filip Sykala - NTB T15p
5266c6be8e Fix typo 'activ_' to 'active_' 2022-12-02 19:03:26 +01:00
Filip Sykala - NTB T15p
9d1204d6f5 Fix typo 'activ_font' to 'active_font' 2022-12-02 19:00:44 +01:00
Filip Sykala - NTB T15p
3c961f3816 Move 3mf tag into Slic3r namespace - Break back compatibility with loading text volume
Use surface retype as int
2022-12-02 18:47:11 +01:00
Filip Sykala - NTB T15p
cb7705ddbd optimize for each frame 2022-12-02 17:57:34 +01:00
Filip Sykala - NTB T15p
57695056ed Merge branch 'master' into fs_emboss 2022-12-02 15:57:11 +01:00
Lukas Matena
e04e8c55cf Improved performance of GLModel::render:
The way the OpenGL version was checked was quite inefficient
2022-12-02 14:21:20 +01:00
enricoturri1966
5f26b8c601 Tech ENABLE_WORLD_COORDINATE - Modified behavior of mirror buttons in sidebar panel. Trigger transformation but do not show state. 2022-12-02 14:15:04 +01:00
enricoturri1966
210273e12f Fixed differences after rebase to master 2022-12-02 12:39:49 +01:00
Lukas Matena
456e61c7d3 Measurement: Fixed edge detection on single-triangle planes 2022-12-02 12:35:05 +01:00
enricoturri1966
cc8a6a3fff Follow-up of 85195ac79f - Fixed synch of selected features in imgui dialog 2022-12-02 12:35:05 +01:00
enricoturri1966
2f8e2c5e80 Measure gizmo - Fixed missing raycaster when promoting a point as 1st selected feature 2022-12-02 12:35:05 +01:00
enricoturri1966
954cd105e0 Fixed warnings 2022-12-02 12:35:04 +01:00
Lukas Matena
eeea803be5 Measurement: tweaking of the tolerances, ransacing the whole border 2022-12-02 12:35:04 +01:00
enricoturri1966
220104dbe2 Measure gizmo - Fixed sychronization of imgui dialog with current hovering/selection state 2022-12-02 12:35:04 +01:00
enricoturri1966
f081187356 Fixed warning 2022-12-02 12:35:04 +01:00
enricoturri1966
6533eb2a53 Fixed warnings 2022-12-02 12:35:04 +01:00
enricoturri1966
93a3ee5019 Gizmo measure - Show radius of single selected circle, to allow for object scaling 2022-12-02 12:35:04 +01:00
enricoturri1966
b45ae31af3 Gizmo measure - Modified circle and edge with extra point selection
Fixed conflicts during rebase to master
2022-12-02 12:34:51 +01:00
enricoturri1966
8ef55ff82e Tech ENABLE_RAYCAST_PICKING_DEBUG - Extended data shown into debug imgui dialog 2022-12-02 12:26:30 +01:00
Lukas Matena
b27653493a Measurement: prevent ending up in an infinite loop with broken models 2022-12-02 12:26:30 +01:00
Lukas Matena
d4ad4aff01 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-12-02 12:26:30 +01:00
enricoturri1966
3bdd548358 Gizmo measure - Undo/Redo related fix 2022-12-02 12:26:30 +01:00
enricoturri1966
2b155d5932 Gizmo measure - Hide SLA supports and pad when opening the gizmo 2022-12-02 12:26:30 +01:00
enricoturri1966
946bbd285a Fixed warnings 2022-12-02 12:26:30 +01:00
enricoturri1966
dedaa7b49b Gizmo measure - Fixed color of hovered features when part of the object is outside the printbed 2022-12-02 12:26:30 +01:00
enricoturri1966
786eb4dc53 Follow-up of fdc9c73340 - Alternate implementation of 'When panning/rotating the scene, do not select the hovered feature, if any' 2022-12-02 12:26:30 +01:00
enricoturri1966
36b4a149a4 Gizmo measure - Fixed calculation of angle edge-plane 2022-12-02 12:26:29 +01:00
enricoturri1966
87fb1604d8 Gizmo measure - Fixed incorrect point on feature detection 2022-12-02 12:26:29 +01:00
enricoturri1966
cc0901228b Gizmo measure - Fixed dimensioning after scaling a part of a multipart object 2022-12-02 12:26:29 +01:00
enricoturri1966
df266798a6 Fixed crash when opening Measure Gizmo after slicing in SLA mode 2022-12-02 12:26:29 +01:00
enricoturri1966
ab5c81a2ef Gizmo Measure - Fixed point color and hint in dialog when adding a point on a selected feature 2022-12-02 12:26:29 +01:00
enricoturri1966
38d2e0605a 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-12-02 12:26:29 +01:00
enricoturri1966
ef018318bd Gizmo Measure - Clicking on 1st selected let second selected to be promoted as first selected 2022-12-02 12:26:29 +01:00
enricoturri1966
a03528e55a Gizmo Measure - Added [Restart selection] button to imgui dialog 2022-12-02 12:26:29 +01:00
enricoturri1966
543950bf4b Gizmo Measure - Use [Delete] key in place of Shift+Right mouse to restart selection 2022-12-02 12:26:29 +01:00
enricoturri1966
5d6346f275 Gizmo Measure - When CTRL+dragging to pan/rotate the scene, do not select the hovered feature, if any 2022-12-02 12:26:29 +01:00
enricoturri1966
cf2a7608d3 Gizmo measure - Render dimensioning thicker main lines 2022-12-02 12:26:28 +01:00
enricoturri1966
62d683b50c Removed commented out code 2022-12-02 12:26:28 +01:00
enricoturri1966
1ba8025702 Gizmo measure - Show diameter of selected circles into imgui dialog 2022-12-02 12:26:28 +01:00
enricoturri1966
534d0353eb Gizmo measure - Draw background for dimensioning labels 2022-12-02 12:26:28 +01:00
enricoturri1966
89bae8606b Removed debug code 2022-12-02 12:26:28 +01:00
enricoturri1966
305ea0da27 Gizmo measure - Fixed angle for perpendicular edge-plane use case 2022-12-02 12:26:28 +01:00
enricoturri1966
ce46a1d03d Removed debug code 2022-12-02 12:26:28 +01:00
enricoturri1966
832b0a69e8 Fixed warnings 2022-12-02 12:26:28 +01:00
enricoturri1966
e6b2467f44 Fixed warnings 2022-12-02 12:26:28 +01:00
enricoturri1966
6dd8199edf Gizmo measure - Fixed orientation of arrows in arc dimensioning 2022-12-02 12:26:27 +01:00
enricoturri1966
075c241906 Tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES set as default
Fixed conflicts during rebase to master
2022-12-02 12:26:12 +01:00
Lukas Matena
5382f4077a Measurement: Partially fixed the common gizmo raycaster for self-intersecting meshes 2022-12-02 12:00:26 +01:00
Lukas Matena
268365b92d Measurement: refactoring - do not touch common raycaster interface when there is no need 2022-12-02 12:00:26 +01:00
enricoturri1966
4606d8266a Added missing declaration 2022-12-02 12:00:26 +01:00
enricoturri1966
fc2f0bad6e 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

Fixed conflicts during rebase to master
2022-12-02 11:59:47 +01:00
enricoturri1966
72dff918d0 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_mirror 2022-12-02 09:17:03 +01:00
enricoturri1966
910c87baec Tech ENABLE_WORLD_COORDINATE - Fix of Selection::mirror() 2022-12-02 09:16:37 +01:00
enricoturri1966
33949734e3 Latest techs definition retargeted to 2.6 2022-12-02 09:11:50 +01:00
Filip Sykala - NTB T15p
0e01e6af72 Fix crash when double click on wipe tower
Add option to open embos gizmo by doubleclick when move scale rotate or emboss
+ fix demo opening
2022-12-01 21:14:55 +01:00
Filip Sykala - NTB T15p
d6add81319 Show imgui demo window after type "demo" 2022-12-01 17:35:17 +01:00
Filip Sykala - NTB T15p
f1d65f6c1f Merge branch 'master' into fs_emboss 2022-12-01 17:21:22 +01:00
Filip Sykala - NTB T15p
02c5a5562a Merge branch 'fs_emboss' of https://github.com/Prusa-Development/PrusaSlicerPrivate into fs_emboss 2022-12-01 17:20:46 +01:00
Filip Sykala - NTB T15p
9f395a26a3 Remove test 2022-12-01 17:20:23 +01:00
Filip Sykala - NTB T15p
58a825dd91 Fix Release ghost pressing of key backspace, del, ...
Add debug log for imgui update key data - aka key events
2022-12-01 17:20:10 +01:00
YuSanka
e07843e6fb Cut: Fixed visualization of the selected connectors which are conflict
+ Back port a Lukas's code for enable/disable current contour
2022-12-01 16:44:36 +01:00
Filip Sykala - NTB T15p
8a1fc4b16b Merge branch 'master' into fs_emboss 2022-12-01 16:42:47 +01:00
tamasmeszaros
f7c832ddaf Fix crash when pressing 'A' without any objects on plater 2022-12-01 12:38:34 +01:00
YuSanka
ba8b81b27e Cut: Extension for delete parts from cut objects.
When try to delete something from the cut object, than not just inform the users about an impossibility of this action,
but allow them to invalidate a cut information or delete all connectors from related objects, but leave the cut info.
2022-12-01 11:10:41 +01:00
enricoturri1966
d44ca0aa2a Merge branch 'fs_emboss' of https://github.com/Prusa-Development/PrusaSlicerPrivate into fs_emboss 2022-12-01 09:46:18 +01:00
enricoturri1966
a4af4bb0b3 Sychronize imgui keys state into ImGuiWrapper::new_frame() to prevent misalignment when the key up event happens after the application loses focus 2022-12-01 09:45:49 +01:00
Filip Sykala - NTB T15p
3435b96f76 Merge branch 'master' into fs_emboss 2022-11-30 15:46:41 +01:00
Filip Sykala - NTB T15p
36f6c8bf65 temporary add scope guard test for MacOs 2022-11-30 15:46:27 +01:00
enricoturri1966
a78dfa2522 Fixed rendering of transparent objects on MAC 2022-11-30 13:23:26 +01:00
Filip Sykala - NTB T15p
8d54798231 Extend Hot fix by description 2022-11-30 12:07:46 +01:00
Filip Sykala - NTB T15p
1309dab7e7 Do not inform user about disable cut surface functionality 2022-11-30 11:35:48 +01:00
Filip Sykala - NTB T15p
9a40e63a11 Disable background fadeout animation for modal imgui windows 2022-11-30 10:49:53 +01:00
Filip Sykala - NTB T15p
d521df7486 Merge branch 'master' into fs_emboss 2022-11-29 18:42:23 +01:00
Filip Sykala - NTB T15p
d9cc6ecad9 Show imgui demo window 2022-11-29 18:42:11 +01:00
YuSanka
9fe4595ae7 CutGizmo: Cut plane wasn't respect to the depth
+ ShapesGallery: added "universal wall mount hole"
2022-11-29 16:21:45 +01:00
Filip Sykala - NTB T15p
d5fedd928c Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Point.hpp
2022-11-29 15:11:53 +01:00
Filip Sykala - NTB T15p
b8503ed904 Remove comment iritating @vojta 2022-11-29 14:33:47 +01:00
Filip Sykala - NTB T15p
b71b42b9f3 add Note why escape white character in XML 2022-11-29 14:26:10 +01:00
Filip Sykala - NTB T15p
1fa532c624 change stable_sort to sort(in this place it is better) 2022-11-29 13:58:41 +01:00
Filip Sykala - NTB T15p
fe736291c7 rename function which change m_volume value to set_volume() 2022-11-29 13:54:38 +01:00
Filip Sykala - NTB T15p
b1f9d50aad Rename function: collect_duplications -> collect_duplicates
more english correct name
2022-11-29 13:52:47 +01:00
Filip Sykala - NTB T15p
d330bbc54b comment source of idea 2022-11-29 13:39:28 +01:00
YuSanka
9323e347f0 ObjectList: Delete last volume from the object even if this volume is text 2022-11-29 12:59:05 +01:00
Filip Sykala - NTB T15p
676a77fbf9 Remove ambigous function 2022-11-29 11:16:50 +01:00
Filip Sykala - NTB T15p
f022402963 Revert ModelVolumeType separation 2022-11-29 08:42:29 +01:00
Vojtech Bubnik
9a682a10cb Merge remote-tracking branch 'remotes/origin/fs_emboss' 2022-11-28 17:46:12 +01:00