Commit graph

10101 commits

Author SHA1 Message Date
PavelMikus
1a25058456 workable version, some parameter tweaking probably still needed 2022-04-25 12:42:51 +02:00
PavelMikus
e8f740dabb implemented overhang calculation and alignemnt iterations for seams
now only external perimeters are considered which  reduced time complexity
2022-04-25 12:42:51 +02:00
PavelMikus
53e9bb3ebf integration of enforcers and blockers 2022-04-25 12:42:51 +02:00
PavelMikus
38a6e231f2 minor changes, more transparent parameters settings 2022-04-25 12:42:51 +02:00
PavelMikus
45b49ad545 initial demo
fixed KD tree neighbour search, finished refactoring of raycasts,
substantially improved performance of seam placement - seams
are now precomputed and their indexes stored such that place_seam does almost nothing.
2022-04-25 12:42:51 +02:00
PavelMikus
55e0f2dd83 refactoring raycaster, gathering only hitpoints and their normals. 2022-04-25 12:42:51 +02:00
PavelMikus
fea247f261 Fixed bug - the rays had opposite directions, so all of them flown away from the object; also fixed compilation bug - missing import of timer.h 2022-04-25 12:42:51 +02:00
PavelMikus
fdfe19ef49 init version of occlusion estimation, raycasting implemented but for some reason only parts of model are estimated 2022-04-25 12:42:51 +02:00
Lukas Matena
142b924366 Fixed MSVC debug assert in lightning infill (invalidated iterator) 2022-04-25 11:06:00 +02:00
Vojtech Bubnik
408e56f039 Fix of Boost 1.79 deprecated boost::filesystem::ofstream #8238
Replacing boost::filesystem::fstream with boost::nowide::fstream
variants with the unfortunate cost of string path conversion on Windows
from 16 bits to UTF8 and back to 16 bits.

Unfortunately we cannot use std::filesystem yet as it is missing
on older MACs and because the interface is crooked minefield on Windows
see https://github.com/microsoft/STL/issues/909
2022-04-25 08:33:48 +02:00
tamasmeszaros
516f459edc Use tight compression for SLA archives with svg 2022-04-19 13:53:50 +02:00
tamasmeszaros
91b79bb85c Fix crash in debug mode when split result contains ill formed parts 2022-04-19 11:46:20 +02:00
tamasmeszaros
2fd5a415c5 Fix arrange when some geometries are ill formed.
SPE-1216
The removed fix for issue 2209 is not needed anymore as the backend (arrange + libnest) takes care of such objects
- Offset is now done with libslic3r offset() wrapper (no expception thrown)
- Zero area objects are discarded in libnest
2022-04-19 11:45:17 +02:00
enricoturri1966
f504236734 Tech ENABLE_GIZMO_GRABBER_REFACTOR - Refactoring of GLGizmoBase::Grabber to have a single static instance of the cube and cone models to be shared by all grabbers 2022-04-14 15:15:14 +02:00
YuSanka
09512c086b Fix for SPE-1220:
* Added check of the visibility for selected presets when Configuration is loaded from SLA archive or from the G-code.
* SLAImportDialog:
    * MSW specific: added dark mode
    * Center on parent
