335 Commits

Author SHA1 Message Date
Lukas Matena
2423da86a2 The paining cache is not a member of GLVolumeCollection, not a static variable:
this is needed because static variables are destroyed after OpenGL context is
destroyed, and the GLModels should not oulive it.
2024-06-12 19:11:05 +02:00
Lukas Matena
f5b35950a7 Fixed issues when rendering shells of painted objects 2024-06-12 19:11:05 +02:00
Lukas Matena
46bb8e5ac6 Added a cache so that painted areas do not have to be recalculated in every frame,
the painted areas are not rendered as painted when the volume is in hover state
2024-06-12 19:11:05 +02:00
enricoturri1966
93a47c971a Port of b2627055e34d1d42b86b32613e3fd0c07051ee63 from branch et_spe2109 2024-06-12 19:11:05 +02:00
enricoturri1966
c2b8914ed0 Tech ENABLE_GL_CORE_PROFILE set as default 2024-03-26 14:41:57 +01:00
enricoturri1966
1112fca688 Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES 2024-03-26 14:41:57 +01:00
enricoturri1966
793bc60ef4 Fixed warning 2024-03-26 14:41:56 +01:00
Lukas Matena
69808c3b12 Fixed arrange which put the wipe tower slightly out of bed (#11367, #11410, SPE-1966) 2024-02-07 09:59:41 +01:00
YuSanka
fbc7c73cfb Set colors of selected parts in respect to theirs types 2023-11-08 16:25:19 +01:00
enricoturri1966
d7b77e44bf SPE-1891: Fixed color of modifiers when moved below the printbed 2023-09-19 09:40:19 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
19062b4d5f ArcWelder path interpolation based on the work by Brad Hochgesang @FormerLurker.
WIP GCode/SmoothPath.cpp,hpp cache for interpolating extrusion path with arches.
Removed Perl test t/geometry.t, replaced with C++ tests.
Refactored ExtrusionEntity and derived classes to hold extrusion attributes in new ExtrusionFlow/ExtrusionAttributes classes.
Reworked path ordering in G-code export to never copy polylines, but to work with a new "flipped" attribute.
Reworked G-code export to interpolate extrusion paths with smooth paths and to extrude those smooth paths.
New parameters: arc_fitting, arc_fitting_tolerance
Renamed GCode class to GCodeGenerator
Moved GCodeWriter.cpp/hpp to GCode/
Moved Wipe from from GCode.cpp,hpp to GCode/Wipe.cpp,hpp
Moved WipeTowerIntegration from GCode.cpp,hpp to GCode/WipeTowerIntegration.cpp,hpp
New variant of douglas_peucker() to simplify range of iterators in place.
Refactored wipe in general and wipe on perimeters / hiding seams.

WIP: Convert estimate_speed_from_extrusion_quality() and its application to smooth paths.
WIP: Cooling buffer to process G2G3, disable arc fitting for filters that cannot process it.
2023-07-13 11:54:42 +02:00
Lukas Matena
46678c27b5 Conflict checker: detection of the wipe tower when it narrows towards the top 2023-05-31 13:34:03 +02:00
enricoturri1966
15bd82edc3 SPE-1654 - Out of printbed detection applied only to selected volumes when the selection is not empty 2023-05-15 13:45:25 +02:00
enricoturri1966
35195dc03e Revert "Merge remote-tracking branch 'origin/et_outofbed_optimization'"
This reverts commit a430aa41bac56875476dddb20c1b2a99b3a15833, reversing
changes made to a42d8571367d825a454e993a1f4e56883d3d3629.
2023-05-12 14:09:16 +02:00
enricoturri1966
53b812a646 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_outofbed_optimization 2023-05-12 12:00:58 +02:00
enricoturri1966
653d7bc678 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_outofbed_optimization 2023-05-11 11:40:50 +02:00
enricoturri1966
159e699cd5 Fixed conflicts after merge with master 2023-04-26 12:35:02 +02:00
enricoturri1966
5c581e3998 Fixed warnings 2023-04-20 08:42:09 +02:00
enricoturri1966
3b93b316c6 SPE-1654 - Out of printbed detection applied only to selected volumes when the selection is not empty 2023-04-12 10:07:50 +02:00
enricoturri1966
c5b224c0c1 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-04-03 08:56:27 +02:00
enricoturri1966
797dd1197e Allow the user to switch between visualizing original or processed volumes in 3D scene after slicing using SLA printers 2023-04-03 08:54:04 +02:00
Lukas Matena
9775bf213d Wipe tower: changed the way how initial wipe tower preview depth is calculated 2023-03-31 16:42:44 +02:00
enricoturri1966
6084a92d9b Fixed conflicts after merge with master 2023-03-30 08:52:20 +02:00
enricoturri1966
98346824e8 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-24 08:49:35 +01:00
Lukas Matena
b20325671a Wipe tower: added the stabilization cone into configuration 2023-03-23 12:44:42 +01:00
Lukas Matena
571b133791 Wipe tower: stabilization cone 2023-03-23 12:44:42 +01:00
enricoturri1966
e585fd2221 Fixed duplication of auxiliary volumes when GLCanvas3D::reload_scene() is called for SLA printers 2023-03-23 10:16:13 +01:00
enricoturri1966
1b8553c747 Reintroduced visualization of SLA supports and pad into 3D scene and gizmos Hollow and SLA support as it was in 2.5.0 2023-03-20 14:34:04 +01:00
enricoturri1966
9ab132ca44 Fixed warnings 2023-03-09 09:49:55 +01:00
enricoturri1966
54ea675473 Generation of procedural model for wipe tower reverted to old implementation, as the raycasted picking does not require it to be watertight anymore 2023-03-08 09:21:59 +01:00
enricoturri1966
3b174c37a0 Fixed procedural generation of wipe tower model 2023-02-20 07:52:50 +01:00
enricoturri1966
224ee922c5 'gouraud' shader modified to allow to draw an object with two different colors in Cut Gizmo 2023-02-15 12:02:10 +01:00
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
Lukas Matena
aa83b20b8e Small optimizations in rendering functions 2023-02-07 17:52:37 +01:00
tamasmeszaros
fc9b7ed59c Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-13 11:02:06 +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
enricoturri1966
2bcb62d447 Do not generate volumes' raycaster for preview 2022-12-12 08:27:19 +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
enricoturri1966
43c195e227 Fixed conflicts after merge with master 2022-12-07 15:44:27 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
enricoturri1966
8eb12cbaf0 Fixed conflicts after merge with master 2022-12-05 13:29:28 +01:00
enricoturri1966
6f18f8f784 Tech ENABLE_RAYCAST_PICKING set as default 2022-12-05 10:24:30 +01:00
enricoturri1966
a78dfa2522 Fixed rendering of transparent objects on MAC 2022-11-30 13:23:26 +01:00
tamasmeszaros
f100a59688 Cherry-picking 118f4859c472ccbc30b43101c6674dadc81d7b12
And resolve conflicts
2022-11-29 11:14:19 +01:00
tamasmeszaros
15fa4c42d6 Finalize new sla backend interface
no has_mesh or get_mesh based on states, but specific methods to get the mesh type needed (support, pad, object)

Commented out everything that does not conform in frontend
2022-11-29 11:11:02 +01:00
Filip Sykala - NTB T15p
e28f9daf1e Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Point.hpp
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Selection.cpp
2022-11-25 11:03:50 +01:00
enricoturri1966
569db9689f Removal of calls to Geometry::assemble_transform() 2022-11-24 14:58:20 +01:00
Filip Sykala - NTB T15p
a752ccb420 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Technologies.hpp
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/Selection.cpp
2022-10-19 19:35:31 +02:00