Commit Graph

10650 Commits

Author SHA1 Message Date
enricoturri1966
3928c5c01c Tech ENABLE_GL_CORE_PROFILE - Fixed rendering of circle cursor with dashed lines in GLGizmoPainterBase 2022-06-22 10:51:54 +02:00
Lukáš Hejl
9aca685dd4 Fixed a compiler warning. 2022-06-21 14:23:05 +02:00
Lukáš Hejl
c1af26e3fd Modified the pressure equalizer to silently ignores most of the invalid GCode lines. 2022-06-21 13:57:41 +02:00
YuSanka
c3bf861b17 Fix for fff_print_tests 2022-06-21 12:48:54 +02:00
YuSanka
5f5e971fe7 UnsavedChangesDialog: Fixed a crash, when enum_labels wasn't defined for some enum config option. 2022-06-21 12:48:39 +02:00
Lukáš Hejl
d65aaa1db9 Disabled ignoring the pressure equalizer parameters when 3MF is loaded. 2022-06-21 12:35:57 +02:00
Lukáš Hejl
a09cf52798 Fixed that fuzzy skin hadn't connected endpoints of extrusion when Arachne was used. 2022-06-21 12:35:56 +02:00
enricoturri1966
0a1d1ef6c8 Follow-up of 37d36616ee - Fixed previous commit 2022-06-21 11:29:18 +02:00
PavelMikus
f3d0e3c399 fix compile time warning (truncating double to float) 2022-06-21 11:11:10 +02:00
enricoturri1966
89ac932628 Tech ENABLE_NEW_RECTANGLE_SELECTION set as default 2022-06-21 11:10:57 +02:00
enricoturri1966
6d97de14d9 Tech ENABLE_RAYCAST_PICKING - Removal of all remaining code related to old OpenGL based picking 2022-06-21 09:16:36 +02:00
enricoturri1966
255d8657dd Tech ENABLE_RAYCAST_PICKING - Small refactoring 2022-06-21 08:26:39 +02:00
PavelMikus
732586de7c SeamPlacer: Removed skipping mechanics in alignment
improved snapping to sharp angles
reduced curling on smooth surfaces
Rear is now aligned
2022-06-20 17:41:05 +02:00
Lukas Matena
27a18065b3 Added possibly missing includes 2022-06-20 14:48:30 +02:00
enricoturri1966
37d36616ee Tech ENABLE_RAYCAST_PICKING - Do know allow picking while dragging gizmos 2022-06-20 14:07:38 +02:00
enricoturri1966
63890b5f8d Do know allow picking while dragging gizmos 2022-06-20 13:58:06 +02:00
YuSanka
07dfcdd94c Minor fixes for KR localization: Added missed line breaks 2022-06-17 17:37:34 +02:00
YuSanka
2688a29b08 SplashScreen: New image
+ PressureEqualizer" fixed warning
2022-06-17 17:14:14 +02:00
Lukas Matena
32e70e5f57 Fixed compiler warnings 2022-06-17 16:27:49 +02:00
PavelMikus
a3d10f7f50 fix deadlock condition varaible use in netfabb wrapper 2022-06-17 16:14:30 +02:00
Lukas Matena
9aa104d080 Revert "Merge branch 'pm_stable_meshfix' into dev_250"
This reverts commit 71a8ead282, reversing
changes made to a1143ab26e.
2022-06-17 16:13:18 +02:00
YuSanka
d59b11568e Print bed has to be updated, when printer preset is detached from the system preset 2022-06-17 15:35:38 +02:00
YuSanka
311ac96e45 Fixed default values for filament_cooling_initial_speed and filament_cooling_final_speed.
Don't use float value for double type parameter
2022-06-17 15:35:38 +02:00
Lukas Matena
570b43941e Fixed title label when run as G-Code Viewer:
Builds that were not tagged and contained number of commits since last tag
showed "-UNKNOWN" in the title bar, even when they went through the build server
2022-06-17 12:58:24 +02:00
Lukáš Hejl
3a792738cb Added a limit on how many GCode lines pressure equalizer is processing. It reduces pressure equalizer processing time a lot.
Also, the maximum segment length to split was decreased to make the transition between different flow rates smoother.
2022-06-17 11:09:04 +02:00
Lukas Matena
4079eac29a Fixed a failing assert in BuildVolume.cpp 2022-06-16 16:35:06 +02:00
Lukáš Hejl
1622208249 Fixed infill polygons filtering. 2022-06-16 14:01:56 +02:00
YuSanka
84ec233734 Follow-up d0b4a4a87d - Preferences Dialog:Set flag m_settings_layout_changed to false,
when CANCEL button was pushed.
2022-06-16 12:59:33 +02:00
enricoturri1966
db31995310 Allow drag and drop on files into PrusaSlicer no matter which is the current selected tab 2022-06-16 11:12:45 +02:00
PavelMikus
e70aea8b30 SeamPLacer: for extrusion loops, check all paths for ExternalPerimeter role
small parameter tuning
2022-06-16 10:12:44 +02:00
Lukáš Hejl
f34c1f14da Fixed the orientation of ExtrusionLoops when Arachne is used. 2022-06-15 23:28:11 +02:00
enricoturri1966
3a760d61e4 Tech ENABLE_RAYCAST_PICKING - Fixed other warnings on Mac 2022-06-15 15:32:34 +02:00
enricoturri1966
692aabd8e1 Tech ENABLE_RAYCAST_PICKING - Fixed build and warnings on Mac 2022-06-15 14:58:04 +02:00
enricoturri1966
f45711e7e5 Removed tech ENABLE_RENDER_PICKING_PASS 2022-06-15 14:29:29 +02:00
enricoturri1966
7926781ac1 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo SLA Supports 2022-06-15 14:07:42 +02:00
enricoturri1966
ae09c864c2 Follow-up of c5c5c23ed2 - Fixed raycasters update after deletion 2022-06-15 09:09:11 +02:00
enricoturri1966
c5c5c23ed2 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo Hollow 2022-06-15 09:01:13 +02:00
Lukas Matena
c3edafcc33 Arachne parameter names: unified case with the rest 2022-06-14 12:48:54 +02:00
enricoturri1966
040a8467bd #8401 - Show error message when trying to import invalid 3mf 2022-06-14 12:17:15 +02:00
enricoturri1966
f5e68a6ac6 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo Flatten 2022-06-14 11:30:30 +02:00
enricoturri1966
9ac5ab857b Tech ENABLE_RAYCAST_PICKING - Refactoring to allow for easier update of raycasters transform 2022-06-14 10:44:14 +02:00
Lukas Matena
419014133a OSX specific: Fixing opening of G-codes by drag & dropping of G-code
on slicer icon in case slicer is not yet running. (backport of 91a5ceb from master)
2022-06-14 10:03:10 +02:00
Vojtech Bubnik
91a5ceb1dd OSX specific: Fixing opening of G-codes by drag & dropping of G-code
on slicer icon in case slicer is not yet running.
2022-06-13 15:44:43 +02:00
enricoturri1966
0a7dae6df6 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Cut Gizmo 2022-06-13 14:54:52 +02:00
enricoturri1966
0cedf331b1 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Scale Gizmo 2022-06-13 14:46:06 +02:00
enricoturri1966
9962a5a873 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Rotate Gizmo 2022-06-13 14:17:19 +02:00
enricoturri1966
df47ba7122 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of gizmos - Move Gizmo 2022-06-13 13:09:24 +02:00
PavelMikus
20a42e3e2f Fix crash on painted seams - painting blocker close to enforced could cause
points to be recognized as enforced and then marked as blocked, which could
brake the middle enforced point selection
2022-06-13 13:01:23 +02:00
PavelMikus
745c5ecd9b SeamPlacer - fix search radius estimation for visibility computation (use exp distribution)
slightly tune parameters
2022-06-13 10:05:35 +02:00
enricoturri1966
36ec839767 Tech ENABLE_GIZMO_GRABBER_REFACTOR set as default 2022-06-10 15:46:28 +02:00
Lukáš Hejl
bd4b63e67d Fixed an issue when the Lightning infill stuck in an infinite loop on some models.
Cased by two sampled points closer than chosen spacing.
2022-06-10 15:31:02 +02:00
Lukáš Hejl
dba1179708 Fixed an issue when the Lightning infill stuck in an infinite loop on some models.
Cased by two sampled points closer than chosen spacing.
2022-06-10 15:25:04 +02:00
enricoturri1966
6c6713c4ad Tech ENABLE_RAYCAST_PICKING - Raytraced picking of volumes 2022-06-10 14:56:15 +02:00
enricoturri1966
cfc3988b9f Tech ENABLE_RAYCAST_PICKING - 1st installment - Raytraced picking of printbed 2022-06-10 13:20:52 +02:00
Lukáš Hejl
3fba411d17 Follow-up of 18124b07a2 - Forgot to remove code for debugging. 2022-06-10 12:12:26 +02:00
Lukáš Hejl
18124b07a2 Fixed a crash when Arachne returns extrusion with zero-length (just two same endpoints). 2022-06-10 11:46:46 +02:00
Lukáš Hejl
9c07218d82 Reworked pressure equalizer and GCode processing pipeline to make pressure equalizer always returns one whole layer at once.
Now pressure equalizer is returning one layer back (the previous layer).

