PavelMikus
b5a5926bbe
Implemented alignment of inner seams, especially in concave angles where the perpendicular
...
projection is suboptimal.
2022-04-25 12:42:51 +02:00
PavelMikus
e377e58cd2
Updated weights for curve fitting, ensured snapping to sharp corners
...
Fixed debug exports after refactorings.
2022-04-25 12:42:51 +02:00
Godrak
43d9166382
nomralize weights of points before curve fitting and fitted value interpolation
2022-04-25 12:42:51 +02:00
PavelMikus
68cf4db58e
interpolate fitted and original position during b spline alignment -
...
push points with large weight more towards their original position
2022-04-25 12:42:51 +02:00
PavelMikus
137fa35238
Postpone seam picking for spNearest configuration to the place_seam method.
2022-04-25 12:42:51 +02:00
PavelMikus
83f3ca27dc
reworked and improved the find_next_seam_in_layer method:
...
Now uses find nearby_points with radius to save some computations
if all points are far.
From the nearby points, it finds the nearest and best point, and tries
to use them in this order (preivously only nearest was considered).
This helps to snap the alignment to nearby sharp corners if present.
2022-04-25 12:42:51 +02:00
PavelMikus
04d4a0d4f7
when searching for central enforcer (for alignment purposes), find properly the first
...
enforced segment. Fixed issue where if the enforced segment was painted over the start/end of the
perimeter, part of the enforced points was not considered.
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
2dfabb7e69
Fixing missing include.
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
399b7f79e8
Little more refactoring of SeamPlacer.
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
8c2e6aba79
On MSVC, std::deque degenerates to a list of pointers, which defeats
...
its purpose of reducing allocator load and memory fragmentation.
https://github.com/microsoft/STL/issues/147#issuecomment-1090148740
Slic3r::deque<> compiles to boost::container::deque<> on Windows,
to std::deque<> on other systems.
SeamPlacer newly uses Slic3r::deque<>.
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
adb467286f
Documented the seam placement corner penalty with an image.
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
853b8adf80
Little refactoring of SeamPlacer.
...
Moved color mapping functions to Color.hpp
Removed the "extern" keyword from Color.hpp
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
f5709345ad
GCode export: Replaced std::strings in G-code comments with string_views.
...
Seam placer: Detecting perimeter by the pointer and size of the
comment_perimeter string_view, only placing seams for perimeters.
2022-04-25 12:42:51 +02:00
PavelMikus
fb2621c03c
Negative volumes raycasting fix - normal was flipped between iterations, incorrect algorithm for hit detection
...
Debug files export fix after refactoring
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
8ce36e9137
Refactoring of SeamPlacer:
...
Replaced shared_ptr<> with deque.
Merged multiple vectors into one.
Refactoring using common helper functions (prev/next_idx_modulo(),
angle(), ...)
AABBTreeIndirect::intersect_ray_all_hits(): Reuse memory of the hits cache.
2022-04-25 12:42:51 +02:00
PavelMikus
3b8cfc62da
fixed drawing seams on multipart objects
...
removed oversampling for blockers
improved drawing seams over sharp features
2022-04-25 12:42:51 +02:00
PavelMikus
47fc39a4ba
fixed misleanding or wrong comments of the fitting function
2022-04-25 12:42:51 +02:00
PavelMikus
ae89d65e3e
added description for the parameter count increase
2022-04-25 12:42:51 +02:00
PavelMikus
396d3215bd
Refactoring of curve fitting algorithm:
...
removal of artificial extension at the ends of the curve
removal of observation points normalization
added clamping of parameter index which compensates for under-represented spline segments
added parameter for level of freedom at the ends of the curve
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
c19770189f
Follow-up to 1c9ba291fe32bc4a4c78cabbab0639b0c164f23f
...
Refactoring of Curves.hpp for better memory management and vectorization
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
42e802c1b8
Refactoring of Curves.hpp for better memory management and vectorization
...
(replaced vector of vectors with Eigen 2D matrices).
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
bd8ce6fabd
Follow-up to 9cb51caead9dee5c4d12a4ef5f925b5efeb00b75
...
Fixing compilation on GCC
2022-04-25 12:42:51 +02:00
Vojtech Bubnik
7d02647ebf
Removed various Point::ccw() and Point::ccw_angle() methods, they were
...
provided for Perl bindings and their semantic was confusing.
Implemented free function angle() to measure angle between two vectors.
Reworked Polygon::convex/concave_points(), changed the meaning of their
angle threshold parameter.
Removed some unused methods from Perl bindings and tests.
Reworked the "wipe inside at the external perimeter" function
after Point::ccw_angle() was removed.
2022-04-25 12:42:51 +02:00
PavelMikus
156a60017d
fixed ExPolygons dealocation while using EdgeGrid
...
fixed warnings in Bicubic.h file
2022-04-25 12:42:51 +02:00
PavelMikus
965803822e
remove invalid comment
2022-04-25 12:42:51 +02:00
PavelMikus
1164449d4e
compute overhang distance using SDF
...
detect embedded (inner) perimeter points and prefer them for seam placement
2022-04-25 12:42:51 +02:00
PavelMikus
191e788aa0
make Random seams disaligned
2022-04-25 12:42:51 +02:00
PavelMikus
15135ef2ed
fixes, central enforced point preference
2022-04-25 12:42:51 +02:00
PavelMikus
5c23d471de
BSplines, Polynomial fitting
2022-04-25 12:42:51 +02:00
PavelMikus
bbcd6be250
Implemented piecewise data (curve) fitting with variable kernels
2022-04-25 12:42:51 +02:00
PavelMikus
bb89b630d9
implemented occlusion estimation for objects with negative volumes
2022-04-25 12:42:51 +02:00
PavelMikus
ca259caf33
fix ccw angle computation in Point.cpp
2022-04-25 12:42:51 +02:00
PavelMikus
177a1fd54a
finalize integration into GCode.cpp export functions, remove unused
...
edge grids
2022-04-25 12:42:51 +02:00
PavelMikus
6dbc7149be
parameter fixes, alignemnt for enforcers simplified
2022-04-25 12:42:51 +02:00
PavelMikus
c640fb854f
bug fix: using trafo() instead of trafo_centred() caused
...
misalignment between occlusion mesh and seam candidates
2022-04-25 12:42:51 +02:00
PavelMikus
2274965079
alignment from best candidate
2022-04-25 12:42:51 +02:00
PavelMikus
eccf1c1553
refactored raycasting - inverted direction of raycasting - now each face is tested
...
fixed bug with custom seam drawings - square distance parameter named incorrectly
2022-04-25 12:42:51 +02:00
PavelMikus
a9f5330ad2
using gauss function to smoothen criteria skips
2022-04-25 12:42:51 +02:00
Godrak
ab3c8d0fe8
implemented smooth angle penalty function
2022-04-25 12:42:51 +02:00
PavelMikus
a92d5038bd
debug export svg info,
...
fixing problem with weird seam placement caused by disconnected scoring function
2022-04-25 12:42:51 +02:00
PavelMikus
962282c9ef
split occlusion and enforcers/blockers into separate functions
...
added weights to polynomial fitting
2022-04-25 12:42:51 +02:00
PavelMikus
f837759928
fixed problem with multipart objects
...
fixed bug : model volume trafo was not considered
2022-04-25 12:42:51 +02:00
PavelMikus
a775bf2978
improved enforcers blockers oversampling, renamed parameter
2022-04-25 12:42:51 +02:00
PavelMikus
8f7b86915a
oversample polygons where necessary, due to seam enforcers & blockers
2022-04-25 12:42:51 +02:00
PavelMikus
87c276b7a4
comments and bugfix
2022-04-25 12:42:51 +02:00
PavelMikus
ad819850f9
tweaked parameters,
...
fixed minor bugs
2022-04-25 12:42:51 +02:00
PavelMikus
c72687c96c
computing smooth score instead of binary decision when picking seams
...
some basic documentation
2022-04-25 12:42:51 +02:00
PavelMikus
105b67c9a7
presorting seams before alignemnt
...
mesh decimation for speed up
2022-04-25 12:42:51 +02:00
PavelMikus
f018160e72
implemented polynomial alignment,
...
however, initital seam placement is not ideal
- hard to balance visual cues and angle information
2022-04-25 12:42:51 +02:00
PavelMikus
ffc7452d9e
improved visibility calculation - it now considers normals and
...
accordingly counts only hits which have similar normal
2022-04-25 12:42:51 +02:00
PavelMikus
38a9d870c0
implemented seam alignment using exponential smoothing
2022-04-25 12:42:51 +02:00
PavelMikus
596bd68f18
refactoring, created perimters struct to store info,
...
removed alignment iterations, created dynamic ray count estimation
2022-04-25 12:42:51 +02:00
PavelMikus
53ff4a69e0
implemented debug files export
2022-04-25 12:42:51 +02:00
PavelMikus
3029053d43
fixed some problems according to code review
...
simplified blockers and enforcers
Pre-Refactoring version
2022-04-25 12:42:51 +02:00
PavelMikus
5a03f60c31
fixed bug: wrong estimation of angles inside holes
2022-04-25 12:42:51 +02:00
PavelMikus
356ed93ad7
Raft layers cause SeamPlacer crash - fix
2022-04-25 12:42:51 +02:00
PavelMikus
132f4bb590
bugfix: usage of undeclared M_PIf32 instead of PI
2022-04-25 12:42:51 +02:00
PavelMikus
4b3db29d32
refactoring into floats, fixed problems with float/double mixing,
...
returned to fixed ray count, yields better results
2022-04-25 12:42:51 +02:00
PavelMikus
8226061da4
so far best version
2022-04-25 12:42:51 +02:00
PavelMikus
36a4906536
refactored init method - split into several parts,
...
added blur filter to seam placement distribution
2022-04-25 12:42:51 +02:00
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
1a4ce039da
Fix of #8175 : crash with Import SL1 in some cases
...
- do not process non-existing file, report as error
- cancelling the dialog is not an error, but a check in finalize() is needed
- fixed some localization issues (serious btw: the ToStdString returned "" in one of the cases, which would in turn ignore the error and proceed as if if did not happen)
- reset err in reset(), just to be sure
2022-04-13 12:33:25 +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
Lukas Matena
3b94494c4f
Fix of #8186 : incorrect count of toolchanges reported:
...
broken for o long time, probably since 58a811a
2022-04-12 13:39:14 +02:00
Lukas Matena
6288ec4bf0
Fix of #8171 : Two Chinese characters added into the range to load for ImGui
2022-04-11 12:10:16 +02:00
YuSanka
ed71887e35
Fix for #8122 - When you change setting with a blank project and go to exit it will ask you to save blank project, if you don't "save", prusa slicer wont' shut down
...
and #8076 - PrusaSlicer-2.4.1 does not close with no 3D-Model loaded and unsafed
2022-04-11 12:09:30 +02:00
YuSanka
a248490507
Fix for #7905 - Segfault when changing printer after loading 3mf with a different printer set
...
Update searcher only before open one of next dialogs : SearchDialog, UnsavedChangesDialog or DiffPresetDialog.
But only Search dialog respects to the mode of PrusaSlicer
2022-04-11 12:09:30 +02:00
enricoturri1966
bea50dce7c
Fixed rendering of printbed while the camera is below it
2022-04-11 08:38:09 +02:00
Vojtech Bubnik
aef0c5a83c
Follow-up to 68b6672907
...
Fixed detection of config data at the end of gcode files
G-code as config file was not imported correctly because end of windows
stile end of lines (CRLF) were not processed correctly.
See the file at #8172
2022-04-08 14:28:12 +02:00
enricoturri1966
68b6672907
Fixed detection of config data at the end of gcode files
2022-04-08 09:41:26 +02:00
Vojtech Bubnik
6a67a6e21b
Fix of #8170 : Seemingly the OSX finder calls the "open files" callback
...
on PrusaSlicer too early now on some newest platforms, where the
application is not yet fully initialized. This fix postpones loading of
files in that case.
2022-04-07 15:52:33 +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
YuSanka
8a8d2d15b0
Fix for #8156 - Automatic color change for logo crashes PrusaSlicer with second object of 0.2mm height
2022-04-04 11:42:10 +02:00
Lukas Matena
6a5443dad2
Yet another fixup of previous commit
2022-04-01 11:30:03 +02:00
Lukas Matena
037a866f22
Fixup of previous commit:
...
the previous fix only works for objects that have equal height
2022-04-01 09:54:49 +02:00
YuSanka
05e94eb0ab
Fixed hard crash on "Convert from/to units" when several objects are selected
...
This crash was caused by commit https://github.com/prusa3d/PrusaSlicer/commit/38b877635
2022-04-01 09:48:38 +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
2ecfdea070
Fix of #7711 , #7903 , #8044 (wipe tower refusing to slice when layer height modifier is used):
...
Same settings of the layer height modifier does not guarantee to always produce profiles
exactly equal numerically. This is broken since 71ba15b
.
2022-03-31 10:47:19 +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
b0b65a1f89
SPE-1208 - Fix for 3mf from another SW is loaded as a project and not as geometry
2022-03-23 17:20:54 +01:00
enricoturri1966
f970741dd4
Do not show ProjectDropDialog when drag and dropping a 3mf file produced by other softwares and the plater is not empty
2022-03-23 17:20:50 +01:00
enricoturri1966
fab6619641
#8032 - GCodeProcessor - Fixed parsing of LAYER_CHANGE tag for spiral vase mode
2022-03-23 17:17:23 +01:00
Lukas Matena
dc14ae07a6
Fixed incorrect handling of 3rd party 3MFs in SLA mode ( #6100 and others)
2022-03-23 17:16:17 +01:00
Lukas Matena
92a40d32ff
Fix of #8078 : double free on wxProgressDialog on Linux
2022-03-23 17:12:42 +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
enricoturri1966
5586fd92f2
Follow-up of d0d89a4d5b
- Fixed warnings
2022-03-14 09:50:25 +01:00
enricoturri1966
d0d89a4d5b
Tech ENABLE_GL_IMGUI_SHADERS - Render imgui using shaders
2022-03-14 09:04:44 +01:00
enricoturri1966
ac0ec5fa43
Tech ENABLE_NEW_CAMERA_MOVEMENTS_CTRL_ROTATE renamed as ENABLE_NEW_CAMERA_MOVEMENTS
...
Tech ENABLE_NEW_CAMERA_MOVEMENTS_MIDMOUSE_ROTATE merged into ENABLE_NEW_CAMERA_MOVEMENTS
Tech ENABLE_NEW_CAMERA_MOVEMENTS_SHIFT_SELECTION renamed as ENABLE_NEW_RECTANGLE_SELECTION
2022-03-11 12:36:09 +01:00
enricoturri1966
2342002151
Tech ENABLE_NEW_CAMERA_MOVEMENTS_CTRL_ROTATE - Fixed volumes moving after releasing CTRL key
...
Tech ENABLE_NEW_CAMERA_MOVEMENTS_SHIFT_SELECTION - Selection rectangle not started while hovering on a volume
2022-03-11 11:28:08 +01:00
enricoturri1966
4a5ad304ad
Fixed conflicts after merge with master
2022-03-11 09:35:02 +01:00
enricoturri1966
3dddfa919a
Debug tech ENABLE_GLMODEL_STATISTICS - Shows an imgui dialog with GLModel statistics data
2022-03-10 15:55:15 +01:00
enricoturri1966
9d2314557d
Tech ENABLE_GL_SHADERS_ATTRIBUTES - Removed remaining pairs glPushMatrix()/glPopMatrix()
2022-03-10 13:40:37 +01:00
enricoturri1966
27861fa0bd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2022-03-10 12:48:40 +01:00
enricoturri1966
f0a4fd1123
Fixed GLVolumes color when tech ENABLE_LEGACY_OPENGL_REMOVAL is disabled
2022-03-10 12:48:31 +01:00
Lukas Matena
68ca42abbf
Merge branch 'stable'
2022-03-10 12:29:17 +01:00
enricoturri1966
a9465ddedc
A few small refactorings
2022-03-10 11:27:05 +01:00
enricoturri1966
57ffa4d9ee
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-09 12:06:09 +01:00
enricoturri1966
f8ce187262
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Refactoring of GLModel to automatically detect the data type to use into the index buffer in dependence of vertices count
2022-03-09 11:51:02 +01:00
enricoturri1966
46283cfde3
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES renamed as ENABLE_GL_SHADERS_ATTRIBUTES
2022-03-09 08:22:07 +01:00
enricoturri1966
5ffe010a9d
Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL merged into ENABLE_LEGACY_OPENGL_REMOVAL
2022-03-08 14:50:32 +01:00
enricoturri1966
05efb88e3f
Tech ENABLE_GLBEGIN_GLEND_REMOVAL renamed as ENABLE_LEGACY_OPENGL_REMOVAL
2022-03-08 14:08:11 +01:00
enricoturri1966
80717bbdec
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Some code cleanup
2022-03-08 13:27:51 +01:00
enricoturri1966
65b5af9561
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: variable_layer_height
2022-03-08 12:48:21 +01:00
enricoturri1966
dbdc272c4e
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: mm_gouraud
2022-03-08 11:17:34 +01:00
enricoturri1966
66fa2b1e26
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: mm_contour
2022-03-08 10:57:43 +01:00
enricoturri1966
c17c4d2e9a
Follow-up of 005fef7bf6
- Fixed imgui dialogs associated to gizmo bar and toolbar items
2022-03-08 09:24:42 +01:00
Lukas Matena
62cc48188d
Fix background color in InfoDialog on older macOSes ( #3775 , #7603 )
2022-03-07 16:43:21 +01:00
enricoturri1966
9fb350e3dd
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud
2022-03-07 15:31:23 +01:00
enricoturri1966
f4726f738c
Follow-up of 005fef7bf6
- Fixed highlight arrows for gizmos bar and toolbars
2022-03-07 15:06:45 +01:00
enricoturri1966
568f42660a
Follow-up of 005fef7bf6
- Fixed Toolbars
2022-03-07 12:02:19 +01:00
Lukáš Hejl
6c51e5148c
Fix of #7994 (Travel very close to the inner holes, could cross external perimeter when the avoid crossing perimeters was enabled.)
2022-03-07 10:48:17 +01:00
enricoturri1966
005fef7bf6
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat_texture
2022-03-07 09:45:29 +01:00
enricoturri1966
545056bf7c
Fixed warnings
2022-03-04 14:17:55 +01:00
enricoturri1966
93610ebb02
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: printbed
2022-03-04 14:10:41 +01:00
enricoturri1966
4323b602f5
Code cleanup
2022-03-04 13:57:11 +01:00
enricoturri1966
44a00be329
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: toolpaths_cog
2022-03-04 13:50:31 +01:00
enricoturri1966
b84b6af32a
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: background
2022-03-04 13:30:21 +01:00
enricoturri1966
191222c3a8
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - Travel moves in gcode preview
2022-03-04 13:14:03 +01:00
enricoturri1966
cdf3cb83b6
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light_instanced_attr - Instanced options in gcode preview
2022-03-04 12:46:01 +01:00
enricoturri1966
bca966039e
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Toolpaths and batched options in gcode preview
2022-03-04 12:07:08 +01:00
enricoturri1966
c344a633ee
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-04 10:52:45 +01:00
enricoturri1966
d6b0a9858b
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Selection sidebar hints
2022-03-04 10:52:30 +01:00
YuSanka
3505e5a290
Fix of leaking GDI resources on Win7 #8002 :
...
- Code refactoring for draw_focus_rect.
- Use one PaintDC for rendering
- DoubleSlider::Control::Ruler refactoring
- Suppress to update ruler for horizontal slider
2022-03-04 09:27:29 +01:00
enricoturri1966
f7d06f4ec8
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Simplify
2022-03-04 09:16:17 +01:00
enricoturri1966
d71ad7177e
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Rotate grabber extensions
2022-03-04 09:08:15 +01:00
enricoturri1966
7df713d471
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-04 09:08:02 +01:00
enricoturri1966
ead51d69b7
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Move grabber extensions
2022-03-04 09:01:10 +01:00
enricoturri1966
31013fb6df
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Refactoring of flat vertex shader
2022-03-04 08:54:23 +01:00
Lukáš Hejl
4967b940b8
Fixed a compiler warning.
2022-03-03 14:56:18 +01:00
enricoturri1966
f9cabee382
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo SLA Supports
2022-03-03 14:28:43 +01:00
enricoturri1966
919730e969
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Hollow
2022-03-03 14:01:34 +01:00
enricoturri1966
bceeb67c53
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-03 13:31:01 +01:00
enricoturri1966
2d72931fac
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Scale hovered grabbers
2022-03-03 13:30:22 +01:00
enricoturri1966
dccc8aea17
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Move hovered grabber
2022-03-03 13:17:19 +01:00
enricoturri1966
661ecdc142
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Gizmo Cut
2022-03-03 13:10:47 +01:00
enricoturri1966
14c23a6526
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - GLGizmoBase grabbers
2022-03-03 13:04:00 +01:00
enricoturri1966
14f4345389
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Thumbnails render
2022-03-03 12:36:44 +01:00
Lukas Matena
a3b9d1d82f
Added a comment explaining activate_gizmo return value
2022-03-03 11:47:16 +01:00
Lukas Matena
34a0f6d970
Bumped up version to 2.4.1-rc1
2022-03-03 11:16:57 +01:00
enricoturri1966
3003db411f
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - GCodeViewer shells
2022-03-03 09:56:13 +01:00
enricoturri1966
8d43a854c6
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Sequential view marker
2022-03-03 09:46:04 +01:00
enricoturri1966
a3753c9d9c
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Bed model
2022-03-03 09:29:54 +01:00
enricoturri1966
8315f43ed0
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: gouraud_light - Bed axes
2022-03-03 09:21:52 +01:00
enricoturri1966
abb5f5f99a
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - GLGizmoPainterBase::m_circle
2022-03-03 08:40:12 +01:00
enricoturri1966
a6e84aec20
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - Gizmo SLA Supports points
2022-03-02 15:10:34 +01:00
enricoturri1966
3165a4d0d5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-02 14:32:30 +01:00
enricoturri1966
5621f00ee6
Some refactoring into GLGizmoSlaSupports::render_points()
2022-03-02 14:31:24 +01:00
enricoturri1966
bf57d022d4
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-02 13:28:42 +01:00
enricoturri1966
4990558dee
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Fixed a few bugs when the tech is disabled
2022-03-02 13:28:20 +01:00
enricoturri1966
b4f9d91b73
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - debug tech PRUSASLICER_TRIANGLE_SELECTOR_DEBUG
2022-03-02 13:07:36 +01:00
enricoturri1966
5cf6219f3e
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - GLGizmoPainterBase::s_sphere
2022-03-02 12:21:59 +01:00
enricoturri1966
a07e02f5ab
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-02 12:11:33 +01:00
enricoturri1966
5193a15852
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Use 2D vertices to render GLGizmoPainterBase circle
2022-03-02 12:10:02 +01:00
enricoturri1966
93afbd551b
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - Gizmo Hollow picking
2022-03-02 11:56:09 +01:00
enricoturri1966
278ec6fe93
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Shader: flat - Layers editing
2022-03-02 10:12:44 +01:00
enricoturri1966
1959522c46
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3
2022-03-02 08:32:13 +01:00
enricoturri1966
5f9aeb1e38
Removed unneeded pairs glPushMatrix()/glPopMatrix()
2022-03-02 08:30:00 +01:00