2022-04-13 18:15:46 +02:00
enricoturri1966
3ce2d3a700 #8176 - Tech ENABLE_USED_FILAMENT_POST_PROCESS - Fixes used filament data exported to gcode file not taking in account custom gcode 2022-04-13 15:27:46 +02:00
Lukas Matena
d7c1d0767f File menu on Win should use 'Exit' instead of 'Quit' (#8182) 2022-04-13 09:39:19 +02:00
tamasmeszaros
fe3a58b93e Merge branch 'dev' 2022-04-13 08:56:44 +02:00
enricoturri1966
bea50dce7c Fixed rendering of printbed while the camera is below it 2022-04-11 08:38:09 +02:00
enricoturri1966
a4435d214f Shader mm_contour - Customizable offset to calculate the correction to avoid z-fighting (MESA driver needs bigger one) 2022-04-07 12:59:11 +02:00
enricoturri1966
0995cfc658 Shader mm_contour - Correction to avoid z-fighting moved from fragment shader to vertex shader 2022-04-07 10:40:33 +02:00
enricoturri1966
b265e91df2 Fixed rendering of GLGizmoPainterBase sphere cursor when tech ENABLE_LEGACY_OPENGL_REMOVAL is disabled 2022-04-07 08:50:20 +02:00
enricoturri1966
5e0590a93e Removed assignment to gl_FragDepth into gouraud.fs shader. Replaced with small offset of triangles along their normal. 2022-04-07 08:22:33 +02:00
enricoturri1966
2de1b863bb Fixed build when tech ENABLE_GL_SHADERS_ATTRIBUTES is disabled 2022-04-07 08:18:06 +02:00
Filip Sykala
5004897c2d Merge branch 'master' into dev 2022-04-06 12:42:00 +02:00
enricoturri1966
6b6fb9f692 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Removed redundand #if/#endif into GLModel.cpp 2022-04-05 10:04:36 +02:00
tamasmeszaros
43bd71c49a Add comment to previous change 2022-04-04 15:52:03 +02:00
tamasmeszaros
97652f3e71 Avoid error on osx for tbb parallel for 2022-04-04 15:44:59 +02:00
tamasmeszaros
1070d71da6 Use upstream Qhull, remove duplication in deps and src
REALfloat is not defined to 0 on all platforms.
2022-04-04 12:43:25 +02:00
tamasmeszaros
41397f90a4 Use upstream GLEW, remove duplication in deps and src
Also update glew to 2.2 where NOGDI is properly unset before windows.h is included. This was a patch in our copy of GLEW 1.13
2022-04-04 12:43:25 +02:00
tamasmeszaros
e50a408e2e Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-04-04 12:43:25 +02:00
enricoturri1966
0967974479 Fixed GLModel::reserve_indices() 2022-04-04 12:23:01 +02:00
enricoturri1966
5307114969 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-04-01 08:35:19 +02:00
enricoturri1966
a821668dc7 Fixed comparison operators of ColorRGB and ColorRGBA 2022-04-01 08:35:10 +02:00
enricoturri1966
9b5d17dfbd Follow-up of e01d32d01a - Fixed typo 2022-04-01 08:28:58 +02:00
Lukas Matena
aa2a8178f8 Fixed some compiler warnings 2022-03-31 16:42:15 +02:00
Lukas Matena
e01d32d01a Fixed several std::moves that had no effect, moved GCode data to heap 2022-03-31 16:42:15 +02:00
Lukas Matena
96a6c8538f Some refactoring and fixes based on static source code analysis 2022-03-31 16:33:52 +02:00
YuSanka
807f380d3f Fix for #8091 - Design bug: Yes/No response to save dialogue 2022-03-31 14:34:53 +02:00
enricoturri1966
0763a48ce5 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed OpenGL clipping planes while rendering picking pass 2022-03-31 13:23:04 +02:00
Lukas Matena
8004e19879 Fix of #8126: crash on startup with wx3.0:
this appeared after 1f362af. The wxEXEC_SYNC is the default, but not using
wxEXEC_NOEVENTS caused a crash in wxWidgets3.0 (see #8126)
2022-03-30 15:28:44 +02:00
Lukas Matena
3934b1dbed Remove repeated spaces from the wipe tower gcode (#7503) 2022-03-30 09:25:36 +02:00
Lukas Matena
684733af52 Enforce first layer on experimental wipe tower (#7090) 2022-03-30 09:25:31 +02:00
enricoturri1966
55aef05fbf Fix into GCodeViewer::refresh_render_paths() 2022-03-29 13:18:04 +02:00
Vojtech Bubnik
60d7564942 FFF background slicing for a single object only:
Generalized the "enabled milestone" from SLA
to both SLA and FFF.
Merged the "milestone enabled" flag into the milestone status.
Fixed some potential threading issues in SLAPrint::finalize()
when resetting the "milestone enabled" flags.
2022-03-29 11:19:50 +02:00
enricoturri1966
26d1b2a5cd Small refactorings related to GLCanvas3D::_mouse_to_3d() 2022-03-29 11:11:03 +02:00
enricoturri1966
888f45c0d3 Tech ENABLE_PROCESS_G2_G3_LINES - Fixed update of horizontal slider in gcode preview 2022-03-25 14:03:44 +01:00
David Kocik
9ece7c0ad4 Rendering of regular text after hypertext in regular notifications.
(Using code from Hint notification)
2022-03-24 12:37:55 +01:00
David Kocik
8202862809 object info notifiction not show on copy obj 2022-03-24 12:37:55 +01:00
Lukáš Hejl
7d2e89286f Added a possibility into thick_polyline_to_extrusion_paths() to separately set tolerance for merging two following lines based on a difference between lines width. 2022-03-24 11:31:03 +01:00
enricoturri1966
94b98e349b Tech ENABLE_NEW_RECTANGLE_SELECTION - Fixed SHIFT + left mouse selection/deselection 2022-03-24 10:10:17 +01:00
enricoturri1966
9b34389f00 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-03-24 09:51:51 +01:00
enricoturri1966
11f0dc4589 Tech ENABLE_NEW_CAMERA_MOVEMENTS - Reverted middle mouse dragging to pan the view 2022-03-24 09:51:42 +01:00
Lukáš Hejl
eae3932550 Added missing includes (GCC11.1 without PCH). 2022-03-24 09:33:26 +01:00
enricoturri1966
24bcbd9c0c Optimization in GLCanvas3D::_render_camera_target() 2022-03-23 15:18:24 +01:00
enricoturri1966
4b4ed423ef Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fix into GLModel::send_to_gpu() 2022-03-23 13:16:51 +01:00
enricoturri1966
3cecd07011 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Refactoring of Camera::apply_viewport() 2022-03-23 11:11:13 +01:00
David Kocik
6853f8a3c6 MacOS build fixes 2022-03-23 09:34:12 +01:00
David Kocik
1f362afb24 Fixes after CR
Most important: 
Change Download dialog to select path there.
Every user query triggers new download of version file, possibly stops former download (with dialog).
Some functions refactored.
2022-03-23 09:34:12 +01:00
Lukas Matena
5a6824273c Comments from lm regarding previous commit 2022-03-23 09:34:12 +01:00
Lukas Matena
0e9a8f24c3 Added some missing includes (GCC 9.3, without PCH) 2022-03-23 09:34:12 +01:00
David Kocik
43124979e5 app updater feature
checks online version file
offers download of new version of slicer
download with notification
opens instalator or target folder
2022-03-23 09:34:12 +01:00
enricoturri1966
1d2339fbce Follow-up of a0630420d9 - Fixed warning 2022-03-23 08:18:23 +01:00
enricoturri1966
86641a481e Fixed typo 2022-03-22 15:35:02 +01:00
enricoturri1966
a0630420d9 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Calculation of camera projection matrix 2022-03-22 15:20:51 +01:00
enricoturri1966
9076bcc268 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-22 08:23:10 +01:00
enricoturri1966
2defd32260 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_lines_g2_g3 2022-03-22 08:20:06 +01:00
enricoturri1966
ea55f16ce4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-22 08:18:51 +01:00
enricoturri1966
9be3d926c5 Tech ENABLE_LEGACY_OPENGL_REMOVAL - A few refactorings and fixes 2022-03-22 08:18:39 +01:00
tamasmeszaros
c1e54675f5 Prevent hard crash in rare circumstances 2022-03-21 17:16:25 +01:00
enricoturri1966
a2a9281ec8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-21 13:10:57 +01:00
enricoturri1966
76d1d4949b Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140 2022-03-21 13:10:47 +01:00
enricoturri1966
4964d6ecd5 ENABLE_GL_IMGUI_SHADERS - Fixes in ImGuiWrapper::render_draw_data() 2022-03-21 11:31:32 +01:00
enricoturri1966
6ee4457b31 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_lines_g2_g3 2022-03-21 08:54:04 +01:00
enricoturri1966
93d703518d Tech ENABLE_PROCESS_G2_G3_LINES - Improved detection of layer zs for gcode produced by other slicers 2022-03-21 08:53:55 +01:00
enricoturri1966
0bd3112b7a Reworked custom gcode toolpaths generation 2022-03-18 15:45:42 +01:00
enricoturri1966
82fe599cae Fixed warnings and build on MAC OS 2022-03-18 14:12:29 +01:00
enricoturri1966
21e6dccc12 Fixed conflicts after merge with master 2022-03-18 13:36:32 +01:00
enricoturri1966
8c8e908325 Tech ENABLE_PROCESS_G2_G3_LINES - Processing of gcode G2 and G3 lines 2022-03-18 13:34:53 +01:00
Lukas Matena
f3d92bdeff Fixup of 5de93c8 (incorrectly solved merge conflict) 2022-03-18 10:25:00 +01:00
enricoturri1966
a7d466dc7c Tech ENABLE_Z_OFFSET_CORRECTION set as default 2022-03-18 08:32:35 +01:00
enricoturri1966
45e4d90504 GCodeViewer - Hide bottom toolbar when loading a new gcode file 2022-03-17 15:44:03 +01:00
enricoturri1966
493050a279 Removed redundant line of code 2022-03-17 15:29:18 +01:00
enricoturri1966
fb22612d0d Tech ENABLE_SPIRAL_VASE_LAYERS set as default 2022-03-17 15:12:03 +01:00
enricoturri1966
8d5dd759ad SPE-1208 - Fix for 3mf from another SW is loaded as a project and not as geometry 2022-03-17 14:31:14 +01:00
enricoturri1966
99861f1b6e SPE-1207 - Extensions in Open/Save/Export dialogs - alternative implementation for file_wildcards() 2022-03-17 14:20:35 +01:00
Lukas Matena
ff2b8da8dc Fixed crash when pressing 'Reset rotation' button while editing SLA support points (mentioned in #7359) 2022-03-17 11:39:58 +01:00
Lukas Matena
5de93c8784 Fixed incorrect handling of 3rd party 3MFs in SLA mode (#6100 and others) 2022-03-17 11:13:20 +01:00
Lukáš Hejl
0c4df47bd0 Fixed various issues in the ported Lightning infill.
Added export to SVG for TreeNode.
Also was finalized integration of Lightning infill and Lightning infill was enabled.
2022-03-16 23:37:05 +01:00
enricoturri1966
9701d3b01d Follow-up of 033bee6431 - Fixed warnings 2022-03-15 10:31:30 +01:00
enricoturri1966
4e17c02505 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_new_camera_movements 2022-03-15 09:18:04 +01:00
enricoturri1966
568bd39c5a Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of default bed in thumbnails 2022-03-15 09:16:06 +01:00
enricoturri1966
58701b237d Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed rendering of bed texture in thumbnails 2022-03-15 09:05:16 +01:00
enricoturri1966
887ce89558 Limit width of GCodeViewer::SequentialView::GCodeWindow 2022-03-15 08:50:00 +01:00
enricoturri1966
0a2001ed1c #8032 - GCodeProcessor - Fixed parsing of LAYER_CHANGE tag for spiral vase mode 2022-03-14 15:21:00 +01:00
enricoturri1966
033bee6431 Removed obsolete code from GCodeViewer 2022-03-14 14:55:25 +01:00
enricoturri1966
9174fc4872 Removed obsolete tech ENABLE_FIXED_SCREEN_SIZE_POINT_MARKERS 2022-03-14 14:25:09 +01:00
enricoturri1966
2ab8469cb6 Refactoring in ImGuiWrapper::render_draw_data() 2022-03-14 13:34:08 +01:00
enricoturri1966
f0bad14748 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Small refactoring into GCodeViewer::render_toolpaths() 2022-03-14 09:59:38 +01:00
enricoturri1966
4eee0d05f3 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Use shader's vertex attributes and matrices in GLMmSegmentationGizmo3DScene 2022-03-14 09:50:42 +01:00