GCode produced by pressure equalizer now has the same number of decimal places as non-processed GCode.

Pressure equalizer was disabled for external perimeters and gap-fill.
2022-06-10 10:54:35 +02:00
Lukáš Hejl
a497769558 Modified the description of pressure equalizer parameters and moved it to the separate section. 2022-06-09 21:07:48 +02:00
Lukáš Hejl
0463518dc3 Attempted to reenable the old pressure equalizer and fix its issues. 2022-06-09 21:07:41 +02:00
Lukáš Hejl
9be524b01b Fixed an unintentional transformation of ExPolygon to a single vector containing all points from contour and all holes in the Lightning infill.
This was causing most of the issues with randomly generated infill hanging in the air without any support.
2022-06-09 14:51:16 +02:00
Lukáš Hejl
5d82c1601b Fixed an unintentional transformation of ExPolygon to a single vector containing all points from contour and all holes in the Lightning infill.
This was causing most of the issues with randomly generated infill hanging in the air without any support.
2022-06-09 14:49:45 +02:00
Lukáš Hejl
3d9b13a5e3 Added fuzzy skin for Arachne. 2022-06-09 11:23:41 +02:00
Lukáš Hejl
357dbb4686 Fixed the flow of bridging perimeters for Arachne. 2022-06-09 11:23:41 +02:00
Lukáš Hejl
dc2789a0e8 Added computation of bridging perimeters for Arachne. 2022-06-09 11:23:41 +02:00
Lukáš Hejl
f460c53d86 Backported a fix from Clipper 6.4.2 for the issue that Clipper Z coordinated has incorrect value because ZFillFunction wasn't called in all cases (https://sourceforge.net/p/polyclipping/bugs/160/). Also, this issue led to duplicity vertices with the same XY coordinates but differ in Z coordinates. 2022-06-09 11:05:05 +02:00
Vojtech Bubnik
0b6c65ee60 G-code thumbnails in other than PNG format: Fixing Perl unit tests. 2022-06-09 09:58:13 +02:00
Lukáš Hejl
46ade54937 Backported a fix from Clipper 6.4.2 for the issue that Clipper Z coordinated has incorrect value because ZFillFunction wasn't called in all cases (https://sourceforge.net/p/polyclipping/bugs/160/). Also, this issue led to duplicity vertices with the same XY coordinates but differ in Z coordinates. 2022-06-09 09:22:40 +02:00
enricoturri1966
9bd0a3c6b1 Follow-up of 030f460114 - compress_thumbnail_jpg() implemented using embedded libjpeg 2022-06-08 21:12:00 +02:00
enricoturri1966
9bb5874d50 Follow-up of 87cff55856 - Implementation of compress_thumbnail_jpg() 2022-06-08 21:12:00 +02:00
Lukáš Hejl
36bd65d810 Added a missing include (GCC11.1 without PCH). 2022-06-08 21:12:00 +02:00
Vojtech Bubnik
e2405b51da Fixed typo in thumbnail_QOI tag. 2022-06-08 21:12:00 +02:00
Vojtech Bubnik
8ed6d1b466 WIP: Implemented support for QOI G-code thumbnail format as requested
by the RepRapFirmware team due to their low RAM budget for decompression.
Bundled the QOI image compression library.
2022-06-08 21:12:00 +02:00
Lukas Matena
5792190515 Fix of incorrect MMU filament estimate 2022-06-08 21:09:39 +02:00
Lukas Matena
48e1919ff1 Fix double undo/redo snapshot when using SpinCtrl 2022-06-08 21:08:40 +02:00
Lukas Matena
60894a26dd Fix of 8342 (deselection when changing object-specific settings) 2022-06-08 14:49:31 +02:00
enricoturri1966
b42e4b2927 GLTexture - Use BitmapCache::nsvgParseFromFileWithReplace() in place of nsvgParseFromFile() to load images from files 2022-06-08 13:12:29 +02:00
Lukas Matena
9420f47b26 Fixed a crash when rescaling or changing color mode (Windows, macOS) 2022-06-08 10:32:54 +02:00
PavelMikus
27a7ddccb6 improve visibility estimation via distance to plane weighting.
increase angle importance, improve alignment
2022-06-08 10:28:21 +02:00
enricoturri1966
8f40270f93 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3_rebase 2022-06-08 09:06:12 +02:00
tamasmeszaros
86ebe946d9 Make AStar use InvalidQueueID constant 2022-06-07 16:08:09 +02:00
tamasmeszaros
4f8535d0d5 Move out invalid_id constant from MutablePriotityQueue template class
Enclose it into Slic3r namespace
2022-06-07 16:05:16 +02:00
PavelMikus
c09781d61d optimize embedding computation
fix seed of random generators
set high angle importance for nearest mode
2022-06-07 11:12:48 +02:00
PavelMikus
13ac7a24d8 Refactoring of the short edge collpase, should greatly improve performance
integration of NormalsUitls from SDF branch
2022-06-07 11:12:48 +02:00
PavelMikus
9b761d3a6f fix random generator in short edge collpase, so that results are deterministic 2022-06-07 11:12:48 +02:00
PavelMikus
d5bf6794aa comment out debug info 2022-06-07 11:12:48 +02:00
PavelMikus
835aca60e6 add comments to the short edge collapse algorithm 2022-06-07 11:12:48 +02:00
PavelMikus
1e7b4a6720 Implementation of ShortEdgeCollapse
Replaced QEC by edge collapse in occlusion computation
2022-06-07 11:12:48 +02:00
PavelMikus
b5b39195f4 Added throw_if_canceled callback to all slower sections 2022-06-07 11:12:48 +02:00
PavelMikus
c23d1488c9 Performance improvements 2022-06-07 11:12:48 +02:00
PavelMikus
a4201321e8 Hopefully improved the seam placer performance a lot 2022-06-07 11:12:48 +02:00
PavelMikus
6da220062c Mac OS pre 10.13 does not fully support std::optional (method .value() is not allowed)
This commit replaces usage of .value() calls with .operator*()
2022-06-07 11:12:48 +02:00
PavelMikus
d59d8eebde Full occlusion guided seam placer backport 2022-06-07 11:12:48 +02:00
PavelMikus
52b80590c3 incldue README
disable MeshFix on windows 10
2022-06-07 11:10:52 +02:00
PavelMikus
04ac99a54e fix deadlock condition varaible use in netfabb wrapper 2022-06-07 11:10:52 +02:00
PavelMikus
24dc0317a2 Fix undefined behavior and other issues in the MeshFix library
!ADD call to TMesh::init function to initialize prediacates, fixes problems
turn off result check - sometimes it is too restrictive
2022-06-07 11:10:52 +02:00
PavelMikus
91eb0b8153 fix multipart object progress bar 2022-06-07 11:10:52 +02:00
PavelMikus
4a92b110e6 small includes optimization 2022-06-07 11:10:51 +02:00
PavelMikus
20c91aa48e Meshfix integration into GUI 2022-06-07 11:10:51 +02:00
enricoturri1966
cd6155293b Fixed conflicts after merge with master 2022-06-07 11:10:19 +02:00
enricoturri1966
904e3a874e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_trafo_matrix_rebase 2022-06-06 14:57:09 +02:00
enricoturri1966
c99e93c357 Fixed differences after rebase with master 2022-06-06 14:55:38 +02:00
enricoturri1966
00878fb330 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES merged into ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 13:36:29 +02:00
enricoturri1966
f591535d20 Removed tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET 2022-06-06 12:44:01 +02:00
enricoturri1966
4846b504a2 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Improved detection and removal of skew in matrices
Fixed conflicts during rebase with master
2022-06-06 12:43:42 +02:00
enricoturri1966
b76f9fc2ee Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Scaling using object manipulator fields
Fixed conflicts during rebase with master
2022-06-06 12:38:20 +02:00
enricoturri1966
3b3edb5a97 Fixed build and warnings on Linux and Mac
Fixed conflicts during rebase with master
2022-06-06 12:22:42 +02:00
enricoturri1966
e3d648c802 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reoworked calculation of volume matrix for newly added modifiers and parts
Fixed conflicts during rebase with master
2022-06-06 12:16:17 +02:00
enricoturri1966
2602c6bf92 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Implemented reset skew button for the case when volume world matrix contains skew while volume and instance matrices do not
Fixed conflicts during rebase with master
2022-06-06 12:07:45 +02:00
enricoturri1966
e4fb142afc Tech ENABLE_WORLD_COORDINATE_SCALE_REVISITED merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 12:01:44 +02:00
enricoturri1966
ebb9a4aadb Tech ENABLE_WORLD_COORDINATE_SHOW_AXES merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 11:39:15 +02:00
enricoturri1966
7c86cf84a3 Tech ENABLE_COORDINATE_DEPENDENT_SELECTION_BOX merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-06 10:53:26 +02:00
enricoturri1966
882a5ffec5 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed uniform scale using object manipulator panel
Fixed conflicts during rebase with master
2022-06-06 10:22:05 +02:00
enricoturri1966
9062a74c5c Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed scale reset 2022-06-06 10:18:04 +02:00
enricoturri1966
9efeb0b9e5 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed missing update of object manipulator panel after selecting an object in the 3D scene 2022-06-06 10:18:04 +02:00
enricoturri1966
243985173e Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Allow for relative rotations only when using the object manipulator panel 2022-06-06 10:18:04 +02:00
enricoturri1966
3fcfd04921 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Fixed translation of volumes in local coordinate system
Fixed conflicts during rebase with master
2022-06-06 10:17:43 +02:00
enricoturri1966
fd45d0eeed Tech ENABLE_WORLD_COORDINATE_SHOW_AXES - Fixed bed axes visualization 2022-06-06 10:00:53 +02:00
enricoturri1966
19712749c3 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Added reset button to remove skew, when detected, in object manipulator panel
Fixed conflicts during rebase with master
2022-06-06 10:00:28 +02:00
enricoturri1966
eeb81b1ef8 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Let reset buttons in object manipulator to be always visible when needed, no matter what is the current selected reference system 2022-06-06 09:54:46 +02:00
enricoturri1966
88ce6ccdef Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::scale(const Vec3d& scale, TransformationType transformation_type) to use matrix multiplication
Fixed conflicts during rebase with master
2022-06-06 09:54:19 +02:00
enricoturri1966
b5d366d385 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Allow skew in matrices
Fixed conflicts during rebase with master
2022-06-06 09:07:50 +02:00
enricoturri1966
63c9ce23df Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void synchronize_unselected_instances(SyncRotationType sync_rotation_type) to use the new matrix only implementation of Geometry::Transformation
Fixed conflicts during rebase with master
2022-06-06 09:04:12 +02:00
enricoturri1966
c8d93e69be Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::synchronize_unselected_volumes() to use the new matrix only implementation of Geometry::Transformation
Fixed conflicts during rebase with master
2022-06-06 08:55:38 +02:00
enricoturri1966
f9f7e6e759 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::flattening_rotate(const Vec3d& normal) to use matrix multiplication
Fixed conflicts during rebase with master
2022-06-06 08:50:57 +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
9f503b95e8 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::rotate(const Vec3d& rotation, TransformationType transformation_type) to use matrix multiplication
Fixed conflicts during rebase with master
2022-06-03 15:44:45 +02:00
enricoturri1966
55be16d158 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::translate(unsigned int object_idx, unsigned int instance_idx, const Vec3d& displacement) to use matrix multiplication and removed unused method void Selection::translate(unsigned int object_idx, const Vec3d& displacement)
Fixed conflicts during rebase with master
2022-06-03 15:05:44 +02:00
enricoturri1966
2f6f73e10f Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::translate(const Vec3d& displacement, ECoordinatesType type) to use matrix multiplication
Fixed conflicts during rebase with master
2022-06-03 14:56:07 +02:00
enricoturri1966
7e72963293 Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - 1st installment. Geometry::Transformation modified to store data in a single matrix, without store the matrix components
Fixed conflicts during rebase with master
2022-06-03 13:58:36 +02:00
enricoturri1966
a4c0d99616 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of gizmo rotate
Fixed conflicts during rebase with master
2022-06-03 13:06:53 +02:00
enricoturri1966
8c95f47d4a Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of sidebar hints reference system
Fixed conflicts during rebase with master
2022-06-03 13:00:10 +02:00
Lukas Matena
75a6f54f0b Fixed compiler warnings 2022-06-03 12:45:06 +02:00
enricoturri1966
155c3e8895 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of selection bounding box
Fixed conflicts during rebase with master
2022-06-03 12:42:30 +02:00
enricoturri1966
9acf181dda Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of bed axes 2022-06-03 12:31:02 +02:00
enricoturri1966
47a1989fdc Tech ENABLE_WORLD_COORDINATE - ObjectManipulation::update_reset_buttons_visibility() changed logic for drop to bed button 2022-06-03 12:31:02 +02:00
enricoturri1966
45335ee26b Tech ENABLE_OBJECT_MANIPULATOR_FOCUS - Fixed kill focus handling for sidebar object manipulator fields 2022-06-03 12:27:41 +02:00
enricoturri1966
2b002da8ce Tech ENABLE_WORLD_COORDINATE - Fixed rotation performed from sidebar manipulation fields 2022-06-03 12:27:41 +02:00
enricoturri1966
e86cbf0d8c Tech ENABLE_WORLD_COORDINATE_SCALE_REVISITED - Detection of required transformation baking done on mouse dragging event in place of mouse up event for gizmo scale
Fixed conflicts during rebase with master
2022-06-03 12:27:24 +02:00
enricoturri1966
622796e9e3 Tech ENABLE_WORLD_COORDINATE_SCALE_REVISITED - Alternate implementation of manipulating scale for instances and volumes using gizmo scale and sidebar object manipulator fields - 1st installment
Fixed conflicts during rebase with master
2022-06-03 12:17:12 +02:00
enricoturri1966
558bccec48 Tech ENABLE_WORLD_COORDINATE_SHOW_AXES - Show axes of the current reference system when sidebar hints are active for non-world reference systems
Fixed conflicts during rebase with master
2022-06-03 11:45:22 +02:00
enricoturri1966
912d781446 Tech ENABLE_COORDINATE_DEPENDENT_SELECTION_BOX - Render the selection bounding box in the current reference system
Fixed conflicts during rebase with master
2022-06-03 11:05:49 +02:00
enricoturri1966
9706f16e69 Tech ENABLE_WORLD_COORDINATE - Revisited rotation of single volume
Fixed conflicts during rebase with master
2022-06-03 10:26:37 +02:00
tamasmeszaros
1d3c8ac5b4 Further refactor
Reduce code size for astar
2022-06-03 10:17:05 +02:00
tamasmeszaros
d9ed45be56 Apply remarks from code review with additional cosmethics 2022-06-03 10:08:11 +02:00
enricoturri1966
c29bb039a6 Tech ENABLE_WORLD_COORDINATE - Revisited rotation of single instance 2022-06-03 09:59:02 +02:00
enricoturri1966
90e54e5821 Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES merged into tech ENABLE_WORLD_COORDINATE
Fixed conflicts during rebase with master
2022-06-03 09:57:07 +02:00
enricoturri1966
cd4704e493 Fixed warnings
Fixed conflicts during rebase with master
2022-06-03 09:11:06 +02:00
enricoturri1966
6e92b4fc3b Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Mirror transform in local system for volumes and a few fixes in rotation
Fixed conflicts during rebase with master
2022-06-03 08:41:23 +02:00
enricoturri1966
fb31bcd0f0 Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Volumes scaling in all reference systems using Scale gizmo and part manipulator fields
Fixed conflicts during rebase with master
2022-06-03 08:25:08 +02:00
tamasmeszaros
f9fb7f947d Revamped A* algorithm
with extended test suite
2022-06-02 17:44:51 +02:00
enricoturri1966
65adbd5b0d Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Volumes rotation in all reference systems using Rotate gizmo and part manipulator fields
Fixed conflicts during rebase with master
2022-06-02 16:03:27 +02:00
enricoturri1966
5767feecab Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Attempt to fix build on non-Windows OSs 2022-06-02 15:45:21 +02:00
enricoturri1966
5e5fdc4844 Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Volumes translation in all reference systems using Move gizmo and part manipulator fields
Fixed conflicts during rebase with master
2022-06-02 15:45:06 +02:00
enricoturri1966
4f1df27309 Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Modified part manipulation fields to show the proper values in dependence of the selected reference system 2022-06-02 15:06:15 +02:00
enricoturri1966
fdc8a51d3c Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Fixed orientation for sidebar hints in 3D scene for part manipulation in instance and local systems
Fixed conflicts during rebase with master
2022-06-02 15:05:56 +02:00
enricoturri1966
79bdcefbde Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - 1st installment: introduction of instance reference system in part manipulation
Fixed conflicts during rebase with master
2022-06-02 14:58:44 +02:00
enricoturri1966
679f8b0111 Tech ENABLE_WORLD_COORDINATE - Fixed center of Move and Scale gizmos
Fixed conflicts during rebase with master
2022-06-02 14:20:26 +02:00
enricoturri1966
23b5860e35 Tech ENABLE_WORLD_COORDINATE - Fixed visualization of sidebar hints when editing values in Object manipulation fields while using an MMU printer 2022-06-02 13:39:01 +02:00
enricoturri1966
f944595d3d Tech ENABLE_WORLD_COORDINATE - Fixed constrained scaling of volumes in local coordinates 2022-06-02 13:39:01 +02:00
enricoturri1966
cf90ad699f Tech ENABLE_WORLD_COORDINATE - Fixed unconstrained scaling of volumes in local coordinates
Fixed conflicts during rebase with master
2022-06-02 13:38:47 +02:00
enricoturri1966
9e0bb83041 Follow-up of 9ddf2ba41c - Code cleanup
Fixed conflicts during rebase with master
2022-06-02 13:34:21 +02:00
enricoturri1966
ad6dcf3f10 Tech ENABLE_WORLD_COORDINATE - Fixed constrained scaling of instances in local coordinates
Fixed conflicts during rebase with master
2022-06-02 13:30:23 +02:00
enricoturri1966
4aac01a221 Tech ENABLE_WORLD_COORDINATE - Fixed scaling using the Part Manipulation fields in world coordinates for volumes
Fixed conflicts during rebase with master
2022-06-02 13:26:02 +02:00
enricoturri1966
0eaa4c5dea Tech ENABLE_WORLD_COORDINATE - Fixed unconstrained scaling in world coordinates for volumes
Fixed conflicts during rebase with master
2022-06-02 13:21:24 +02:00
enricoturri1966
9074407196 Follow-up of 86b44b4800 - Constrained uniform scaling in world coordinates for rotated instances 2022-06-02 13:09:43 +02:00
enricoturri1966
1191ab42cb Tech ENABLE_WORLD_COORDINATE - Added constrained uniform scaling in world coordinates for instances
Fixed conflicts during rebase with master
2022-06-02 13:09:30 +02:00
enricoturri1966
d7753fc476 Tech ENABLE_WORLD_COORDINATE - Fixed constrained non-uniform scaling in world coordinates for rotated instances
Fixed conflicts during rebase with master
2022-06-02 13:05:12 +02:00
enricoturri1966
d5a02e617a Partial revert of 7e5c214b91 to restore code mistakenly removed and needed when tech ENABLE_WORLD_COORDINATE is disabled
Fixed conflicts during rebase with master
2022-06-02 12:58:35 +02:00
Lukáš Hejl
792caae0ca Follow-up of a47446574e - Disable tbb::task_scheduler_observer in TBBLocalesSetter destructor.
The base class wasn't disabling observing when tbb::task_scheduler_observer was destructed, which leads to undefined behavior.
2022-06-02 12:36:19 +02:00
enricoturri1966
856e0caea6 Tech ENABLE_WORLD_COORDINATE - Fixed rotation in local coordinate for single instance selection
Fixed conflicts during rebase with master
2022-06-02 12:27:49 +02:00
enricoturri1966
f89a902bbb Tech ENABLE_WORLD_COORDINATE - Fixed translation in local coordinate for single instance selection
Fixed conflicts during rebase with master
2022-06-02 12:23:01 +02:00
enricoturri1966
ca5c04bab2 Tech ENABLE_WORLD_COORDINATE - Modified method Selection::requires_uniform_scale()
Fixed conflicts during rebase with master
2022-06-02 12:13:52 +02:00
Lukáš Hejl
6bdaf0eaec Follow-up of a47446574e - Disable tbb::task_scheduler_observer in TBBLocalesSetter destructor.
The base class wasn't disabling observing when tbb::task_scheduler_observer was destructed, which leads to undefined behavior.
2022-06-02 12:13:45 +02:00
enricoturri1966
6433d3af91 Tech ENABLE_WORLD_COORDINATE - Fixed volumes rotation in world coordinate
Added sub-tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET which enable showing world coordinates of volumes' offset relative to the instance containing them

