Commit Graph

8562 Commits

Author SHA1 Message Date
3f2b57b1d4 Squash merge of lh_brim_rework,
brim separated to Brim.cpp,hpp
Refactored accessors to PrintObjectPtrs, PrintRegionPtrs, LayerPtrs,
SupportLayerPtrs for const correctness.
2021-02-03 15:12:53 +01:00
517f71e893 #5071 - Reload from disk for 3mf files 2021-02-01 14:33:07 +01:00
1ac322fe80 WIP VoronoiOffset: Squash merge of vb_voronoi_offset
Working contour offsetting,
skeleton_edges_rough() to detect "important" skeleton edges.
Radius of an inscribed circle along the "important" skeleton edges
changes slowly, therefore these "important" skeleton edges signify
oblong regions possibly needing a gap fill.
2021-01-29 16:34:22 +01:00
a6d023429d Fixed some more GCC warnings 2021-01-29 15:17:03 +01:00
da6dc77973 Fixing GCC warnings 3 2021-01-29 10:47:02 +01:00
f7e26b5655 Fixing GCC warnings 2 2021-01-29 10:46:52 +01:00
c870aeb578 Fixing GCC warnings 1 2021-01-29 10:46:33 +01:00
2af3ac15e2 Fix of #4654 #5122 #5668 #5811 #5895
Fixing model import of models with nearly degenerate triangles, which
degenerate after transformation (translation or rotation).

