Commit Graph

21201 Commits

Author SHA1 Message Date
enricoturri1966
4979f9e36a Gizmo measure - Revert of 7b569c4eb7 and renaming of distances shown in imgui dialog 2022-12-14 08:57:13 +01:00
YuSanka
24366c6294 Cut: Fixed connector rendering in "cut plane" mode 2022-12-13 16:36:10 +01:00
Pavel Mikus
a57e2a22f6 fixed bug with instancing 2022-12-13 13:13:31 +01:00
PavelMikus
49b68b936c refactored support spot generator to store data in the shared PrintObjectRegions struct, automatic coloring moved to frontend.
There are still issues with multiple instances
2022-12-13 13:13:31 +01:00
tamasmeszaros
b67fe277fc Ease up tolerance for failing SLA test 2022-12-13 10:40:35 +01:00
YuSanka
a22c18475a 2DBed and BedShapeDialog: Fixed memory leaks 2022-12-13 10:21:02 +01:00
Filip Sykala - NTB T15p
e02c5e84cc Overwritte common transformation stored in gl_volume by emboss surface transformation instead of rewrite result in CallAfter 2022-12-12 17:46:43 +01:00
Filip Sykala - NTB T15p
a32b2764c6 Disable move of text out of object surface 2022-12-12 17:08:21 +01:00
Filip Sykala - NTB T15p
99d4884074 remove anonymous namespace and use priv instead of it 2022-12-12 17:00:48 +01:00
Filip Sykala - NTB T15p
f7297a240e Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-12 13:28:25 +01:00
Filip Sykala - NTB T15p
c254d09667 Fix adding cut surface on torus by right panel
Fix (partialy) position of add text on torus by right panel
2022-12-12 13:28:17 +01:00
PavelMikus
30e81fad3b Disallow enabling options avoid_crossing_perimeters and
avoid_curled_filament_during_travels at the same time,
throw warning if both options enabled together - in this case ignore curled filament avoidance
2022-12-12 11:36:21 +01:00
enricoturri1966
fc929d9faf Fixed assert in creation of model for sinking contours rendering when vertices count is zero 2022-12-12 11:14:38 +01:00
PavelMikus
15046aba42 fix compilation issues - missing template keywords 2022-12-12 11:11:08 +01:00
Vojtech Bubnik
cda29fa4ac Improved robustness of the cut algorithm, follow-up to 96ab500a13
1) Fixed crack between the trimmed object triangles and the triangles
   closing the cut (newly triangulated) by snapping the existing vertices
   on cutting plane to coord_t scaled coordinates. Such snapping is
   needed for vertices close to zero where float has a higher absolute
   accuracy than coord_t.
