Commit Graph

18887 Commits

Author SHA1 Message Date
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
Vojtech Bubnik
926ae04718 Follow-up to 408e56f039
Fixing compilation of tests on latest GCC/boost
2022-04-25 11:32:09 +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
Lukas Matena
5047d4a10b Minor fix in github issue template 2022-04-25 08:45:01 +02:00
Lukas Matena
d7105dabf1 Bumped up version number to 2.4.2 2022-04-22 13:01:19 +02:00
Mário Victor Ribeiro Silva
6953b2f877 feat: add missing translations 2022-04-20 09:54:32 +02:00
Mário Victor Ribeiro Silva
198871c711 feat: add translations 2022-04-20 09:54:06 +02:00
tamasmeszaros
11b1028565 Merge branch 'tm_fix_rpi_build' 2022-04-20 09:48:42 +02:00
tamasmeszaros
b030e33845 Temporary fix for openvdb build on rpi 2022-04-19 16:59:12 +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
Lukas Matena
8e5cbf386f Bumped up version to 2.4.2-rc2 2022-04-13 15:28:51 +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
tamasmeszaros
7dc4a57d63 Fix build of RelWithDebInfo on Win 2022-04-13 13:59:31 +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
YuSanka
566917bfb1 Shapes Gallery: Added PLA_recycling_symbol
+ OTHER_recycling_symbol and PETG_recycling_symbol are mirrored to be better placed on the bottom of a model.
2022-04-12 09:15:55 +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
rtyr
169ef8bfe4
BIBO sync with PrusaSlicer-settings 2022-04-11 07:34:07 +02:00
rtyr
43d306260f
Added G92 E0 to ditto printer profiles. 2022-04-11 07:28:25 +02:00
rtyr
81df544623
Fixed min_version for 0.0.3 2022-04-11 07:12:56 +02:00
rtyr
61b66949a2
Merge pull request #8185 from photodude/patch-1
add G92 E0 to prevent marlin error accumulation BIBO profiles
2022-04-11 07:11:25 +02:00
Walt Sorensen
58039fc361
Update version and minimum slic3r_version
Added add G92 E0 to prevent error accumulation to before layer change.  noting changes and version here.
2022-04-10 18:09:01 -06:00
Walt Sorensen
0d781b38e8
add G92 E0 to prevent marlin error accumulation
As of PrusaSlicer 2.4.1 we need to add G92 E0 to layer change to prevent error accumulation in marlin firmware and relative extrusion. tThis also eliminates the "error" notice in the slicer.
https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.4.1-beta3
2022-04-10 17:48:30 -06: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
tamasmeszaros
f1276332ba Fix compilation of perl xs on Windows with boost 1.78 2022-04-08 13:47:45 +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