There was certainly a bug in PrusaSlicer, however this bug was triggered
mostly by the ASCII STL files generated by OpenSCAD, likely due to insufficient
number of decimal digits when saving an ASCII STL, see
[openscad/openscad] STL export should contain single precision floats (#2651)
2021-01-28 19:00:01 +01:00
9dc1b45735 Refresh object manipulator fields in sidebar after arrange 2021-01-28 12:44:38 +01:00
1430f59401 SLA preview - Do not show full object when slider is at 1st layer 2021-01-28 08:28:23 +01:00
256bdc757b 3mf export - Do not export unneeded space 2021-01-27 15:53:44 +01:00
22e6eb58d1 3mf export - Removed export of duplicated line into model config file 2021-01-27 12:26:46 +01:00
3fb4567426 missing ifdef 2021-01-27 11:43:48 +01:00
ab2a608a49 missing ifdef 2021-01-27 10:58:52 +01:00
bbbfedb600 Check loading of blacklisted dlls and show warning dialog at startup. Also show these dlls in sysinfo dialog. 2021-01-27 10:40:38 +01:00
6a777fa5a5 Follow-up on dcec1fa74:
Commented out fuzzy_skin_shape for now, the parameter may be used
in the future, but for now we don't want the parameter to be stored
into configuration files.
2021-01-27 09:58:42 +01:00
b89c476c20 Commented out fuzzy_skin_shape for now, the parameter may be used
in the future, but for now we don't want the parameter to be stored
into configuration files.
2021-01-27 09:36:39 +01:00
0b9a0c82e7 Fixes after merge. 2021-01-27 09:35:39 +01:00
cf3020fc97 Refactoring of 3MF file export to use the new homebrewed miniz
streaming interface. This shall fix high memory consumption and
crashes when exporting extremely large 3MF files.
2021-01-27 09:18:17 +01:00
cf80490b8e miniz: mz_zip_writer_add_staged_data() writes in a single shot 2021-01-27 09:18:17 +01:00
5f237d34d9 miniz: Improved the streaming write interface. 2021-01-27 09:18:17 +01:00
14b6687537 WIP: Exporting 3MFs through a streaming interface. 2021-01-27 09:18:16 +01:00
9b63b76f7e PrusaResearch (Vojtech) homebrewed the following:
mz_zip_writer_add_staged_open(), mz_zip_writer_add_staged_data() and mz_zip_writer_add_staged_finish()
were derived from mz_zip_writer_add_read_buf_callback() by splitting it and passing a new
mz_zip_writer_staged_context between them.
2021-01-27 09:18:16 +01:00
8ce485300b #5541 - Fixed reload from disk after loading from 3mf 2021-01-27 08:19:42 +01:00
79e5cc2def Fix of #5202 - Fuzzy Search engine is too fuzzy
* changed evaluation coefficients inside fuzzy_match_recursive
 * don't add markers to the labels before it's used in fuzzy_match_recursive
 + follow-up 78a3d8b63e - added missed fix for one more line (use std::towlower instead of std::tolower for wchar_t) Problem was appearance on Cyrillic languages
2021-01-26 21:33:22 +01:00
c5abb4c9c2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-26 13:57:57 +01:00
a6bae1d5eb Disabled tech ENABLE_GCODE_VIEWER_STATISTICS 2021-01-26 13:56:32 +01:00
a58034d98b Tech ENABLE_UNSIGNED_SHORT_INDEX_BUFFER merged into tech ENABLE_SPLITTED_VERTEX_BUFFER 2021-01-26 13:32:27 +01:00
a66004ff2f Tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING merge into tech ENABLE_SPLITTED_VERTEX_BUFFER 2021-01-26 12:21:50 +01:00
574210dacc Use prusaslicer_add_cmake_project on each cmake deps project
replace avrdude conf generation from C to CMake code
2021-01-26 10:17:51 +01:00
9d09c1a5b0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-26 10:10:23 +01:00
ffcd87193b Extended miniz with https://github.com/richgel999/miniz/pull/147
to support writing a file from a callback without knowing the file
size up front. See comments in src/miniz/README-Prusa.txt for potential
pitfalls.
2021-01-26 09:29:34 +01:00
36e520a89d WIP: Initial Fuzzy Skin implementaiton #2010
Based on pull request Experimental fuzzy skin mode #4611 by @etet100
and on CuraEngine implementation of perimeter fuzzyfication
void FffPolygonGenerator::processFuzzyWalls(SliceMeshStorage& mesh)
2021-01-26 09:29:34 +01:00
893db4d89b OSX specific, related to the wxWidgets 3.1.4: Fixed wrong UI-scaling
(wxWidgets 3.1.4 can binding of wxEVT_DPI_CHANGED now, so it was called msw_rescale() for most of the controls redundantly)

+ Fixed update of the DoubleSlider after changing of the system color
2021-01-22 21:44:15 +01:00
0ce4f989de FIXME on ExPolygon::overlaps(), which should be commutative. 2021-01-22 15:32:45 +01:00
e1a1f5279d ENABLE_GCODE_VIEWER_STATISTICS - GCodeViewer statistic dialog modified to not require extra frames render 2021-01-22 12:32:40 +01:00
8272e14321 ENABLE_SPLITTED_VERTEX_BUFFER - Re-enable tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING after fixing it 2021-01-21 16:33:35 +01:00
119bdac45e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-21 09:44:27 +01:00
593df22b78 Fixed visualization of point toolpaths, broken with daa0bbdb0c 2021-01-21 09:44:02 +01:00
940d39bd12 wxBitmapComboBox under OSX and wxComboBox under other platforms is used on Manipulation panel for coordinate space choice now.
+ Fix of warning on wxBitmap.SetWidth(): deleted meaningless from wxWidgets 3.0 code
2021-01-20 17:34:54 +01:00
eee2fc1515 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-20 13:48:09 +01:00
6a703c7af4 ENABLE_SPLITTED_VERTEX_BUFFER - Use unsigned short indices buffers to render toolpaths and temporary disable tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING which is causing artifacts 2021-01-20 13:47:48 +01:00
fa2ace0dba Fix of Extrusion Width Percentge #4631
Fixed extrusion width validation logic in case the extrusion width
was specified wrt. layer height.
2021-01-20 11:03:52 +01:00
423fb73b1f OSX specific, needed after update of Xcode to 12.2 with OSX SDK 11.1,
where we have issues with false positives of address sanitizer
https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives
Setting ASAN_OPTIONS=detect_container_overflow=0 inside Info.plist
2021-01-20 09:21:16 +01:00
33acf09e11 Manual merge of 4e586b8edabde1146c4013ca2437469a448315e2 from upsteam Slic3r,
fixing "percent first layer speed was not applied over autospeed." GH upstream Slic3r #2945
our GH issue First Layer Speed Percentage not applying (#5829)
2021-01-19 16:50:24 +01:00
d805c253d5 Bumped up minimum required OSX version from 10.9 to 10.10 due to
an update of wxWidgets, which do not compile cleanly on 10.9 without
further patching.
2021-01-19 15:59:29 +01:00
6bb74b972c Follow-up to 2bc6679a62
Set the printer_technology field.
2021-01-19 15:35:27 +01:00
78ae64f2b9 Partial revert of 1bffc2b99b
(deriving the printer technology from the merged configs).
2021-01-19 15:18:03 +01:00
7e1deed915 Implement exception rethrow for ui jobs 2021-01-19 15:01:20 +01:00
201a66f198 Bugfix: CLI slicer should slice in FDM mode when no printer_technology is provided.
This was broken between 2.2.0 and 2.3.0 (1bffc2b) and changed the CLI behaviour.
Also related to 5029.
2021-01-19 10:29:35 +01:00