2) Improved accuracy of triangle cutting by calculating the cut contour with doubles.
3) Improved accuracy of triangle cutting by implementing rounding to coord_t instead of floor.
2022-12-12 10:18:33 +01:00
enricoturri1966
2bcb62d447 Do not generate volumes' raycaster for preview 2022-12-12 08:27:19 +01:00
YuSanka
0d512a4256 Cut: Extended detection if connector is outside of cut contour
It respects to the whole connector contour now
2022-12-09 18:26:59 +01:00
rtyr
b9c54e900a
added SERMOONV1 and ENDER5 S1 thumbnails
per request from https://github.com/prusa3d/PrusaSlicer-settings/issues/175
2022-12-09 15:03:00 +01:00
YuSanka
7edc2acfc0 Cut: Connectors mode: Implemented forward/downward view to the cut plane
+ updated cut ikons
2022-12-09 11:15:48 +01:00
Filip Sykala - NTB T15p
c80f2f14ef Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-08 15:20:48 +01:00
Filip Sykala - NTB T15p
4bc0d1dee2 Disallow float window 2022-12-08 15:20:40 +01:00
Lukas Matena
f81382f604 Generic sphere shape is now created by recursive division of an icosahedron 2022-12-08 14:55:32 +01:00
Filip Sykala - NTB T15p
8640946fa9 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-08 14:10:25 +01:00
Filip Sykala - NTB T15p
4b3fc0f821 fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2675:15: warning: unused variable 'font_prop' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3463:13: warning: 'Slic3r::Transform3d priv::create_transformation_on_bed(const Vec2d&, const Slic3r::GUI::Camera&, const std::vector<Eigen::Matrix<double, 2, 1, 2> >&, double)' defined but not used [-Wunused-function]
2022-12-08 14:10:17 +01:00
YuSanka
f44e57d335 Fix for: Not printable text volume after update is set as printable
(#SPE-1384, https://dev.prusa3d.com/browse/SPE-1384)
2022-12-08 14:01:19 +01:00
Filip Sykala - NTB T15p
35baa70be0 Merge branch 'master' into fs_emboss 2022-12-08 13:17:27 +01:00
Filip Sykala - NTB T15p
f188e0ef88 Draw circle on the origin 2022-12-08 13:17:15 +01:00
Vojtech Bubnik
dee9fb797c Follow-up to 8858651bf4
Fixed missing support interface layers in G-code after
Refactoring of Layers: Reworked G-code export...
2022-12-08 13:05:47 +01:00
Vojtech Bubnik
7f6f63db0f Fixed asserts in connecting islands and in perimeter overhangs
due to self intersections in clipped clipping rectangle.
2022-12-08 13:05:47 +01:00
YuSanka
767a556443 MenuFactory: SLA specific: Fixed adding of the "Edit text" menu item 2022-12-08 11:21:29 +01:00
David Kocik
d466482e7d Merge branch 'dk_volume' 2022-12-08 10:22:36 +01:00
David Kocik
d9e7195b61 Build volume as parameter in config wizard custom printer 2022-12-08 10:15:29 +01:00
YuSanka
6d1eec0da6 Hot-fix follow up 71a0b626a9 2022-12-08 09:39:36 +01:00
Filip Sykala - NTB T15p
ce2e0e7978 Merge branch 'master' into fs_emboss 2022-12-08 08:54:26 +01:00
Filip Sykala - NTB T15p
a754535dfc Show correct depth and height for scaled object inside emboss gizmo 2022-12-08 08:54:17 +01:00
YuSanka
71a0b626a9 Fixed memory leaks on switch between parameter pages 2022-12-07 16:56:19 +01:00
Lukas Matena
d2c8d628b9 Fixed a bug in Cut gizmo - contour width was not updating correctly 2022-12-07 16:15:25 +01:00
Lukas Matena
595ef873ad Change the way how cut gizmo detects hits on cut plane:
it did not work well on meshes with overlapping surfaces
2022-12-07 16:15:25 +01:00
Lukas Matena
85ad56b43b Optimization: std::vector<bool> can be quite slow to access 2022-12-07 16:15:25 +01:00
enricoturri1966
fe3a15942b Follow-up of 6d737f7081883071a547e0c9960813342e8388e3 - Ensure icon size is a whole number wherever is used 2022-12-07 14:50:20 +01:00
Lukas Matena
b037e5f024 Optimization: do not regenerate toolbar texture in each frame 2022-12-07 14:38:02 +01:00
Filip Sykala - NTB T15p
25bb81b9f6 Merge branch 'master' into fs_emboss 2022-12-07 13:34:40 +01:00
Filip Sykala - NTB T15p
c0a60d4637 scale for text height information showed to user 2022-12-07 13:34:36 +01:00
Filip Sykala - NTB T15p
d214159fc9 Bigger surface offset to be able see negative volume alligned with surface(constant used by @enrico ) 2022-12-07 13:33:22 +01:00
tamasmeszaros
05ee2a06ff Don't allow short if and for statements on one line
Make debugging harder
2022-12-07 13:27:03 +01:00
Filip Sykala - NTB T15p
c8503d5835 Add using camera direction together with use surface 2022-12-06 14:45:25 +01:00
Filip Sykala - NTB T15p
307d541eaf Add option to use camera orientation for text. 2022-12-06 14:34:16 +01:00
Filip Sykala - NTB T15p
12e6948fef Fix imgui want to have persistant io key during new window
imgui assert  - [link]{b1bfef44ba/src/imgui/imgui.cpp (L7180)}
2022-12-06 14:33:34 +01:00
enricoturri1966
b7740743b8 Gizmo measure fixed to work with mirrored objects 2022-12-06 14:07:51 +01:00
enricoturri1966
5351137183 (Win Only) Detection of cursor size, to place tooltips on scene, performed on tooltip text setting instead of being repeated every frame 2022-12-06 13:49:05 +01:00