Commit Graph

7167 Commits

Author SHA1 Message Date
Vojtech Bubnik
52a3161018 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-02-04 13:06:11 +01:00
Vojtech Bubnik
3dd07dfd73 Fix of brim generator after refactoring. 2021-02-04 11:18:39 +01:00
YuSanka
d415c8ae8c MSW specific: GUI_ManipulatinPanel: Fixed rescaling of the system coordinate ComboBox 2021-02-04 10:17:22 +01:00
Vojtech Bubnik
580f5044ba Fixed compilation on OSX 2021-02-04 10:02:25 +01:00
Vojtech Bubnik
4cdcfe6005 DiffPresetDialog, non modal to compare two presets.
Added menu item "Window->Compare presets" to compare more than one type
of presets.
Code refactoring for PresetComboBox: Use suffix "modified" just for
PlaterPresetComboBox and TabPresetComboBox
Code refactoring. wxDataViewCtrl and related functions extracted from
DiffPresetDialog and UnsavedChangesDialog to the separate class
DiffViewCtrl
Code refactoring, Tab.cpp: Build all unregular pages on a first build of
the Printer Settings

Squashed commit of the following:

commit 91f45a8a2d97d252337c7306dd02db607fd79c00
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Thu Feb 4 09:34:29 2021 +0100

    Fixed after merge

commit 09aa502498b08c059ecdf334f5db1567739b4520
Merge: 6df8e83e1 0baa92fab
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Thu Feb 4 09:31:43 2021 +0100

    Merge remote-tracking branch 'remotes/origin/master' into ys_diff_dlg

commit 6df8e83e1af3ba096ac39d25985b6deb2e0a245b
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Thu Feb 4 09:29:53 2021 +0100

    Tiny beautification.

commit e781ceaaf7c39bc073476409cc02918d9f182930
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Wed Feb 3 18:05:19 2021 +0100

    Reworked copying of PresetBundles:
    1) Simplified by using the default copy constructors and copy operators.
    2) Made safer by not allowing PresetCollection and PhysicalPrinterPresetCollection
       to be copied or instantiated outside of PresetBundle.
    3) Fixed Preset::vendor pointers after copying PresetBundle.

commit a8f0b7aa5156465cdb3e3dbb86feb66a64bcebc0
Author: YuSanka <yusanka@gmail.com>
Date:   Mon Jan 25 16:13:53 2021 +0100

    DiffPresetsDialog: Show compatibility to print/printer presets selected in DiffPresetDialog

commit 597451f930a4330376966d8cf3350056d4f85a73
Merge: cce5b5710 59017a7da
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Jan 21 12:14:48 2021 +0100

    Merge remote-tracking branch 'origin/master' into ys_diff_dlg

commit cce5b5710d1225c7eaa52d0abb4b3f66fbd3b6a1
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Jan 21 12:11:40 2021 +0100

    DiffPresetDialog: Fixed crash on ASAN build

commit ad8d728d89d7a75c2ac136ea8cdbb730ab774cd9
Author: YuSanka <yusanka@gmail.com>
Date:   Wed Jan 20 16:38:28 2021 +0100

    FullCompareDialog improvements

commit 316bafbeec9bb63f731b653d296062d9e22dd02f
Author: YuSanka <yusanka@gmail.com>
Date:   Wed Jan 20 09:25:46 2021 +0100

    DiffPresetDialog improvements:
    * Update presets lists after save changes in edited preset or change printer_technology
    * Tab.cpp: Build all unregular pages on a first build of the Printer Settings

commit 01171c8ef50389d0801b0ccc5746ab0c3b731b11
Author: YuSanka <yusanka@gmail.com>
Date:   Tue Jan 19 17:26:28 2021 +0100

    DiffPresetDialog : improvements
    * This dialog is non-modal now
    * "Compare presets" menu item is moved from "View" to the "Window" menu group
    * Added info tooltips for the bitmap buttons between presets
    * Added "Show all presets" checkbox
    * Show full difference between printer presets with different count of extruders

commit 3d38b62f3c9de8aab352ed3bcff297d5c0239b2e
Merge: e50fe6de9 9a2310ae9
Author: YuSanka <yusanka@gmail.com>
Date:   Mon Jan 18 10:00:18 2021 +0100

    Merge remote-tracking branch 'origin/master' into ys_diff_dlg

commit e50fe6de984decadfef3d4b952f0eec8ab9e6670
Author: YuSanka <yusanka@gmail.com>
Date:   Sat Jan 16 02:27:24 2021 +0100

    DiffPresetDialog improvements
    Added menu item "View->Compare presets" to compare more than one type of presets

commit bf08b7c8c969ad0ca631b9eeac1bc231f474e72b
Author: YuSanka <yusanka@gmail.com>
Date:   Sat Jan 16 00:28:39 2021 +0100

    Code refactoring. wxDataViewCtrl and related functions extracted from DiffPresetDialog and UnsavedChangesDialog to the separate class DiffViewCtrl

commit 7aeb63032b0bc2bd06e60990c060008660a5c44f
Author: YuSanka <yusanka@gmail.com>
Date:   Fri Jan 15 21:35:43 2021 +0100

    DiffPresetDialog: first implementation