Show 'Drop to bed' button in sidebar whenever the selected instance or volume is not laying on the printbed

Fixed conflicts during rebase with master
2022-06-02 12:07:00 +02:00
enricoturri1966
b2a7c84c85 Tech ENABLE_WORLD_COORDINATE - Fixed gizmo Scale in world coordinates
Fixed conflicts during rebase with master
2022-06-02 11:34:53 +02:00
enricoturri1966
c4ad8bc41a Other refactoring plus some fixes into GLGizmoScale3D
Fixed conflicts during rebase with master
2022-06-02 11:29:47 +02:00
enricoturri1966
4946466633 Fixed color of the line connecting the grabbers while hovering one grabber and pressing CTRL key in Gizmo Scale 2022-06-02 11:27:27 +02:00
enricoturri1966
d50ce6c69c Another small refactoring into GLGizmoScale3D
Fixed conflicts during rebase with master
2022-06-02 11:27:09 +02:00
enricoturri1966
567162a647 Refactoring into GLGizmoScale3D
Fixed conflicts during rebase with master
2022-06-02 11:25:03 +02:00
enricoturri1966
e76b5875b7 Tech ENABLE_WORLD_COORDINATE - Fixed Move and Rotate Gizmo size when the selected instance is scaled
Fixed conflicts during rebase with master
2022-06-02 11:20:09 +02:00
enricoturri1966
30a0246610 Tech ENABLE_WORLD_COORDINATE - Fixes in Gizmo Move behavior
Fixed conflicts during rebase with master
2022-06-02 11:08:37 +02:00
enricoturri1966
bd58b1c1c5 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled
Fixed conflicts during rebase with master
2022-06-02 10:57:33 +02:00
tamasmeszaros
345ee7cf28 Let's not call yield in PlaterWorker
Not worth the risk, needs further investigation
2022-06-02 10:55:59 +02:00
enricoturri1966
e89dc34b3a Tech ENABLE_WORLD_COORDINATE - Fixed drop to bed button behavior 2022-06-02 10:50:36 +02:00
enricoturri1966
c968ba05fb Tech ENABLE_WORLD_COORDINATE - Resize Move and Rotate gizmos in dependence of the selected coordinate system
Fixed conflicts during rebase with master
2022-06-02 10:50:22 +02:00
enricoturri1966
ca5742c401 Tech ENABLE_WORLD_COORDINATE - Gizmo rotate oriented in dependence of the selected coordinate system
Fixed conflicts during rebase with master
2022-06-02 10:16:07 +02:00
YuSanka
50fa4d3d98 Fixed a bug, when "Detach from system preset" button wasn't disappears after click on it and
detaching of the profile from system profile
2022-06-02 09:29:11 +02:00
YuSanka
906f8914a6 SLA estimation time:
* A calculation of the estimation of a print time is ported from the FW
  (See https://gitlab.com/prusa3d/sl1/sla-fw/-/blob/1.7/slafw/project/project.py#L485)
* Some missed parameters are added to the Printer Presets
2022-06-02 09:29:11 +02:00
Lukáš Hejl
2b87601239 Sets locales before any thread start participating in the GCode processing pipeline.
Locales should be set once per any participating threads in tbb::parallel_pipeline.
It should fix the issue with appearing comma instead of the decimal point in generated Gcode.
2022-06-02 09:28:09 +02:00
Lukáš Hejl
81d43a2fd4 Added detection for corrupted PrusaSlicer.ini and fixed showing instructions on how to recover from it (#8217).
Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
2022-06-02 09:28:09 +02:00
Lukas Matena
70fa8ef29d Enforce first layer on experimental wipe tower (#7090) 2022-06-02 09:28:09 +02:00
Lukas Matena
c450592222 Fixed out of bounds when showing color prints in gcode preview legend:
backport of a2a85af4dd onto 2.4.2
Fixes flickering of color square in legend in G-Code Viewer
2022-06-02 09:28:09 +02:00
tamasmeszaros
99c9e4a61d Fix collision after arrange when 'complete Individual objects' is ON
fixes #8335
2022-06-02 09:28:09 +02:00
tamasmeszaros
488cffa559 Fix crash when optimizing rotation
probably helps to solve #8319
2022-06-02 09:28:09 +02:00
Lukas Matena
366167c88b SendSystemInfoDialog: fixed check of internet connection on Windows:
S_FALSE is returned when COM interface is already initialized, it should be considered a success.
2022-06-02 09:28:09 +02:00
Lukáš Hejl
04f9c4b5e0 Fixed a memory leak in the move assignment operator in ExtrusionEntityCollection. 2022-06-02 09:28:09 +02:00
Lukas Matena
d557bd1dd3 Fixed a crash when using a selection rectangle in cut gizmo 2022-06-02 09:28:08 +02:00
enricoturri1966
61e7eb4ade Tech ENABLE_WORLD_COORDINATE - Modified text of tooltips for Gizmo Move
Fixed conflicts during rebase with master
2022-06-02 09:08:24 +02:00
tamasmeszaros
6d349dd3a7 Backport hollowing optimization into stable 2022-06-02 09:04:36 +02:00
tamasmeszaros
b3f7f64ee0 Avoid error on osx for tbb parallel for
Add comment to previous change
2022-06-02 09:04:35 +02:00