commit 2f23d5af9d6b5dd670dfb7d06eedbe0e6d2960c6
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Jan 14 16:28:43 2021 +0100

    Code refactoring for PresetComboBox.
    Use suffix "modified" just for PlaterPresetComboBox and TabPresetComboBox
2021-02-04 09:42:32 +01:00
YuSanka
0baa92fab8 Localization: Added plural form for some phrases, updated POT 2021-02-03 21:30:38 +01:00
YuSanka
6846ba0b59 Localization: Fixed localization of some 3d-Scene notifications
+ Move a call of the load_language() before SplashScreen creation
2021-02-03 17:30:32 +01:00
tamasmeszaros
62f8e75b34 Disable tests and encoding check when cross compiling 2021-02-03 15:27:39 +01:00
Vojtech Bubnik
73c9f939e0 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
enricoturri1966
f939cac841 #5071 - Reload from disk for 3mf files 2021-02-01 14:33:07 +01:00
Vojtech Bubnik
a116914fce 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
Lukas Matena
dc4bdad84a Fixed some more GCC warnings 2021-01-29 15:17:03 +01:00
Lukas Matena
d9c9de8eee Fixing GCC warnings 3 2021-01-29 10:47:02 +01:00
Lukas Matena
2d32c80b75 Fixing GCC warnings 2 2021-01-29 10:46:52 +01:00
Lukas Matena
b5280fbed9 Fixing GCC warnings 1 2021-01-29 10:46:33 +01:00
Vojtech Bubnik
9c5dd358ab 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
enricoturri1966
ba9025491b Refresh object manipulator fields in sidebar after arrange 2021-01-28 12:44:38 +01:00
enricoturri1966
c54ce89883 SLA preview - Do not show full object when slider is at 1st layer 2021-01-28 08:28:23 +01:00
enricoturri1966
b178a1b04f 3mf export - Do not export unneeded space 2021-01-27 15:53:44 +01:00
enricoturri1966
d68489c7d7 3mf export - Removed export of duplicated line into model config file 2021-01-27 12:26:46 +01:00
David Kocik
2e6138561a missing ifdef 2021-01-27 11:43:48 +01:00
David Kocik
c02385b115 missing ifdef 2021-01-27 10:58:52 +01:00
David Kocik
fa2568a5e3 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
Vojtech Bubnik
4f161607c7 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
Vojtech Bubnik
dcec1fa749 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
Vojtech Bubnik
05f9910c8f Fixes after merge. 2021-01-27 09:35:39 +01:00
Vojtech Bubnik
7a6c038480 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
Vojtech Bubnik
ef424ad101 miniz: mz_zip_writer_add_staged_data() writes in a single shot 2021-01-27 09:18:17 +01:00
Vojtech Bubnik
e82c502a47 miniz: Improved the streaming write interface. 2021-01-27 09:18:17 +01:00
Vojtech Bubnik
55c698feef WIP: Exporting 3MFs through a streaming interface. 2021-01-27 09:18:16 +01:00
Vojtech Bubnik
729298c408 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
enricoturri1966
708d14f5dc #5541 - Fixed reload from disk after loading from 3mf 2021-01-27 08:19:42 +01:00
YuSanka
67500f13b1 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
enricoturri1966
a0fc398141 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-26 13:57:57 +01:00
enricoturri1966
a897dd0504 Disabled tech ENABLE_GCODE_VIEWER_STATISTICS 2021-01-26 13:56:32 +01:00
enricoturri1966
9304defe7c Tech ENABLE_UNSIGNED_SHORT_INDEX_BUFFER merged into tech ENABLE_SPLITTED_VERTEX_BUFFER 2021-01-26 13:32:27 +01:00
enricoturri1966
3533473256 Tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING merge into tech ENABLE_SPLITTED_VERTEX_BUFFER 2021-01-26 12:21:50 +01:00
tamasmeszaros
85a7a3d5c5 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
enricoturri1966
9ede830f66 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-26 10:10:23 +01:00
Vojtech Bubnik
500c667d7a 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
Vojtech Bubnik
4620402ab4 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
YuSanka
79b7ccbb79 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
Vojtech Bubnik
eef800b5c4 FIXME on ExPolygon::overlaps(), which should be commutative. 2021-01-22 15:32:45 +01:00
enricoturri1966
30f43974fb ENABLE_GCODE_VIEWER_STATISTICS - GCodeViewer statistic dialog modified to not require extra frames render 2021-01-22 12:32:40 +01:00
enricoturri1966
97c31b2a34 ENABLE_SPLITTED_VERTEX_BUFFER - Re-enable tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING after fixing it 2021-01-21 16:33:35 +01:00
enricoturri1966
0f8e7f3e8b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-21 09:44:27 +01:00
enricoturri1966
56b378d766 Fixed visualization of point toolpaths, broken with daa0bbdb0c 2021-01-21 09:44:02 +01:00
YuSanka
59017a7dae 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
enricoturri1966
5161643fc6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-20 13:48:09 +01:00
enricoturri1966
ee40ab421a 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