Vojtech Bubnik
0d70a2be69
Renamed create_face_neighbors_index() to its_face_edge_ids().
...
Renamed its_create_neighbors_index() / its_create_neighbors_index_par() to its_face_neighbors() / its_face_neighbors_par().
New variant of its_face_edge_ids() to create edge IDs from face neighbors.
Fixed some incorrect use of _NDEBUG, it should be NDEBUG.
PrintObject::slice_support_volumes() returns newly Polygons, which are cheaper than ExPolygons.
Updated SeamPlacer and SupportMaterial to use regions defined as Polygons, not ExPolygons.
TriangleSelector::get_facets_strict() returning a patch with T-joints retriangulated.
New slice_mesh_slabs() - slicing projections of a triangle patch into top / bottom layers of slices, for MMU top / bottom segmentation.
TriangleMeshSlicer - use 64 mutexes instead of one when scattering sliced triangles into layers. This makes a big difference on modern many core desktop computers.
When applying MM segmented regions to input regions, the split regions are now re-merged with 10x higher positive offset epsilon to avoid creating gaps.
When testing for existence of paint-on supports or seam, use a more efficient has_facets() test, which does not deserialize into the expensive TriangleSelector tree structure.
GLIndexedVertexArray newly uses Eigen::AlignedBox<float, 3> for efficiency instead of our double based BoundingBoxf3.
Improved MMU painting refresh speed by optimizing generation of the vertex buffers.
Refactored MMU segmentation - projection of painted surfaces from top / bottom.
1) Parallelized.
2) Using the new slice_mesh_slabs() instead of projecting one triangle by the other and merging them with Clipper.
2021-06-20 15:21:12 +02:00
combolek
d08a70478e
Fixes Linux (and probably MacOS) build: wx/msw/registry.h is only available on Windows. ( #6634 )
2021-06-19 11:45:48 +02:00
YuSanka
5434a8980f
Some code beautification for the last commit
...
+ Fix of the TabPresetComboBox layout for "light mode" + "tabs as a menu items" preferences
2021-06-18 21:54:20 +02:00
Oleksandra Yushchenko
fd071421cb
DarkMode for MSW ( #6632 )
...
* MSW specific: Dark Mode: First implementation
* Use menu instead of NoteBook
* Implemented MessageDialog
+ Fixed DarkMode for all dialogs and ColorPicker
* MSW DarkMode: Added missed updates for the switching between modes
* MSW DarkMode: Updated all existed context menus after switching of the mode
+ Added markers for the menu item witch is related to the selected tab
* Used wxFrame instead of wxDialog for SettingsDialog
(this change allow us to use menu bar in SettingsDialog)
+ fix for #6548 - Prusa Slicer 2.3.1 not activating non-modal settings window if settings window is minimized
* Implemented "Always use Dark mode colors" preference option
* Fixes for non_MSW build
* Next fixes for non-MSW builds
* Preferences: Fixed selection of the Settings Layout for non-MSW platforms
+ Updated DarkMode for colorpickers
* Windows DarkMode next fixes
* MSWDarkMode: Suppress to use system color to the PrusaSlicer
Select "Preferences -> Use Dark color mode (experimental)" to allow dark mode for the application
* Fixed MSW build
* MSWDarkMode: Upadteed color mode for ExtruderSequenceDialog and for dialogs related to the DoubleSlider
* Implemented Auto recreation of the PrusaSlicer when color mode is changed.
* Preferences: Added option "Set settings tabs as menu items (experimental)"
2021-06-18 19:46:04 +02:00
YuSanka
65f440c2ba
Follow-up e3000c5305
- Fixed OSX build
2021-06-18 12:22:59 +02:00
tamasmeszaros
d3de14170a
Fix build for unixes
2021-06-17 22:21:34 +02:00
YuSanka
e3000c5305
Implementation of the FR #3856 - Add option to replace stl in object list (right panel)
2021-06-17 21:29:18 +02:00
Lukáš Hejl
684b66125e
Fixed an issue where multi-material segmentation ignored the last extruder.
2021-06-17 19:26:40 +02:00
tamasmeszaros
976dd72b8b
Catching of sigsegv and sigfpe with structured exceptions on win
2021-06-17 15:17:21 +02:00
tamasmeszaros
a5529aff1e
Implement custom integer->string conversion for hashing
...
Converts to hexadecimal, reversed order which is faster.
2021-06-17 15:40:22 +02:00
enricoturri1966
72df789077
Fixed the following crash:
...
1) Start PrusaSlicer
2) Add a box to the plater
3) Open Seam Painting or Paint - on supports gizmo
4) Save project
->crash
2021-06-17 08:16:54 +02:00
YuSanka
c5cb94d92c
Follow up 0b5ea8f429
...
- Un-select random sequence by default
- Added a check for interval height. It have to be bigger then print layer height
2021-06-16 18:20:26 +02:00
Lukáš Hejl
2e54648b97
Fixed a multi-material painting gizmo crash when extruders colors aren't initialized, which happens when switching between SLA and FDM printer.
2021-06-16 17:05:24 +02:00
Lukáš Hejl
b32202e597
Fixed incorrectly displayed custom supports and seams in the support and seam gizmos after 7377fc34ac
.
2021-06-16 13:41:35 +02:00
Vojtech Bubnik
d0411223be
TriangleSelector:
...
1) Fixing yesterday's regression in deserialization of older painted 3MFs
(order of triangle children is now reversed, thus the serialization
/ deserialization has to take it into account).
2) WIP extraction into facets to triangulate T-joints.
2021-06-16 10:52:00 +02:00
Lukáš Hejl
6ddd88e596
Fixed an issue where the color of the first extruder always replaced the default color after painting in a multi-material gizmo.
...
multi_material_segmentation_by_painting is now returning only the painted region. Regions with default colors that aren't painted by multi-material gizmo aren't returned.
2021-06-16 06:06:37 +02:00
Lukáš Hejl
ae1a799cf4
Fixed an issue for multi-volume objects where the seed fill visualization in the multi-material gizmo didn't disappear after the mouse was moved to another volume.
2021-06-16 06:06:34 +02:00
Lukáš Hejl
c59cf5de40
Fixed layers with the wrong color after multi-material segmentation on objects with multiple objects.
2021-06-16 06:06:34 +02:00
Lukáš Hejl
21b38db488
Added using the move operator in some parts of multi-material segmentation.
2021-06-16 06:06:34 +02:00
Lukáš Hejl
a06e42d01f
Moved debug prints out of parallel cycles, and more debug prints were added for multi-material segmentation.
2021-06-16 06:06:34 +02:00
Lukáš Hejl
15a1b51339
Refactoring and cleanup of painting gizmos.
2021-06-16 06:06:34 +02:00
Lukáš Hejl
8a77fa38f0
Modified MMU painting gizmo behavior so that all triangles aren't painted by default by the first extruder, which was causing several problems.
...
This commit also fixed the following issues:
1) After loading a 3MF with painted triangles using the MMU painting gizmo, the painted triangles might not be displayed correctly in the MMU painting gizmo.
2) The MMU segmentation was unnecessarily executed for all layers and not just for the painted layers.
3) Object's base color wasn't changed when the assigned extruder for that object was changed while the MMU paint gizmo was opened.
4) Changing the base color of an object was only possible by removing all painted triangles.
2021-06-16 06:06:34 +02:00
Lukáš Hejl
b2677f513c
Fixed a possible crash when closing the MMU painting gizmo cause by a non-virtual destructor.
2021-06-16 06:06:33 +02:00
Lukáš Hejl
7377fc34ac
Fixed cracks in MMU painting gizmo. All triangles, even not painted triangles, are now rendered inside MMU painting gizmo.
...
The cracks were caused by using glPolygonOffset to resolve Z-fighting. All triangles of the object were firstly rendered entirely with a base color. And then paint triangles were drawn over these already rendered triangles.
2021-06-16 06:06:33 +02:00
Lukáš Hejl
de9ed9ee3e
Follow-up of 39fd8065a1
: Apply changes also for MMU painting gizmo, so shader->start_using() is called only once.
2021-06-16 06:06:33 +02:00
Lukáš Hejl
c751f2d638
Show info about multi-material segmentation in ObjectList.
2021-06-16 06:06:33 +02:00
Vojtech Bubnik
154e552006
TriangleSelector optimizations:
...
1) When splitting a triangle, vertices are now properly shared with
the neighbor triangles, if these are already split.
Please note that the splitting may not be regular if the splitting
thershold is changed between splitting calls. Still the new code
shares the vertices accross shared edges properly.
2) Triangles resp. vertices are newly reused after deleted using
linked lists of released triangles resp. vertices.
This mechanism replaces the old mechanism of reusing already split
triangles.
2021-06-15 14:43:46 +02:00
YuSanka
0b5ea8f429
Random extruder sequence for MMU.
...
Related to https://github.com/prusa3d/PrusaSlicer/issues/1866
2021-06-15 12:38:05 +02:00
enricoturri1966
a2788f3a73
GCode Viewer -> Fixed used filament for gcode files produced by other slicers
2021-06-15 09:39:33 +02:00
Vojtech Bubnik
2f8190e6d0
Workaround of boost::filesystem::copy_file() incompatibility
...
on some file systems (eCrypt ...)
Should fix #4716 #6588
2021-06-14 12:19:13 +02:00
Lukáš Hejl
bfd83f925d
Fixed build on MacOS.
...
Based on information in https://stackoverflow.com/a/46115028 , structured bindings in C++17 don't name variables, and because of that, it is impossible to capture these variables in lambda functions.
2021-06-13 16:22:44 +02:00
Vojtech Bubnik
e17b57d6bd
Fixing previous TriangleSelector refactoring.
2021-06-11 17:59:33 +02:00
Vojtech Bubnik
403bb926c8
Fixed regression bug after PrintRegions refactoring:
...
Fixed crash if an object is outside the print bed, its modifier inside
the print bed and the modifier gets deleted.
2021-06-11 17:29:16 +02:00
Vojtech Bubnik
6bade1b24a
TriangleSelector - some memory optimization.
...
Don't store traingle normal, but reference the source triangle,
which stores its normal.
2021-06-11 12:27:58 +02:00
Vojtech Bubnik
74ab3e108e
TriangleSelector refactoring for readability and a bit of performance,
...
added some comments, improved encapsulation through private attributes,
removed recursive call through std::function etc.
2021-06-11 11:02:47 +02:00
YuSanka
87a996d0d5
Code refactoring to avoid a call of update_ui_from_settings() every time when switching between "3D-View" and "Preview"
2021-06-11 10:34:13 +02:00
enricoturri1966
841f8c6715
Added missing assignment into ModelObject::assign_copy()
2021-06-10 13:32:53 +02:00
Vojtech Bubnik
4ada2ed093
TriangleSelector::get_facets() refactoring to share vertices.
...
TriangleSelector::valid refactored to m_valid and valid()
and bool members moved next to each other to shrink data structure
size due to memory alignment.
2021-06-10 12:43:31 +02:00
Vojtech Bubnik
95f4690e25
Support / seam / MMU painting serialization / deserialization:
...
Changed the serialization structure
std::map<int, std::vector<bool>>
to a significantly more compact
std::pair<std::vector<std::pair<int, int>>, std::vector<bool>>
Such change shall significantly improve efficiency of Undo / Redo stack.
2021-06-10 09:26:30 +02:00
YuSanka
b59ff2c294
Fixed a bug in update of the ObjectList when switching between 3d-View and Preview
...
Steps to repro:
1. start PrusaSlicer
2. add a box
-> watch the object list: only one item is shown in the list
3. switch to preview
-> the item in the object list gets a child
2021-06-09 17:21:39 +02:00
enricoturri1966
5631b2cb7c
Follow-up of 2d9953069a
2021-06-08 15:10:01 +02:00
tamasmeszaros
cd19756a1d
Merge branch 'tm_its_refactor_3'
2021-06-08 12:22:28 +02:00
tamasmeszaros
b5771a5787
try to fix build on windows
2021-06-08 11:53:38 +02:00
enricoturri1966
5bbc68df7b
Do not close application when user select 'Cancel' in the save dirty project dialog
2021-06-08 11:51:41 +02:00
tamasmeszaros
904387520e
Fix the build
2021-06-08 11:02:29 +02:00
tamasmeszaros
0ca17b0798
Make new split always default if feasible
2021-06-08 10:34:32 +02:00
tamasmeszaros
97529ff6b7
Add parallel version of neighbors index creation, make it default
2021-06-08 10:34:32 +02:00
tamasmeszaros
b4d540ec4c
Improve its_split for large number of parts
2021-06-08 10:34:32 +02:00
tamasmeszaros
c4507842a0
Add new (winner) neighbor index based on measurements
2021-06-08 10:34:32 +02:00
tamasmeszaros
b14b000c73
Add triangle mesh split to perf comparison
2021-06-08 10:34:32 +02:00
tamasmeszaros
c8be2cdceb
Added measuring sandbox for neighbors index creation
2021-06-08 10:34:32 +02:00
tamasmeszaros
c542e6e14b
Corrected mesh split implementation
2021-06-08 10:28:23 +02:00
tamasmeszaros
8fdb0fddc0
Get rid of Contour3D
2021-06-08 10:28:23 +02:00
tamasmeszaros
e6f97358bc
Refactored hollowing backend to use indexed_triangle_mesh
2021-06-08 10:28:23 +02:00
tamasmeszaros
f12187b53d
wip on hollowing refactor
2021-06-08 10:27:35 +02:00
tamasmeszaros
1009f78862
SLA backend refactored, except Hollowing
2021-06-08 10:27:35 +02:00
enricoturri1966
1c35dfe591
Tech ENABLE_ALLOW_NEGATIVE_Z -> Added threshold to detect if an object is sinking
2021-06-08 10:07:47 +02:00
Lukas Matena
1f29a2593b
Fixed two more locales-related issues
...
One warning was also fixed
2021-06-07 12:31:41 +02:00
enricoturri1966
8e75919948
#6587 - Fixed temporary .gcode file locked by gcode window visualizator while exporting to gcode
2021-06-07 11:54:16 +02:00
Lukas Matena
d2874f2e34
Fixed a memory leak during locales switching on macOS and
...
removed frequent locales switching during gcode processing
2021-06-05 07:09:23 +02:00
enricoturri1966
d8ac2ceaf6
Remove const_cast<> introduced with 0e3090fb28
2021-06-04 16:53:05 +02:00
enricoturri1966
90edccf772
Remove const_cast<> introduced with 4da8de5f49
2021-06-04 10:23:31 +02:00
Lukas Matena
39fd8065a1
Fixed clipping plane when used with painter gizmos (follow-up of 94877a0
)
2021-06-04 09:34:55 +02:00
Vojtech Bubnik
8d325008d1
Small MMU segmentation optimization
2021-06-04 08:46:02 +02:00
Lukáš Hejl
cc913d52ef
Added name for items in undo/redo stack inside multi-material gizmo.
2021-06-03 18:11:48 +02:00
Lukáš Hejl
94877a0ec0
Fixed the wrong transformation matrix for "Clipping of view" when is used a printer with multiple extruders.
2021-06-03 08:00:46 +02:00
Vojtech Bubnik
9efe58e6c7
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-06-02 18:25:11 +02:00
YuSanka
4b5e568f14
Follow-up 7eebd56b5f
- fixed a typo
...
+ added add_negative.svg for dark mode
2021-06-02 14:36:49 +02:00
YuSanka
7eebd56b5f
Fixed DnD for "Model part" volumes inside the object
...
Fixed volumes order inside the object
2021-06-02 12:54:56 +02:00
Vojtech Bubnik
2d9953069a
Removed unnecessary const_cast calls inside Camera.
2021-06-02 12:19:55 +02:00
Vojtech Bubnik
a1283277d3
Fixing a regression crash in Preset Hints.
2021-06-02 11:28:55 +02:00
Lukáš Hejl
edf8d22aba
Fixed an issue when the option "Inner brim only" doesn't generate brim inside the object in some cases, and issue that top-level brim was ignoring an offset around the object without a brim.
...
Also, some possible warnings were fixed.
2021-06-02 10:33:16 +02:00
Yuri D'Elia
35195dc593
Add <cfloat> for missing DBL_MAX declaration ( #6582 )
...
Fixes build on linux/gcc10.
2021-06-01 19:54:53 +02:00
Vojtech Bubnik
0bfc53f5a5
VertexFaceIndex: vertex index to incident face indices built for
...
indexed_triangle_set.
2021-06-01 19:30:26 +02:00
David Kocik
2d60c90ff5
Remove unused include_directory in cmake
2021-06-01 13:52:02 +02:00
Vojtech Bubnik
49c2fc160d
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-06-01 12:46:37 +02:00
Vojtech Bubnik
9aa520baf3
Fix of previous commit: Mixed up ClipperLib::pftPositive and pftNonZero
2021-06-01 12:33:14 +02:00
enricoturri1966
6b7bd30da3
Show sequential print clearance regions when Move/Rotate/Scale gizmos are active
2021-06-01 11:36:12 +02:00
Vojtech Bubnik
73e0099c55
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-06-01 11:19:53 +02:00
Vojtech Bubnik
7681eb8496
PrintRegion refactoring: Fixed a crash when an object is moved from outside
...
the print bed inside and it becomes printable.
2021-06-01 11:12:55 +02:00
Vojtech Bubnik
20ba7c0a1f
New parameter "Slicing Mode" for supporting 3DLabPrint airplane models.
...
S3D's strategy for merging self intersecting models is "Even / Odd"
which PrusaSlicer now supports as an alternative to "Positive" rule.
Also added a "Close Holes" option to fill in all internal structures.
3D-Labprint Models aren't sliceable (till years) #3062 #3708
2021-06-01 11:10:12 +02:00
enricoturri1966
1d4f7a8870
Changed logic to avoid saving a project while a gizmo is in editing mode
2021-06-01 08:32:58 +02:00
Lukas Matena
580dc890b8
Wipe tower: use normal retraction when moving to the tower, not toolchange retraction
...
This does not make sense, there is always an unretraction when the head arrives at the tower.
2021-05-31 21:23:03 +02:00
Lukas Matena
4657e0d670
Improvement related to 'separate z travel speed':
...
default to zero = use good old travel speed. This is to
ensure backwards compatibility with existing profiles
2021-05-31 21:21:53 +02:00
Martin Budden
bd6badf123
Added option to independently set z axis travel speed
2021-05-31 21:20:43 +02:00
Vojtech Bubnik
df87f1b929
Fixed some compiler warnings
2021-05-31 14:48:26 +02:00
Lukáš Hejl
660acede9e
Sphere brush color in MMU painting gizmo is now the same as color used for painting.
2021-05-31 14:23:12 +02:00
Vojtech Bubnik
033d9f3a5e
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-31 14:05:53 +02:00
Vojtech Bubnik
8c95212aae
Bugfix of PrintRegion refactoring: Correct invalidation of regions
...
on object transformation.
2021-05-31 14:04:45 +02:00
enricoturri1966
54b69ea9e5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-31 12:55:03 +02:00
enricoturri1966
f0354b43c1
Fixed conflicts after merge with master + fixed rendering of hovered gizmo grabbers
2021-05-31 12:54:48 +02:00
Lukas Matena
b30a6d5883
Unify Delete/Backspace behaviour in gizmos with the rest of slicer. Also,
...
backspace on macOS in SLA gizmo now deletes points and not the whole object,
which was quite unexpected.
2021-05-31 11:50:00 +02:00
Lukas Matena
0d721bfb07
Slightly reworded 'missing layers' warning, to reflect that it is no longer considered an error
2021-05-31 11:16:28 +02:00
Lukáš Hejl
2438e3a891
Fixed issue that the lower half of the object was shown darker than the upper half of the object after slicing with MMU segmentation.
2021-05-31 07:26:38 +02:00
Lukáš Hejl
02a0955a5f
Fixed possible wrongly filled ZIP headers in case that pState->m_zip64 is sets to true.
2021-05-29 19:56:20 +02:00
Lukáš Hejl
7f29647d67
Added missing includes (GCC 11.1)
2021-05-29 19:55:20 +02:00
Lukáš Hejl
2cbf7728bb
Fixed that seed fill left all triangles split instead of merging them.
2021-05-28 17:42:28 +02:00
Lukáš Hejl
726a48383f
Cleaned up of 0a6490bab9
2021-05-28 17:36:56 +02:00
Lukas Matena
8c560522a3
Fixed rendering of gizmo grabbers
2021-05-28 16:44:13 +02:00
enricoturri1966
e1d5d0804b
Added missing uniform calls for emission_factor
2021-05-28 16:44:13 +02:00
enricoturri1966
f69bd75464
Fixed rendering of gizmos' grabbers
2021-05-28 16:44:13 +02:00
enricoturri1966
9605d10caa
Unified color definition
2021-05-28 16:44:13 +02:00
enricoturri1966
e648368934
Removed unneeded calls to GL_LIGHTING
2021-05-28 16:44:13 +02:00
enricoturri1966
b63de990d4
Removed static members from GLGizmoBase and GLGizmoBase::Grabber to fix OpenGL error when closing the application
2021-05-28 16:44:13 +02:00
Lukas Matena
2e24e689fa
Grabbers and support points appearence tweaking, some refactoring
2021-05-28 16:44:13 +02:00
Lukas Matena
846afdf7f3
Removed last GLU call, removed libGLU from CMakeLists
2021-05-28 16:44:13 +02:00
Lukas Matena
fd024eadcd
Removed gluProject and gluUnProject calls
2021-05-28 16:44:13 +02:00
Lukas Matena
97b7ef7dc0
Removed GLU calls from all the gizmos
2021-05-28 16:44:13 +02:00
enricoturri1966
0c7095d807
Fixed crash when deleting last obejct from plater
2021-05-28 16:28:56 +02:00
Vojtech Bubnik
f5c7d14e85
Bugfix after refactoring of PrintRegions: Fixed handling of cached_volume_ids
2021-05-28 15:55:18 +02:00
Vojtech Bubnik
fe96a20b50
Fixed compilation on GCC
2021-05-28 15:22:00 +02:00
Vojtech Bubnik
7d3b2b5b6e
Merge branch 'vb_print_regions' of https://github.com/Prusa3d/PrusaSlicer into vb_print_regions
2021-05-28 15:14:41 +02:00
Vojtech Bubnik
c02f95dfd6
Bugfixes after PrintRegion refactoring.
2021-05-28 15:14:34 +02:00
YuSanka
8e1cde43a6
Update extruder show/hide and default extruder color in respect to the volume type
2021-05-28 13:41:36 +02:00
Lukáš Hejl
0a6490bab9
Added cancellation to MMU segmentation.
2021-05-28 05:57:32 +02:00
Lukáš Hejl
281ac1f2f1
Added missing includes (GCC 9.3)
2021-05-27 16:47:31 +02:00
Vojtech Bubnik
3e28b4c967
Fix of previous commit
2021-05-27 16:14:54 +02:00
Vojtech Bubnik
99301f89f6
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-27 16:12:53 +02:00
Vojtech Bubnik
818cb703ed
Refactored the ModelVolume bounding box to Eigen::AlignedBox<float>,
...
separated splitting of LayerRegions by MMU segmentation to its own
function.
2021-05-27 16:12:34 +02:00
Vojtech Bubnik
b5aa09e5ba
WIP: Integration of MMU painting into the slicing back-end.
2021-05-27 14:29:51 +02:00
enricoturri1966
0b16ffaa07
Follow-up of b3ca8cb0af
-> Fixed typo
2021-05-27 14:05:29 +02:00
enricoturri1966
b3ca8cb0af
Fixed calculation of used filament for gcode viewer (take data from gcode file)
2021-05-27 12:25:59 +02:00
Vojtech Bubnik
9e4d483453
Merge branch 'vb_print_regions' of https://github.com/Prusa3d/PrusaSlicer into vb_print_regions
2021-05-26 16:15:01 +02:00
Vojtech Bubnik
409e1c5cc8
Some fixes after preceding merge. Moved mmu_segmented_region_max_width
...
from PrintConfig to PrintObjectConfig.
2021-05-26 16:14:52 +02:00
YuSanka
b7769856d1
Fixed DnD function for volumes inside the object in respect to the volume type
2021-05-26 15:36:48 +02:00
Vojtech Bubnik
980ca195f5
Merge remote-tracking branch 'remotes/origin/lh_multi_material_segmentation' into vb_print_regions
2021-05-26 15:23:35 +02:00
Vojtech Bubnik
0d081c90f0
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-26 14:38:34 +02:00
Vojtech Bubnik
7f1f0d29d0
Will gcc accept this?
2021-05-26 14:33:24 +02:00
Vojtech Bubnik
cba1950a4e
Fixing compilation on gcc.
2021-05-26 14:30:25 +02:00
Vojtech Bubnik
e24026bfa5
Making the "Default" extruder transparent for modifier meshes and layer
...
range modifiers.
2021-05-26 14:25:33 +02:00
Vojtech Bubnik
b3195614cf
WIP PrintRegion refactoring: Another round of bug fixing, negative volumes
...
seem to work.
2021-05-26 12:41:06 +02:00
Vojtech Bubnik
8ab6a615d0
Fixed another compiler warning
2021-05-25 21:17:07 +02:00
Vojtech Bubnik
dd79a2b832
Fixing some compiler warnings
2021-05-25 20:46:31 +02:00
Vojtech Bubnik
8a297be74e
Fixing another clang complaint
2021-05-25 20:03:05 +02:00
Vojtech Bubnik
c3cd2c7f55
Fixing an OSX clang quirk.
2021-05-25 19:27:20 +02:00
Vojtech Bubnik
9b9354a2aa
WIP: Rework of PrintRegions, bunch of bug fixes.
2021-05-25 18:12:38 +02:00
enricoturri1966
87815b0b16
Tech ENABLE_SEQUENTIAL_LIMITS -> Some refactoring
2021-05-25 15:55:37 +02:00
enricoturri1966
44e9693789
Tech ENABLE_SEQUENTIAL_LIMITS -> Fixed instance transformations
2021-05-25 13:34:51 +02:00
Lukáš Hejl
671c2ace17
Fixed a modification time for files appended using the streaming interface in the miniz library.
2021-05-25 10:38:29 +02:00
Vojtech Bubnik
701a0c9576
Two more bugs squished.
2021-05-24 18:07:12 +02:00
YuSanka
cf76b5c264
Added "Negative volume" type item to the ObjectList
2021-05-24 17:32:40 +02:00
Vojtech Bubnik
72d1faa03e
WIP PrintRegion refactoring: Squashed some bugs.
2021-05-24 16:55:34 +02:00
Vojtech Bubnik
c8bdc62af4
Fixing compilation on Linux
2021-05-24 15:12:04 +02:00
Vojtech Bubnik
04014db136
Fixing compilation on Linux
2021-05-24 15:08:07 +02:00
Vojtech Bubnik
92b4f0542a
Another compilation fix.
2021-05-24 15:00:08 +02:00
enricoturri1966
ec4bf90da3
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-24 14:43:21 +02:00
enricoturri1966
9d216104e0
Fixed warning
2021-05-24 14:42:57 +02:00
Vojtech Bubnik
fd97a49ccc
Fixing the previous commit.
2021-05-24 14:36:27 +02:00
enricoturri1966
7a14005f5a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-24 14:19:40 +02:00
enricoturri1966
9f6751586c
Tech ENABLE_SEQUENTIAL_LIMITS -> Do not show sequential print clearance regions contours when there is only one instance on the plater
2021-05-24 14:18:52 +02:00
enricoturri1966
abbe7f7eea
Tech ENABLE_SEQUENTIAL_LIMITS -> Reset sequential print clearance regions contours when clearing the plater
2021-05-24 14:11:09 +02:00
Vojtech Bubnik
e658fe0698
WIP: PrintRegion refactoring, it finally compiles!
...
Config/PrintConfig refactoring to support operator< for StaticPrintConfig
derived containers.
2021-05-24 14:10:04 +02:00
enricoturri1966
40b97c33c5
Tech ENABLE_SEQUENTIAL_LIMITS -> Another improvement in performance when showing sequential print clearance regions contours while dragging objects
2021-05-24 13:22:37 +02:00
Lukas Matena
afca744d37
Fixed a bug when reverting to an old value with comma-separated doubles
2021-05-24 12:23:44 +02:00
Lukas Matena
4960b125c5
Fixed incorrect locales handling in the UI (Field, ObjectManipulation, etc)
2021-05-24 12:23:39 +02:00
Lukas Matena
c05b8210f2
Fixed several locales issues on file import/export
2021-05-24 12:22:00 +02:00
Lukas Matena
4a7f078527
Fixed debug build
2021-05-24 12:20:29 +02:00
Lukas Matena
6b6b086948
Fixed tests and windows build
2021-05-24 12:20:29 +02:00
Lukas Matena
c5c6f51ae0
Fixed third batch of locale-dependent calls
2021-05-24 12:20:29 +02:00
Lukas Matena
fef385cd6b
Fixed second batch of locale-dependent calls
2021-05-24 12:20:29 +02:00
Lukas Matena
9ee2fc8275
Fixed first batch of locale-dependent calls
2021-05-24 12:20:29 +02:00
Lukas Matena
5a1441f9b7
Created a RAII class to switch LC_NUMERIC to "C" and back
2021-05-24 12:20:29 +02:00
enricoturri1966
6192a3eaf7
Tech ENABLE_SEQUENTIAL_LIMITS -> Improved performance when showing sequential print clearance regions contours while dragging objects
2021-05-24 12:11:49 +02:00
Vojtech Bubnik
740773db85
WIP: Refactoring of PrintRegions. It nearly compiles!
2021-05-21 17:57:37 +02:00
enricoturri1966
77dfeb84bc
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-21 14:58:41 +02:00
enricoturri1966
d5c462f5a6
Tech ENABLE_SEQUENTIAL_LIMITS -> Show sequential print clearance regions contours while dragging objects
2021-05-21 14:57:03 +02:00
Lukáš Hejl
ed9c93f85a
Added missing includes (GCC 9.3)
2021-05-21 07:42:37 +02:00
Lukáš Hejl
f50046b31b
Modified streaming interface in miniz library to use ZIP64 extension only for files exciding the limits.
...
The modification is based on a preallocation space in the Extra field using a phony custom block in the Local file header. This space is eventually overwritten by the ZIP64 extension if the file exceeds 4GiB.
Also were fixed differences from PKZip specification in the streaming interface.
2021-05-20 19:44:12 +02:00
enricoturri1966
38657d7e4e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-20 15:38:50 +02:00
enricoturri1966
d13c550968
Fixed conflicts after merge with master
2021-05-20 15:37:56 +02:00
enricoturri1966
6bb2982b98
Skip picking pass when plater is empty
2021-05-20 15:34:59 +02:00
enricoturri1966
2bd3e018b1
Follow-up of d54548367a
-> Reintroduce GLCanvas3D::m_old_size to avoid unneeded calls to render()
2021-05-20 14:42:40 +02:00
Vojtech Bubnik
ef9004cee4
Fix of its_collect_mesh_projection_points_above()
...
Fix of perl integration tests after introduction of not using the mesh
below the print bed.
2021-05-20 13:58:27 +02:00
David Kocik
635bf8d9f1
Notifications: Calculating space left for hypertext with escaped text
2021-05-20 13:09:45 +02:00
Enrico Turri
eb431db7ed
Test
2021-05-20 11:04:47 +02:00
enricoturri1966
33d489df30
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-20 10:47:51 +02:00
enricoturri1966
a218e0ef18
Tech ENABLE_ALLOW_NEGATIVE_Z -> New implementation for method ModelObject::convex_hull_2d()
2021-05-20 09:32:17 +02:00
enricoturri1966
8377b6ef4f
Fixed typo in its_collect_mesh_projection_points_above() and method TriangleMesh::slice() set as const
2021-05-20 09:09:19 +02:00
Vojtech Bubnik
ff6623b0f4
Fixing
2021-05-19 16:51:25 +02:00
Vojtech Bubnik
116e2b2112
Fixing the slice_mesh() after recent refactoring.
2021-05-19 16:09:45 +02:00
Vojtech Bubnik
68b0d92183
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-19 14:00:21 +02:00
Vojtech Bubnik
31942e03db
Optimization of its_collect_mesh_projection_points_above(): Reserve points.
2021-05-19 13:59:34 +02:00
Vojtech Bubnik
e952aded78
cut_mesh(): new parameter to optionally not triangulate the caps.
2021-05-19 13:52:47 +02:00
Vojtech Bubnik
66cf7ea9d3
Extracting its_collect_mesh_projection_points_above() out of
...
its_convex_hull_2d_above(), so that the projected points may get
collected over multiple volumes before applying Geometry::convex_hull()
2021-05-19 13:39:56 +02:00
Vojtech Bubnik
5644b98d3b
Factored out convex hull calculation from ModelObject::convex_hull_2d()
...
to Geometry::convex_hull().
Update Geometry::convex_hull() to handle duplicate points.
2021-05-19 13:23:19 +02:00
Vojtech Bubnik
8db2d96c75
Point::ccw() optimization: Calculate with int64, not doubles.
2021-05-19 12:01:30 +02:00
enricoturri1966
0d8a1c3d2a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-19 11:45:05 +02:00
Vojtech Bubnik
6b54f34ce1
New functions: its_convex_hull_2d_above()
2021-05-19 11:35:42 +02:00
tamasmeszaros
e892550cb0
Fix warning of ignored variable in structured binding
2021-05-19 10:08:41 +02:00
Vojtech Bubnik
682c405fc2
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-19 09:40:24 +02:00
Vojtech Bubnik
f5f912e6e9
WIP: Refactoring of PrintRegions
2021-05-19 09:38:51 +02:00
enricoturri1966
53397cee17
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-19 08:40:32 +02:00
enricoturri1966
4a134f5320
Follow-up of c37d18f046
-> Removed assert
2021-05-19 08:39:04 +02:00
enricoturri1966
d60893b990
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-19 08:27:27 +02:00
Vojtech Bubnik
c28cd957d5
New utility function its_merge_vertices().
...
Implemented contour simplification inside slice_mesh_ex().
2021-05-18 17:57:55 +02:00
YuSanka
dfc6d399f7
Fixed update of the ObjectManipulation when "autocenter" is on
2021-05-18 17:06:41 +02:00
Vojtech Bubnik
78c0199523
TriangleMeshSlicer: Optimized out unnecessary transformations.
2021-05-18 16:12:49 +02:00
Vojtech Bubnik
70b4915f9c
TriangleMeshSlicer: Got rid of admesh!
2021-05-18 15:05:30 +02:00
YuSanka
1256aebd88
Fix of some warnings
2021-05-18 12:58:14 +02:00
enricoturri1966
e338eebade
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-18 12:50:01 +02:00
YuSanka
6c47b15834
Follow-up of a5d5ceb30d
- Fixed run on Windows
2021-05-18 12:32:37 +02:00
enricoturri1966
221c054e4f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-18 10:37:39 +02:00
YuSanka
a5d5ceb30d
DoubleSlider: Fixed ruler for sequential print of the object with different heights
2021-05-17 21:12:19 +02:00
Vojtech Bubnik
308d6b7809
WIP: Reworked slicing
...
1) Slicing code moved to TriangleMeshSlicer.cpp,hpp from TriangleMesh.cpp,hpp
2) Refactored to use as little as possible of admesh.
2021-05-17 20:25:59 +02:00
tamasmeszaros
68d2427a34
Fix marching squares test crash in debug builds
2021-05-17 14:54:47 +02:00
enricoturri1966
40086784fe
Small refactoring in GLCanvas3D
2021-05-17 13:14:19 +02:00
enricoturri1966
858ea16b95
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-17 13:05:09 +02:00
enricoturri1966
0605813e68
Faster ModelObject::convex_hull_2d() by using ModelVolume 3D convex hulls
2021-05-17 13:02:38 +02:00
enricoturri1966
c37d18f046
Follow-up of ca14ea4c33
-> Fixed arrange with sinking objects
2021-05-17 12:53:05 +02:00
enricoturri1966
a929b29a0b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-14 15:06:44 +02:00
enricoturri1966
4aab49f591
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-05-14 15:03:51 +02:00
enricoturri1966
ca14ea4c33
Tech ENABLE_ALLOW_NEGATIVE_Z -> ModelObject::convex_hull_2d() and sequential_print_horizontal_clearance_valid() modified to take in account for sinking instances
2021-05-14 15:02:54 +02:00
Vojtech Bubnik
2b9e41e695
Fix of a special case in auto color print feature, which crashed with
...
single layer PrintObjects.
Fixes Segmentation fault (GLib-GObject null pointer) #6516
2021-05-14 14:57:41 +02:00
Vojtech Bubnik
221af991c2
Fixed update of PrintRegions after removing an object.
...
The bug has been introduced during recent PrintRegion refactoring.
2021-05-14 11:52:33 +02:00
enricoturri1966
b9011ca5f1
Tech ENABLE_SEQUENTIAL_LIMITS -> Do not show sequential print clearance regions while layers editing is enabled
2021-05-14 11:20:02 +02:00
enricoturri1966
b014e87ef7
Tech ENABLE_SEQUENTIAL_LIMITS -> Fixed z-fighting between sequential print clearance regions and objects
2021-05-14 11:13:46 +02:00
enricoturri1966
2cf5f83bb6
Tech ENABLE_SEQUENTIAL_LIMITS -> Do not show sequential print clearance regions while any gizmo is active
2021-05-14 10:52:18 +02:00
enricoturri1966
214f7bd092
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-14 10:20:15 +02:00
enricoturri1966
e0dd7edb21
Removed obsolete method from GLVolumeCollection
2021-05-13 14:56:35 +02:00
enricoturri1966
6bddacee44
Fixed conflicts after merge with master
2021-05-13 14:10:42 +02:00
enricoturri1966
e330b66981
Small refactoring
2021-05-13 13:57:09 +02:00
enricoturri1966
d54548367a
Fixed imgui out of synch with mouse after switching between preview and 3D view
2021-05-13 10:59:13 +02:00
YuSanka
044634d7d1
Fixed "Extruder sequence", when extruder changes are per mm
2021-05-13 09:50:09 +02:00
Lukas Matena
707ce9d3d4
Added a missing include (gcc)
2021-05-12 17:04:36 +02:00
YuSanka
4be1d62259
Fixed update of the "Supports" in frequently used parameters when Vase mode is selected
2021-05-12 15:54:20 +02:00
enricoturri1966
62772060f9
Tech ENABLE_SEQUENTIAL_LIMITS -> Do not show clearance regions while dragging an object
2021-05-12 14:56:14 +02:00
enricoturri1966
bc9fa18044
Tech ENABLE_SEQUENTIAL_LIMITS -> Fixed z-fighting between contours and fill
2021-05-12 14:35:57 +02:00
enricoturri1966
3006213d3b
Removed obsolete member variable from Canvas3D::Slope
2021-05-12 14:25:13 +02:00
enricoturri1966
0d37f66f61
Tech ENABLE_SEQUENTIAL_LIMITS -> Improved rendering of clearance regions
2021-05-12 13:09:33 +02:00
YuSanka
82da1f8fc1
Code cleaning: Delete workaround code
2021-05-12 11:43:36 +02:00
enricoturri1966
ebe762f177
Add estimated printing time for first layer in legend
2021-05-12 11:21:18 +02:00
YuSanka
de1d36cc9a
Probably fix for #6270 - Segfault during startup in prusa-slicer-git 2.3.0.r24.gd06aa6069-1
2021-05-11 18:03:57 +02:00
enricoturri1966
b875fd2755
Fixed project dirty state after changing language
2021-05-11 15:01:33 +02:00
enricoturri1966
75677ba810
Tech ENABLE_SEQUENTIAL_LIMITS -> 1st installment of visualization of objects clearance for sequential prints
2021-05-11 13:12:25 +02:00
Oleksandra Yushchenko
ab886e037b
Implementation for #6216
...
* Implementation for #6216 - Make number keys select extruder when object treeview has focus
+ deleted unused extruder_selection()
+ Fixed notification after splitting of the solid object
* Follow up 85a10268b9
- OSX implementation
+ Added shortcuts description to the "Keyboard Shortcuts" dialog
* Workaround to use "+/-" and numbers shortcuts on Linux
+ Fixed build on Linux
* OSX specific: fixed a work of keyboard accelerators from numbers on NumPad keyboard
* KBShortcutsDialog: fixed shortcuts for "Preferences" and "Show/Hide 3Dconnexion devices settings dialog, if enabled" under osx
and "Set Printable/Unprintable" and "Set extruder" under Linux
+ OSX specific: Added minimize of the application on "Cmd+M"
* Hot-fix for 6efeb9d6b4
* Removed Linux specific workaround
2021-05-11 11:02:12 +02:00
enricoturri1966
13b0757b8b
Tech ENABLE_REDUCED_TOOLPATHS_SEGMENT_CAPS set as default
2021-05-11 10:28:04 +02:00
David Kocik
fabaee10a8
Additional controls in NotificationManager
2021-05-11 09:35:25 +02:00
David Kocik
d701b24bc0
Fix of crash when notification text + hypertext wont fit line length
2021-05-11 09:35:25 +02:00
YuSanka
b87c03fc09
Linux specific: Fixed ObjectDataViewModel::GetColumnType()
...
When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
2021-05-10 17:57:44 +02:00
enricoturri1966
426d2cd725
Tech ENABLE_WARNING_TEXTURE_REMOVAL set as default
2021-05-10 16:05:16 +02:00
enricoturri1966
ca8a42c8b1
Tech ENABLE_SPLITTED_VERTEX_BUFFER set as default
2021-05-10 14:45:17 +02:00
enricoturri1966
137dbbd19f
Fixed crash into ProjectDirtyStateManager::update_from_undo_redo_stack() when switching language
2021-05-10 13:06:13 +02:00
YuSanka
a49d34c6f3
Fix of #5437 - Make it clear on the G-code slider that color change is not supported for sequential print
2021-05-10 12:10:41 +02:00
enricoturri1966
f786d9c96e
Fixed conflicts after merge with master
2021-05-10 10:25:57 +02:00
Vojtech Bubnik
5828decfc7
Fixing multi-material printing after recent refactoring ( d21b9aa
to 1c6333e
)
2021-05-10 09:32:24 +02:00
YuSanka
f11b9a5b6a
DiffPresetDialog: Fixed update of the related presets after changing selection of the Printer preset
2021-05-07 16:46:09 +02:00
enricoturri1966
89da02734e
ENABLE_ALLOW_NEGATIVE_Z -> Ensure objects on bed when switching to SLA printer
2021-05-07 15:08:07 +02:00
enricoturri1966
62ad1904e2
Fixed warnings into DoExport
2021-05-07 14:46:10 +02:00
enricoturri1966
f1cb529a7b
Fixed warnings into ProjectDirtyStateManager
2021-05-07 14:17:17 +02:00
enricoturri1966
389955966c
Disabled tech ENABLE_PROJECT_DIRTY_STATE_DEBUG_WINDOW
2021-05-07 13:42:53 +02:00
enricoturri1966
ec9c3891cf
Fixed conflicts after merge with master
2021-05-07 13:14:11 +02:00
Lukáš Hejl
4d2c2070f8
Added missing includes (GCC 9.3)
2021-05-07 12:51:10 +02:00
YuSanka
b9910669e8
Fix of #2825 - Add the length of each filament used
2021-05-07 12:48:34 +02:00
enricoturri1966
56aa45fa1f
Fixed typo
2021-05-07 12:48:34 +02:00
enricoturri1966
c602e655e0
Tech ENABLE_SCROLLABLE_LEGEND -> Fixed layout of scrollable sub panels
2021-05-07 12:48:34 +02:00
enricoturri1966
49503db65e
Tech ENABLE_SCROLLABLE_LEGEND -> Set legend max height
2021-05-07 12:48:34 +02:00
enricoturri1966
ddf59a4a8c
Tech ENABLE_SCROLLABLE_LEGEND -> 1st installment of scrollable legend
2021-05-07 12:48:34 +02:00
YuSanka
96447de1d4
ConfigWizard:: Use wxTextCtrl instead of wxDoubleSpinCtrl for nozzle and filament diameters
2021-05-07 12:22:54 +02:00
Vojtech Bubnik
5c35fa4539
Commenting source of Polygon::centroid() algorithm
2021-05-07 11:54:25 +02:00
Vojtech Bubnik
52b3c655ff
Fixed Polygon::centroid()
...
Ported Polygon unit tests from Perl to C++.
2021-05-07 11:42:21 +02:00
David Kocik
9cfcba78f7
text fix
2021-05-07 09:01:57 +02:00
David Kocik
963849e18b
desktop integration functions and dialog
2021-05-07 09:01:57 +02:00
Vojtech Bubnik
68fabfea62
Fix of Polygon::area().
2021-05-07 09:45:27 +02:00
Vojtech Bubnik
feefbc575a
Refactored PrintObject::m_region_volumes for extensibility.
...
WIP for multi-material painting.
2021-05-06 15:48:38 +02:00
Vojtech Bubnik
dd72016159
FDM backend refactoring for const correctness, clarity ...
2021-05-06 15:08:57 +02:00
Vojtech Bubnik
b5573f959b
Refactoring for code clarity: Replaced this->m_xxx with m_xxx
...
as the m_ prefix already signifies a class local variable.
2021-05-06 14:43:36 +02:00
Vojtech Bubnik
f16d4953be
Removing offset2 from Perl bindings and other minor cleanup.
2021-05-06 14:29:20 +02:00
enricoturri1966
ff632a9ff2
Tech ENABLE_ALLOW_NEGATIVE_Z-> Disable sinking objects for SLA printer
2021-05-06 14:04:07 +02:00
Vojtech Bubnik
0ca6b12da1
Print/PrintObject/PrintRegion refactoring:
...
Newly the PrintObjects own PrintRegions and Print contains references
to PrintRegions owned by PrintObjects, so that a PrintRegion of the same
content is referenced by Print only once.
The refactoring is a WIP to support multi-material painting.
2021-05-06 13:01:09 +02:00
enricoturri1966
123c5af347
#6473 - Update titlebar when opening a project file by double-clicking the file icon
2021-05-06 10:11:53 +02:00
Vojtech Bubnik
ee15f00574
FDM backend refactoring: Return PrintRegion by reference, not by pointer.
...
Added PrintRegion hashing.
2021-05-05 18:13:58 +02:00
Vojtech Bubnik
714149dab2
WIP: Moving ownership of PrintRegions to PrintObjects.
2021-05-05 16:21:55 +02:00
Vojtech Bubnik
a7c67415c7
Another try of fixing compilation on gcc.
2021-05-05 14:34:54 +02:00
Vojtech Bubnik
18001fbb4e
Fixing compilation on gcc
2021-05-05 14:32:19 +02:00
Vojtech Bubnik
d6c5961eb0
Factored out the Print::apply() method and its dependending free functions
...
into PrintApply.cpp module.
2021-05-05 14:30:09 +02:00
Vojtech Bubnik
72ce8cb28d
PrintRegion refactoring: Getting rid of the Print pointer.
2021-05-05 14:17:36 +02:00
Vojtech Bubnik
a2de09e11e
Fixing unit tests.
2021-05-05 13:19:01 +02:00
enricoturri1966
a91306032c
Project dirty state manager -> Fixed crash when loading/saving a 3mf file
2021-05-05 13:17:20 +02:00
Vojtech Bubnik
7d4b3f2992
Fix of safety_offset() after ClipperUtils refactoring.
...
Fixes Solid infill where there should be none #6482
Also the safety offsetting was revised to be enabled only where needed,
the "do safety offset" is now easy to discover by
a new ApplySafetyOffset::Yes enum, and safety offset over union, which
is better done by offset() / offset_ex() has been replaced with
new union_safety_offset() / union_safety_offset_ex() functions, which
better convey their meaning and which could be better optimized than
union() with the safety offset applied.
2021-05-05 12:16:47 +02:00
enricoturri1966
bb18edde0a
Tech ENABLE_ALLOW_NEGATIVE_Z-> Synchronize sinking instances
2021-05-05 11:53:24 +02:00
enricoturri1966
3f6123e653
Tech ENABLE_ALLOW_NEGATIVE_Z-> Added button in object manipulator to drop to bed a sinking object
2021-05-05 09:15:33 +02:00
Vojtech Bubnik
fd3dd1611c
Fixed alignment of sparse infill over multiple layers of the same region,
...
which was broken with 68666de521b1cb15e41ac6728c0e8d3b4b0d4ed0
"Reworked the "new" bridging to respect the bridge_flow_ratio
by maintaining extrusion spacing, but modifying the extrusion width
and / or height."
2021-05-04 18:27:53 +02:00
Vojtech Bubnik
00835c7367
Fixing compilation on clang in debug mode.
2021-05-04 16:13:40 +02:00
Vojtech Bubnik
1aef86f650
Implemented generic mechanism for executing tasks on UI thread synchronously
...
from the background slicing thread, that supports cancellation.
The generic mechanism is used for generating thumbnails into G-code and
Fixes Fix deadlock when canceling the slicing while gcode is creating thumbnails #6476
Thanks @supermerill for pointing out the issue.
2021-05-04 16:07:32 +02:00
enricoturri1966
67572fad3f
Tech ENABLE_ALLOW_NEGATIVE_Z-> Keep sinking objects and instances as sinking after copy/paste or add instance commands
2021-05-04 14:48:30 +02:00
YuSanka
4fe6f726de
ObjectList: Fixed update of the selection, when some gizmo in 3D-Scene is activated
2021-05-04 14:20:19 +02:00
enricoturri1966
cb294e0b3e
Follow-up of 15c32d636d
-> Small refactoring
2021-05-04 13:31:07 +02:00
enricoturri1966
15c32d636d
Seams detection for gcode saved with other slicers
2021-05-04 12:45:51 +02:00
Vojtech Bubnik
5cc6dc59dc
Fixed compilation with GCC
2021-05-04 11:22:38 +02:00
Vojtech Bubnik
a7368b9deb
Fixing thread-safe StaticConfig creations #6477
...
fix un-threadsafe code for creating config enum hashtable. #6475
2021-05-04 11:03:26 +02:00
Lukáš Hejl
46a14abbaa
Added default object color in MMU segmentation according to the default extruder color for printing the object.
2021-05-04 08:13:04 +02:00
Lukáš Hejl
781e6607c8
Fixed updating of extruders list in MMU segmentation gizmo after adding extruders and reloading 3MF with different extruder count and colors.
2021-05-04 07:59:16 +02:00
Lukáš Hejl
71c60a5187
Follow-up of 168b4afbc2
: Replaced forgotten lslices in the top and bottom layer propagation in MMU segmentation.
2021-05-03 22:11:04 +02:00
Lukáš Hejl
cd5fea8b42
Fixed compiler warnings
2021-05-03 21:50:40 +02:00
Lukáš Hejl
2d3eef4e84
Fixed possible warnings
2021-05-03 21:13:13 +02:00
Lukáš Hejl
fa8c319721
Fixed MMU segmentation for cases when a contour was whole colored by one color and a hole was whole colored by a different color.
2021-05-03 21:06:46 +02:00
Lukáš Hejl
5bfdaa7ac8
Parallelization of regions merging for MMU segmentation.
2021-05-03 21:01:52 +02:00
Lukáš Hejl
2e9f0d6eaf
Fixed a few cases of missing colored segments in MMU segmentation.
...
Occasionally, some input polygons contained self-intersections that caused problems with Voronoi diagrams and consequently with the extraction of colored segments by function extract_colored_segments.
Also, occasionally input polygons contained several points very close together (distance between points is 1 or so). Such close points sometimes caused that the Voronoi diagram has self-intersecting edges around these vertices. This consequently leads to issues with the extraction of colored segments by function extract_colored_segments.
2021-05-03 20:56:39 +02:00
Lukáš Hejl
168b4afbc2
Fixed MMU segmentation for multi-volume objects.
...
MMU segmentation no longer works directly on lslices, instead of it works on custom merged regions. So lslices in PrintObject are no longer overwritten because of MMU segmentation.
All regions are scaled by SCALED_EPSILON before merging and shrunk back by SCALED_EPSILON after merging. That fixed issues with multi-volume objects when very close regions weren't merged.
Also, small expolygons and holes are filtered out that fixed missing segmentation at the boundary of two volumes in the case of multi-volume objects.
2021-05-03 20:37:14 +02:00
enricoturri1966
ede14251b1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_project_dirty_state
2021-05-03 16:05:22 +02:00
enricoturri1966
164af0255a
Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking objects as sinking after reload from disk
2021-05-03 16:02:06 +02:00
enricoturri1966
57199b4116
Tech ENABLE_ALLOW_NEGATIVE_Z-> Fixed build on non-Windows OS
2021-05-03 15:47:16 +02:00
Vojtech Bubnik
ab74ea5c90
One more fix after merge.
2021-05-03 15:30:10 +02:00
Vojtech Bubnik
2aadc1cefa
Fixing after merge.
2021-05-03 15:28:03 +02:00
Vojtech Bubnik
eb66111eda
Merge branch 'vb_clipper_optimization'
2021-05-03 15:24:04 +02:00
Vojtech Bubnik
ef07644bf2
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-05-03 15:23:57 +02:00
Vojtech Bubnik
7563c885a1
Fixing compiler warnings
2021-05-03 15:00:23 +02:00
enricoturri1966
1c3090b11f
Tech ENABLE_ALLOW_NEGATIVE_Z-> Layers height editing related fixes
2021-05-03 14:28:55 +02:00
Vojtech Bubnik
96f8744e05
Another fix for C++ conformant compilers
2021-05-03 11:55:23 +02:00
Vojtech Bubnik
c7c7983e77
Fixing compilation on C++ conforming compilers
2021-05-03 11:50:05 +02:00
Vojtech Bubnik
09a80d954c
Further rework of ClipperUtils: Replaced many to_polygons() /
...
to_expolygons() calls with templated ClipperUtils variants to avoid
memory allocation and copying.
2021-05-03 11:39:53 +02:00
Lukáš Hejl
62592cab48
Added missing include (GCC 11.1)
2021-05-01 22:33:59 +02:00
YuSanka
c414f932d4
Fixed a bug with selection from the 3D-scene when ObjectSettings item is selected in ObjectList
...
Steps to repro:
1. Add 2 objects, add Settings for some of object -> Object Settings item is selected
2. In the 3D-scene select another object -> BUG: no changes in the ObjectList
2021-04-30 16:56:18 +02:00
YuSanka
4ffbd027d0
OSX specific: Fixed scale of the frequently settings, when extra display is connected
2021-04-30 16:49:13 +02:00
Lukáš Hejl
0a8a3f6d8c
Fixed build on Windows.
2021-04-30 15:40:27 +02:00
Lukáš Hejl
d11d15aa1e
Rework of MMU segmentation gizmo to support more than three colors.
2021-04-30 15:58:25 +02:00
enricoturri1966
395164c7a1
Fixed conflicts after merge with master
2021-04-30 14:54:58 +02:00
Lukas Matena
95f5b82d6a
Improved MM priming lines placement on circular beds ( #6459 )
2021-04-30 13:11:33 +02:00
Vojtech Bubnik
9fbba855ef
Clipper optimization:
...
1) Removed the already commented-out scaling / unscaling when doing
"safe offsetting"
2) Removed some of the "safe offsetting" at calls where it never was used.
3) Reworked Clipper & ClipperUtils to pass Polygons / ExPolygons / Surfaces
as input parameters without conversion to ClipperLib::Paths. This
should save a lot of memory allocation and copying.
4) Reworked conversions from ClipperLib::Paths & PolyTree to Polygons /
ExPolygons to use the move operator to avoid many unnecessary allocations.
5) Reworked some "union with safe ofsetting" to "offset_ex", which should
be cheaper.
2021-04-30 11:49:57 +02:00
enricoturri1966
28d01542ed
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection
2021-04-29 11:07:47 +02:00
Vojtech Bubnik
b327314b02
Layer::make_perimeters() - when merging regions, use OffsetEx instead
...
of safety offset of UnionEx, which may not be robust.
2021-04-29 11:05:11 +02:00
enricoturri1966
3a28fe62b5
Fixed missing ending cap for toolpaths having a single segment
2021-04-29 09:09:49 +02:00
enricoturri1966
9086542a08
Follow-up of 2c6472ebc3
-> Ensure backward compatibility
2021-04-28 16:06:49 +02:00
enricoturri1966
a3f03ac188
Tech ENABLE_ALLOW_NEGATIVE_Z->Keep as sinking objects saved in project files
2021-04-28 16:02:51 +02:00
enricoturri1966
1863d622b5
Changed order of rendering of sidebar hints to avoid artifacts due to depth buffer cleanup made by gizmo renderers
2021-04-28 13:58:16 +02:00
enricoturri1966
c58572deaa
Tech ENABLE_ALLOW_NEGATIVE_Z->Fixed object popping up after editing layer range fields
2021-04-28 11:07:15 +02:00
enricoturri1966
a83cd647da
Small refactoring in GLCanvas3D::LayersEditing
2021-04-28 08:49:32 +02:00
enricoturri1966
7ae77c06d0
Tech ENABLE_SEAMS_VISUALIZATION -> Added threshold to place seams
2021-04-27 15:12:45 +02:00
enricoturri1966
15f376e468
Tech ENABLE_SEAMS_VISUALIZATION -> Fixed build on Mac
2021-04-27 11:11:21 +02:00
enricoturri1966
2c6472ebc3
Replace label Skirt with Skirt/Brim in preview legend
2021-04-27 10:46:42 +02:00
enricoturri1966
076fdc90c0
Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview
2021-04-27 09:45:15 +02:00
Lukáš Hejl
576c5b78e9
Added seed fill for MMU segmentation
2021-04-27 06:48:09 +02:00
Lukáš Hejl
be1b4ce18c
Fixed compiler warnings
2021-04-27 00:41:20 +02:00
Lukáš Hejl
8a19cf9d64
Extended support of MMU segmentation backed for more than three colors.
...
Serialization and deserialization in TriangleSelector were extended to support up to 16 materials (3 unused states left for possible later extension). These changes also affect the encoding of data from custom supports and seams, but it is backward compatible with the previous encoding. And for custom supports and seams, it is produced exactly the same data encoding as before.
2021-04-27 00:37:49 +02:00
Lukáš Hejl
db55bd706e
Fixed case in MMU segmentation when the infinity-edge in the Voronoi diagram has vertex0(), and vertex1() equals nullptr.
2021-04-27 00:36:22 +02:00
Lukáš Hejl
1b144e80bd
Added hiding of MMU segmentation gizmo when it is selected printer with only one extruder.
2021-04-27 00:35:43 +02:00
Lukas Matena
da702ab135
Fixed a memory leak when repairing an external stl
2021-04-26 20:45:43 +02:00
Lukas Matena
978b359492
Fix normal direction when exporting STL ( #6406 )
...
The export function does not depend on Model/ModelObject::mesh() family of functions,
changing them might break the already too brittle code.
2021-04-26 19:58:08 +02:00
Vojtech Bubnik
d1cfdcb49e
Refactoring of StaticPrintConfig & derived classes:
...
1) Using boost::preprocessor to reduce code duplicities when defining
new configuration values.
2) Implemented static hash() and operator== on StaticPrintConfig derived
classes to support hash tables of instances thereof.
2021-04-26 18:37:10 +02:00
Lukas Matena
5783cc62fb
Wipe tower priming lines are placed at origin with custom bed shapes
...
Custom shapes were previously detected as circular and the lines were placed off the bed
2021-04-26 09:21:18 +02:00
Vojtech Bubnik
9f4e9da5c6
Merge branch 'tm_vb_clipper_eigen'
2021-04-23 11:44:25 +02:00
enricoturri1966
b600540411
Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying scale gizmo
2021-04-23 09:11:55 +02:00
enricoturri1966
d4695827ce
Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying rotate gizmo
2021-04-23 08:29:29 +02:00
enricoturri1966
70ec034281
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection
2021-04-22 15:30:27 +02:00
enricoturri1966
52583bbe30
Extrusions in custom start g-code forced to be at first layer height level
2021-04-22 15:15:19 +02:00
enricoturri1966
8f385aac44
Tech ENABLE_ALLOW_NEGATIVE_Z -> Shading of sinking instances
2021-04-22 13:18:36 +02:00
Vojtech Bubnik
38bb7d2950
1) New methods PrintObject::num_regions() and ::has_region() to make
...
the code more readable and to highlight where PrintObject::region_volumes
are actually set and consumed.
2) Replaced Slic3r::clamp() with std::clamp(). They differ in the order
of their parameters, thus hopefully no new bugs were introduced.
3) Some refactoring of MultiMaterialSegmentation for efficiency.
2021-04-22 11:41:26 +02:00
tamasmeszaros
ea26581959
Move iterator stuff from polygon to multipoint
2021-04-22 09:44:08 +02:00
Vojtech Bubnik
3b86cb3a3c
Added missing files
2021-04-22 09:26:07 +02:00
Vojtech Bubnik
8d0950ce12
Convincing ClipperLib to use Slic3r's own Point type internally.
2021-04-21 20:15:49 +02:00
tamasmeszaros
a15c16d40d
Use new libnest backend for MinAreaBoundingBox wrapper
2021-04-21 17:21:43 +02:00
tamasmeszaros
657d19482b
Minor code refinements
2021-04-21 16:49:11 +02:00
tamasmeszaros
d069591514
Write hollow flag to SL1 files if any object is hollowed.
2021-04-21 16:29:12 +02:00
tamasmeszaros
dca67822d1
Eliminate warnings caused by changes to aid new libslic3r backend
2021-04-21 16:02:31 +02:00
tamasmeszaros
ad19ab219d
New custom backend for libnest2d using libslic3r types
...
Adapted to new clipper->eigen mod
2021-04-21 16:02:25 +02:00
enricoturri1966
82d577645e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection
2021-04-21 14:52:52 +02:00
Vojtech Bubnik
0c1953a929
Further fixes of the first_layer_height refactoring.
2021-04-21 14:34:49 +02:00
YuSanka
4ce7ea40f0
Updated splashscreen images
2021-04-21 13:49:24 +02:00
enricoturri1966
c8b83ae011
Tech ENABLE_ALLOW_NEGATIVE_Z -> Allow move gizmo to place an object under the printbed
2021-04-21 12:41:43 +02:00
enricoturri1966
c7771a576b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection
2021-04-21 12:32:17 +02:00
Vojtech Bubnik
d9ed9149ae
1) Moved first_layer_heigth frrom PrintObjectConfig to PrintConfig.
...
Thus the first_layer_height is no more object specific. That makes
a lot of sense due to the brim calculation being performed over
all layers at once and due to future merging of supports of
different objects at first layer.
2) Because now first_layer_height is print specific, the relative
first layer height derived from the object layer height was partially
disabled: First the relative first layer height is converted to
an absolute value when importing config, second the side text
was changed from "mm or %" to "mm". Still the UI allows entering %.
Both changes may be controversial, let's wait for user feedback.
2021-04-21 12:09:43 +02:00
Lukáš Hejl
49928e131c
Added missing include (GCC 9.3)
2021-04-21 06:08:46 +02:00
enricoturri1966
9cd5ba13f2
Some refactoring into ProjectDirtyStateManager
2021-04-20 16:07:39 +02:00
Vojtech Bubnik
4f950343c8
MMU segmentation refactoring: Most of the MMU segmentation code
...
was extracted to its own file.
2021-04-20 15:07:05 +02:00
Lukas Matena
bf1fc7d436
Info in ObjectList: Added variable layer height
2021-04-20 15:07:05 +02:00
Lukas Matena
e48bc7a5e8
Info in ObjectList: Settings should be above the new info items, info items are selectable
2021-04-20 15:07:05 +02:00
Lukas Matena
61528cbdc8
Show info about custom supports and seam in ObjectList
...
Slight refactoring in GLGizmosManager so it is easier to open a gizmo from the ObjectList
2021-04-20 15:07:05 +02:00
enricoturri1966
6be2a1be2c
Removed mutable members from class GLVolume
2021-04-20 12:55:23 +02:00
enricoturri1966
0e3090fb28
Removed mutable members from class GLCanvas3D
2021-04-20 12:16:55 +02:00
enricoturri1966
b0bb1e7b1d
Removed mutable members from class OpenGLManager::GLInfo
2021-04-20 11:42:34 +02:00
enricoturri1966
f486dedb52
Disabled tech ENABLE_PROJECT_DIRTY_STATE_DEBUG_WINDOW
2021-04-20 10:41:38 +02:00
David Kocik
453884f908
Check of correct suffix during PrintHostSend dialog.
2021-04-20 09:18:50 +02:00
David Kocik
429675db2d
Error appearance of upload notification and dividing lines with lesser impotance of spaces
2021-04-20 09:18:50 +02:00
David Kocik
d7b385f144
compare upload notification by id and not show id in text
2021-04-20 09:18:50 +02:00
David Kocik
fb645c6394
two line text for upload progress bar notification
2021-04-20 09:18:50 +02:00
David Kocik
c140974bf4
Changed ToolpathOuside error notification from plater to slicing error notification type so it is grayed out correctly
2021-04-20 09:18:50 +02:00
David Kocik
9118de4e3c
Upload notification text fix
2021-04-20 09:18:50 +02:00
David Kocik
78e61eddf8
typo fix
2021-04-20 09:18:50 +02:00
David Kocik
441cf62ad3
fix of notification states and upload progress bar notification fadeout
2021-04-20 09:18:50 +02:00
enricoturri1966
c691464659
Project dirty state manager -> Improvements update of plater dirty state after save commands
2021-04-20 09:09:06 +02:00
enricoturri1966
3e09334162
Removed mutable members from class Bed3D
2021-04-20 08:53:56 +02:00
Lukáš Hejl
40d9e51b5e
WIP: Added support for top and bottom layers for MMU segmentation.
2021-04-19 19:21:06 +02:00
Lukas Matena
dfe926ef63
Info in ObjectList: Added variable layer height
2021-04-19 16:10:40 +02:00
Lukas Matena
df3fb31268
Info in ObjectList: Settings should be above the new info items, info items are selectable
2021-04-19 16:10:40 +02:00
Lukas Matena
548ceb7acc
Show info about custom supports and seam in ObjectList
...
Slight refactoring in GLGizmosManager so it is easier to open a gizmo from the ObjectList
2021-04-19 16:10:40 +02:00
Lukáš Hejl
368b48b0a0
WIP: Allows regions of MMU segmentation to be trimmed by chosen width.
2021-04-19 07:12:42 +02:00
Lukáš Hejl
f49ceb1e0f
WIP: MMU segmentation without top and bottom layers
2021-04-19 07:04:50 +02:00
Lukáš Hejl
e3c33844d5
WIP: Duplicated the FDM support gizmo for the MMU segmentation
2021-04-19 07:01:11 +02:00
enricoturri1966
4da8de5f49
Removed mutable members from class GLToolbar
2021-04-16 15:49:37 +02:00
enricoturri1966
4c464b35f9
Removed mutable members from class Selection
2021-04-16 15:25:03 +02:00
enricoturri1966
a393df59d7
Further refactoring into struct Camera
2021-04-16 14:05:55 +02:00
enricoturri1966
074a44833e
Removed mutable members from struct Camera
2021-04-16 13:44:01 +02:00
enricoturri1966
dabac92755
Fixed flickering of 3D scene GUI when the scene's bounding box gets very big
2021-04-16 12:49:57 +02:00
enricoturri1966
66f6c8c786
Fixed conversion to utf8 of strings entered using Custom G-code dialog
2021-04-16 09:48:22 +02:00
enricoturri1966
ce73671f47
Project dirty state manager -> Improvements to management of gizmos dirty state
2021-04-16 09:36:19 +02:00
Vojtech Bubnik
48a93e40fb
After issuing the color change custom G-code, which is most likely
...
just M600, reset the internal retract counter, so that a retract
will happen after the firmware returns from M600 to the initial position.
Fixes "Blobs on print after manual color change #6362 "
2021-04-15 16:29:30 +02:00
enricoturri1966
8c3d098ff6
Project dirty state manager -> management of gizmos dirty state WIP
2021-04-15 15:19:03 +02:00
Vojtech Bubnik
eb428d48fc
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-04-15 13:48:29 +02:00
Vojtech Bubnik
d5ddf8b00e
RemovableManager on OSX: Testing for dictionary values for nullness.
...
Hopefully it fixes Can not start slicer on mac Bigsur #5719
2021-04-15 13:48:20 +02:00
tamasmeszaros
64ec319017
Fix for arrange crash when geometry has zero length segments
...
fixes #5749
2021-04-15 13:23:35 +02:00
enricoturri1966
1e69e6def1
Follow-up of 526233ca47
-> Take in account original instances scale factor
2021-04-15 08:41:20 +02:00
enricoturri1966
526233ca47
Modified version of automatic downscale on load of objects too big
2021-04-14 14:46:49 +02:00
Vojtech Bubnik
0625788583
Fixed obvious bug in move operator, discovered by clang lint ran by Tamas.
2021-04-14 14:25:30 +02:00
Vojtech Bubnik
7112ac61b6
Replacing ClipperLib::IntPoint with Eigen point as a first step to
...
make the ClipperLib paths and polygons compatible with Slic3r paths
and polygons without conversions and memory allocations.
2021-04-14 09:22:51 +02:00
Lukas Matena
8845b0245a
Fixed build against wxWidgets 3.0
2021-04-14 07:05:12 +02:00
Vojtech Bubnik
29cd8aac26
WIP: Fix of arrangement after reducing ClipperLib::cInt
...
from int64_t to int32_t
2021-04-13 16:35:46 +02:00
Vojtech Bubnik
c1179fc2c7
Marked the unsafe ClipperUtils offset functions with CLIPPERUTILS_UNSAFE_OFFSET
...
Replaced some of the unsafe offset functions with safe variants.
Please test the
1) print bed from STL function
2) concentric infill
2021-04-13 13:28:37 +02:00
Vojtech Bubnik
e8643125d8
Clipper / ClipperUtils:
...
1) Let Clipper use int32_t for representing its coordinates. This
reduces memory and allows to skip conversion between Slic3r Polygon
and Clipper polygon.
2) Disable additional offset before executing the Clipper Offset algorithm.
We don't see any reason for that and it required 64bit Clipper coordinates,
which were disabled with 1).
2021-04-13 11:31:54 +02:00
Vojtech Bubnik
dbd1c09523
FDM snug supports: New parameter "closing radius", inspired by Cura's
...
support_join_distance
2021-04-12 14:56:36 +02:00
Lukas Matena
e1619e2ff1
Fixed a typo in an error message (--sw_renderer -> --sw-renderer)
2021-04-12 09:15:28 +02:00
enricoturri1966
94b28f9b8d
Do not use custom gcode in out of bed detection
2021-04-10 11:07:08 +02:00
enricoturri1966
fbde7de98a
Do not convert custom gcode extrusion to travel
2021-04-09 12:52:11 +02:00
enricoturri1966
e89a14c8a7
Project dirty state manager -> current gizmo dirty state
2021-04-09 08:26:48 +02:00
Vojtech Bubnik
558deca789
Configs should point to PrusaSlicer-alpha, not beta in alpha stage.
2021-04-09 08:11:40 +02:00
Vojtech Bubnik
ef6ce8792d
Fix of brim under supports
2021-04-08 16:36:52 +02:00
Vojtech Bubnik
8fd731f7a0
New FDM support sparse infill zig-zag algorithm.
...
Fixed some old support and infill issues.
Fixes support problem #4295
Fixes Parts of interface layer extends beyond supports and cannot be printed
Fixes support missing under horizontal overhang #6058
Fixes Slicer double-traces small sections of Rectilinear Supports, causes
Fixes plastic buildup and nozzle crashes #4951
Fixes Add "Angle Interface layers" #2969
2021-04-08 15:29:40 +02:00
tamasmeszaros
08ca5b29f0
Fix slow cancellation of rasterization step
...
fixes #6253
2021-04-08 14:36:37 +02:00
enricoturri1966
bfbc683a59
Follow-up of 926ecd0585
-> Improved management of plater dirty state
2021-04-07 14:26:04 +02:00
tamasmeszaros
e8af080346
Merge remote-tracking branch 'origin/tm_sl1_import_fix'
2021-04-07 13:56:14 +02:00
enricoturri1966
926ecd0585
Project dirty state manager -> plater dirty state
2021-04-07 12:58:14 +02:00
tamasmeszaros
9b47fb512e
Remove right click menu item for "optimize orientation"
2021-04-07 12:51:02 +02:00
tamasmeszaros
bed3321324
Small improvement to "least supports" method
2021-04-07 12:51:02 +02:00
tamasmeszaros
1663787b96
Better naming of gui controls
2021-04-07 12:51:02 +02:00
tamasmeszaros
649dfca8d6
Allow rotation of multiple selected items. Disable auto positioning
2021-04-07 12:51:02 +02:00
tamasmeszaros
804758dfed
Remove accuracy slicer
...
No practical use
2021-04-07 12:51:02 +02:00
tamasmeszaros
773116b777
Allow auto-rotation of objects not completely inside bed.
...
Don't use SLAPrintObject as the input for optimization. Use ModelObject and pass the print config to the optimization in RotoptimizeJob::prepare()
2021-04-07 12:51:02 +02:00
tamasmeszaros
5443f77489
Increase performance of "best misalignment" method
2021-04-07 12:51:02 +02:00
tamasmeszaros
4a9768cc7f
Change configuration bank name for SLA auto rotation
2021-04-07 12:51:02 +02:00
tamasmeszaros
33eec05f02
Tolerate corrupted appconfig settings for auto rotation
2021-04-07 12:51:02 +02:00
tamasmeszaros
e7f5c61bb8
Remove leftover debug message
2021-04-07 12:51:02 +02:00
tamasmeszaros
f3e3aabec7
Least supports optimization revived.
...
Fix missing include on Win32
Cleanup benchmarking code
2021-04-07 12:51:02 +02:00
tamasmeszaros
0194094afa
Method selection implemented
2021-04-07 12:51:02 +02:00
tamasmeszaros
4eb13a407f
Extend execution framework with convenience functions
2021-04-07 12:51:02 +02:00
tamasmeszaros
46fd722f3c
Unite cancel callback and status function
2021-04-07 12:51:02 +02:00
tamasmeszaros
de8bb00fa9
Speed up rotation optimizer
...
- No float to double conversion
- Solving issue of random (very similar) results due to the parallel summation of floats
2021-04-07 12:51:02 +02:00
tamasmeszaros
7760d3fbc4
Add new execution framework
...
Inspired by std::execution
2021-04-07 12:51:02 +02:00
tamasmeszaros
4293a68aaa
Reverting to old rotation optimizer object-function.
...
Keep the performance optimizations though
2021-04-07 12:51:02 +02:00
tamasmeszaros
3135e47180
Fix duplicated error message dialog from GUI jobs.
2021-04-07 12:41:52 +02:00
tamasmeszaros
9aac1b6fa5
Fix issue with importing sl1 files with non-ascii filenames.
2021-04-07 12:41:38 +02:00
YuSanka
effad844e2
MSW specific: Fixed update of the UI after system color change.
...
Note: the wxEVT_SYS_COLOUR_CHANGED event works only for high contrast settings under MSW.
+ ConfigSnapshotDialog: Fixed UI colors for dark mode on all platforms
2021-04-06 22:25:35 +02:00
enricoturri1966
edbb1d0f69
Project dirty state manager -> presets dirty state
2021-04-06 16:29:05 +02:00
Lukas Matena
9660d35f8c
An attempt to fix time estimates for 'Marlin (legacy)' flavor
...
Old M204 S sets both printing and travel accelerations, which must be
accounted for now when the latter was separated.
2021-04-06 15:45:49 +02:00
enricoturri1966
9b2d9fb01a
GCodeProcessor added travel acceleration
2021-04-06 15:45:49 +02:00
enricoturri1966
52af90ed8f
GCodeProcessor use new flavor gcfMarlinFirmware
2021-04-06 15:45:49 +02:00
Lukas Matena
8c89bf748b
Implemented new acceleration control behaviour for the new Marlin firmware flavor:
...
- show extra travel acceleration settings in 'Machine limits' page in Printer Settings
when the new firmware flavor is selected
- updated tooltips on the config values (they were basically wrong even in the current version)
- 'Marlin (legacy)' firmware flavor behaviour should not change: it exports M204 Pa Rb Ta
(where a, b are the values from machine limits) at the beginning of gcode and it uses
M204 S... for feature type dependent acceleration settings (legacy variant of M204 P.. T..)
- new Marlin Firmware exports M204 Pa Rb Tc (where a,b,c are the values from machine limits).
Feature type dependent acceleration is set using M204 P..., not overriding the travel acceleration.
2021-04-06 15:45:49 +02:00
Lukas Matena
f0e9ad46ec
Renamed the gcfMarlin enum value to gcfMarlinLegacy so we never mistake it for the new one
...
There should be no functional change.
2021-04-06 15:45:49 +02:00
Lukas Matena
151a76ee92
Duplicated Marlin firmware flavor to 'Marlin (legacy)' and 'Marlin Firmware'
...
The two flavors should be identical after this commit, except that GCodeProcessor.cpp was not updated. This shall be done in a later step.
2021-04-06 15:45:49 +02:00
Lukas Matena
58a811a638
Wipe tower: correctly detect first layer even with 'No sparse layers' option enabled
2021-04-06 15:37:39 +02:00
Lukas Matena
43d9e38325
Wipe tower: reorder extruders so first layer starts with soluble if possible
...
That way it will not be wiped on first layer
2021-04-06 15:37:39 +02:00
Lukas Matena
5d636ab853
Wipe tower: respect first_layer_speed
2021-04-06 15:37:39 +02:00
enricoturri1966
5d4b7c03b6
Extended interface of project dirty state manager
2021-04-06 13:17:29 +02:00
enricoturri1966
144e37c274
1st installment of project dirty state manager
2021-04-06 10:00:17 +02:00
Lukas Matena
3459231111
Wipe tower: set travel feedrate for a move from custom toolchange position to the wipe tower ( #5483 )
2021-04-05 23:39:27 +02:00
Lukas Matena
67bc2e472f
Wipe tower: fix wipe moves after recent changes
2021-04-05 23:39:27 +02:00
Lukas Matena
a6ddab856b
Wipe tower: refactoring of brim and solid infill on first layer
2021-04-05 23:39:27 +02:00
Lukas Matena
f6de946dd7
Wipe tower: don't use soluble filament for perimeters, sparse infill or first layer
2021-04-05 23:39:27 +02:00
Lukas Matena
3ed68ac28a
Wipe tower: slightly changed finish_layer logic so it can be called after any toolchange
2021-04-05 23:39:27 +02:00
Lukas Matena
cc7ef40e20
Wipe tower: remove unfinished square wipe tower option
2021-04-05 23:39:27 +02:00
Lukas Matena
97c4c02001
Wipe tower: don't do sparse infill when there is a soluble filament above it
2021-04-05 23:39:27 +02:00
tamasmeszaros
04526d5c28
Merge branch 'tm_libnest2d_backport'
2021-04-01 09:50:12 +02:00
enricoturri1966
194cab75d9
Refactoring in GCodeViewer
2021-04-01 08:24:19 +02:00
YuSanka
46e4f54fd0
Auto color change: next improvements
2021-03-31 15:10:48 +02:00
tamasmeszaros
f117d02750
Back-porting improvements for libnest2d
2021-03-31 09:36:54 +02:00
enricoturri1966
ab3890dab5
Follow-up of 3fce8398f0
- Fixed build warnings
2021-03-31 08:54:58 +02:00
Lukas Matena
7007bf665c
Added a missing include for gcc
2021-03-30 23:04:42 +02:00
YuSanka
c71fe03022
Fixed rescale for nodes with itInstanceRoot | itLayerRoot types
2021-03-30 18:26:28 +02:00
tamasmeszaros
fabb6716ee
Extend wx png and expat fixes for all of its built-in libraries
...
That means adding tiff and jpeg
2021-03-30 12:56:37 +02:00
enricoturri1966
3fce8398f0
Follow-up of 6ffa51da58
- Modified export of final M73 lines for remaining time to next printer stop accordingly to firmware specifications
2021-03-30 09:59:10 +02:00
Vojtech Bubnik
e94a4da954
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-03-29 14:15:27 +02:00
Vojtech Bubnik
acce99f29b
Fixed some compilation warnings in MutablePolygon.cpp
2021-03-29 14:15:18 +02:00
YuSanka
45ac53efa1
Code refactoring to reduce switch statements on ConfigOptionEnum<> templates
2021-03-26 19:01:10 +01:00
YuSanka
2c23e25497
DoubleSlider: fix for 1c2d264570
2021-03-26 13:34:37 +01:00
enricoturri1966
68303059a6
Extract bed size from gcode produced with Simplify3d
2021-03-25 09:23:14 +01:00
YuSanka
3a5360651d
Added "Printable" menu item for multiple selection
2021-03-24 20:26:31 +01:00
enricoturri1966
cfcce6f29a
Follow-up of 10c3e82917
- Updated version for unpublished techs in Technologies.hpp
2021-03-24 14:30:46 +01:00
enricoturri1966
645e5b6862
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_extended_m73
2021-03-24 12:05:36 +01:00
enricoturri1966
9c951b3108
Fixed parsing of g-code files generated by newer versions of Simplify3D
2021-03-24 11:36:16 +01:00
YuSanka
8bc23c90fc
Suppress to show Search window on the Plater using Ctrl+F shortcut, when we are at Preview mode
2021-03-24 11:32:33 +01:00
Oleksandra Yushchenko
4496e2a8ce
Follow-up of 908c48ae6a
-> Fixed update after switching tab after editing custom g-code in settings tabs ( #6258 )
2021-03-24 11:20:57 +01:00
YuSanka
991fa67fd1
OptionsSearcher improvements: Fixed a key for option() and groups_and_categories.
...
It contains "preset_type;opt_key" now. This key helps to avoid a collisions by using a same options key from different type presets.
Example: Option "elefant_foot_compensation" is in Print presets and SLA_printer presets
2021-03-24 11:14:07 +01:00
Vojtech Bubnik
10c3e82917
Updated version number,
...
alpha stores configs in alpha directory.
2021-03-23 13:50:53 +01:00
enricoturri1966
a0feb0f652
Preview and G-code viewer - Fixed synchronization between markers for pause print, color changes, custom g-code, retractions, deretractions and current line shown in g-code window
2021-03-23 12:46:04 +01:00
Lukas Matena
cafa5b26a8
Compilation fixes
2021-03-23 12:40:29 +01:00
Vojtech Bubnik
af9c7c967f
Implementing a new switch for the shape of support towers:
...
expanded to a grid (the old way) vs.
snug (like the upstream Slic3r, Cura or Ideamaker).
Snug supports suffered from the degeneracies when merging overhang islands
over a large number of layers when projecting the support towers down.
We borrowed the idea & a bit of code from Cura by simplifying the support
polygons by closing the concave cracks, see the smooth_outward() function
and the MutablePolygon class.
Fixes Support problems with models with hole in the walls. #555
Fixes Support in the Air #740
Fixes [Bug] Supports generated beyond bed edges (X<0 and X>250) and where none are needed. #902
Fixes Unable to remove support material/can't change support "inflation distance" #2708
Fixes FR: support inflation and support conform to boundary #4783
Fixes Support blocker not working on this model #1346
Fixes Unnecessary support material #1993
Fixes support blocker enforcer issue #6240
2021-03-23 11:06:45 +01:00
Vojtech Bubnik
00295919bf
Fixes of MutablePolygon
2021-03-23 11:06:45 +01:00
enricoturri1966
6ffa51da58
1st installment of export to gcode of M73 lines for remaining time to next printer stop
2021-03-23 09:05:52 +01:00
YuSanka
1c2d264570
Fix for f5d3866847
2021-03-22 15:46:02 +01:00
YuSanka
f5d3866847
Follow-up 995512f280
DoubleSlider improvements:
...
Fixed a case when wipe tower is used to the end of print and there is one layer which is not marked in layers_times statistics
2021-03-22 11:47:05 +01:00
Lukáš Hejl
1b3b4c5694
Added missing include (GCC 9.3)
2021-03-22 10:30:49 +01:00
enricoturri1966
b6470c3390
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-22 08:39:44 +01:00
tamasmeszaros
aa2d8915ef
Fix crash caused by boost log trivial on mac
2021-03-19 14:03:28 +01:00
tamasmeszaros
8295f81685
Fix mac warnings
2021-03-19 14:03:28 +01:00
Vojtech Bubnik
6f3f3624c5
Fixing FDM support bottom zero interface layers, where one dense
...
interface layer was errorneously created.
Follow-up to 00db3dc419
73b88e6ce0
referencing the issues fixed by the above commits:
Fixes Allow to disable raft under support structures. #3772
Fixes Separate counts for floor and roof support interface layers #4288
2021-03-19 13:39:20 +01:00
Vojtech Bubnik
4745948b84
Fixed compilation on Linux
2021-03-19 11:35:09 +01:00
Vojtech Bubnik
9f09f03228
Refactoring of FDM support generator:
...
1) If "support on build plate only" is enabled, the support columns are
newly trimmed to not land on top of an object. However this may make
the column too small to be stable.
2) Support enforcers newly take precedence over "supports on build plate only"
and over "don't support bridges".
3) Some refactoring of the support generator code for clarity: Reduced
some of the worst spagetti offenders.
Fixes Support generated even if support on build only activated #915
Fixes Bug: supports on build plate only #1340
Fixes Bottom interface layer is not generated , support on build plate only. (long open defect) #4199
Fixes option "supports on build plate only" does not work #3980
Fixes No support interface layers generated #1997
Fixes Feature Request: Option to combine results of 'support from build plate only' and 'support enforcers only' #2801
Fixes Support interface isn't generated: build plate only + blocked by model + support enforcer #3831
Fixes Support Enforcer don't create interface layers #5748
Fixes Support Enforcers Don't Have Top Loops/Raft #1870
Fixes Don't cancel support enforcers with "don't support bridges" #5105
2021-03-19 11:21:35 +01:00
YuSanka
4602f40813
Next auto color change improvements
2021-03-19 11:11:46 +01:00
YuSanka
995512f280
Fix of #6232 - Layer preview number scale and print time problem.
...
Problem description:
When "Print Settings -> Multiple Extruders -> No sparse layer" is enabled, then "Smart" Wipe Tower is used for wiping.
As a result, each layer with tool changes is splited for min 3 parts: first tool, wiping, second tool ...
But vertical slider wasn't respect to this case.
2021-03-18 18:53:49 +01:00
YuSanka
eda19a7e56
Fixed a crash after switch from Filament Settings Tab to some another, when "Custom G-code" category is active.
2021-03-18 18:53:49 +01:00
David Kocik
bfd87dc93a
cleanup
2021-03-18 13:21:11 +01:00
David Kocik
7c7c355376
Notification manager - apply_in_preview function
2021-03-18 12:42:42 +01:00
YuSanka
a6cf840540
Auto color change improvements: Show info notification just ones, if there is new print
2021-03-17 17:11:03 +01:00
David Kocik
8c075a878f
warning fix
2021-03-17 15:43:41 +01:00
David Kocik
d2ec2b33f9
missing override keyword
...
missing override keyword
2021-03-17 15:40:59 +01:00
Vojtech Bubnik
a95607d7bf
Fixing an FDM support generator bug, where some of the support columns
...
were missing abruptly when going down.
The issue was caused by extracting support areas from a grid and
filtering the extracted islands by intersection with the input islands.
Sometimes the input islands were a bit bigger than the extracted contour,
thus some of the samples of the input islands did not fall into
the extracted contour.
2021-03-17 12:25:49 +01:00
tamasmeszaros
b13239e4ca
Fix previous commit's missing include
2021-03-17 10:05:24 +01:00
tamasmeszaros
0c4fb6dfcc
CGAL may have infinite face vertex ranges.
...
Calling vtc.size() may end up in an infinite loop. Also, quads do not appear in CGAL meshes.
2021-03-17 09:42:03 +01:00
David Kocik
5daaaa2845
Fixed upload notification cancel button
2021-03-16 18:44:12 +01:00
YuSanka
80b9a3c62b
Fix of #6212 - Cannot select "New Project" after deleting models in saved project, continuing overwrites old project
2021-03-16 10:32:15 +01:00
tamasmeszaros
96ac6ff2fa
Fix undrillable hole color and picking
2021-03-16 09:31:03 +01:00
tamasmeszaros
6d58546aef
Fix unmarked failed holes on first gizmo opening
2021-03-16 09:31:03 +01:00
tamasmeszaros
3d0d96d8f9
Working hole drilling one by one without linear slowdown.
2021-03-16 09:31:03 +01:00
tamasmeszaros
6059d89bc8
Avoid mesh alteration when converting to CGAL Surface_Mesh
...
orient_to_bound_a_volume tends produce incorrect results.
2021-03-16 09:31:03 +01:00
tamasmeszaros
4b9de0398f
Drill holes one by one and display warning of any of them fails
...
Drill with cgal::minus for now
2021-03-16 09:31:03 +01:00
Vojtech Bubnik
d0febbec32
Disable the new Toggle fullscreen menu item on OSX, it adds its own.
2021-03-16 08:54:46 +01:00
Lukas Matena
fc7762e465
Added a missing include (Linux)
2021-03-16 07:25:31 +01:00
Vojtech Bubnik
fc0e2d578f
Checking for removable media on Chrome OS.
2021-03-15 17:42:18 +01:00
Vojtech Bubnik
d695e090ef
Changing the Fullscreen hotkey to Ctrl+Cmd+F for OSX
2021-03-15 17:11:36 +01:00
Vojtech Bubnik
b9c4d29fe9
call detect_platform() after SLIC3R_LOGLEVEL env variable is read
2021-03-15 17:00:49 +01:00
Vojtech Bubnik
01406fd521
Worked around some quirky Linux file system issues. Namely
...
the Chromebooks share their file system to Linux using the 9p file
system, which does not support setting file ownership. Newly PrusaSlicer
will detect platform and it will not panick if copy_file() cannot set
file ownership after copying. It just logs the incident, and on
chromebooks the loglevel for that incident is "Info", not "Error".
Adjusted the full screen mode to contain menu bar.
Moved Platform.cpp/hpp to libslic3r
2021-03-15 16:19:22 +01:00
David Kocik
84a333e4ed
Fixed progress percentage passed to notification
2021-03-15 16:03:51 +01:00
David Kocik
888f331778
Deleted debug print
2021-03-15 14:01:21 +01:00
David Kocik
645c840e5f
Enabled print host upload notifications
2021-03-15 13:07:54 +01:00
enricoturri1966
db71a6308d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-15 11:27:43 +01:00
enricoturri1966
117a6ace5a
G-code window - Fixed file mapping for gcode files generated by other slicers
2021-03-15 11:27:24 +01:00
Vojtech Bubnik
fb9d537b58
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-03-15 10:36:22 +01:00
Vojtech Bubnik
ba5e8860cb
Fixing some compilation warnings
2021-03-15 10:36:03 +01:00
Oleksandra Yushchenko
e002f0066f
Ys code refactoring ( #6227 )
...
* GUI_ObjectList code refactoring:
The MenuFactory structure contains functions related to the context menu and bitmaps used to different volume types.
The SettingsFactory structure contains functions to getting overridden options, its bundles and bitmaps used to setting categories.
Fixed bugs/crashes:
1. Add object -> Add Settings from 3D scene -> Right click on object => Part's Settings list instead of object's
(Same behavior if something else but Object is selected in ObjectList)
2. Add settings to the part -> Change part type to the "Support Blocker/Enforcer" -> Settings disappears (it's OK) but =>
Save Project -> Open project => Support Blocker/Enforcer has a settings
3. Add part for object -> Change type of part -> Change monitor DPI -> old type icon appears
4. Select all instances in ObjectList -> Context menu in 3D scene -> Add Settings -> Select some category -> Crash
* ObjectLayers: Fixed a crash on re-scaling, when some layer range is selected
* Fixed OSX build
* Added menu item "Split to Objects" for multipart objects
+ Fixed bug: Add 2 parts,
Add some settings for one part
Delete part without settings => Single part object without settings, but settings are applied for the object.
+ Next refactoring: use same menu for Plater and ObjectList
2021-03-15 10:04:45 +01:00
Vojtech Bubnik
95c5763b83
Fixed typo in previous commit.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
932336612c
Full screen toggle
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
75ad7f262e
Linux with precompiled headers wants Config.hpp header in PrintConfig.cpp
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
33b63b35a2
Added detection of Microsoft WSL/WSL2 Linux flavors.
...
Added tracing of the platform detection.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
2c76c42baa
Linux/OSX don't like an "BSD" symbol?
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
8b4b6afd7b
Fix of previous commit.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
a9c3d270e6
ConfigOptions: GUI type as enum, not string.
...
Fixing compilation error in the new Platform code.
Fixing one issue in FDM support after splitting the top/bottom
interface layers.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
051ba0e6f4
New files missing from the previous commit.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
ca8cf0a9f1
Detecting platform, namely reading /proc/version to detect Chromium OS.
...
Disabling Eject on Chromium, detecting removable media the Chromium way.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
2b19708720
Further ChromeOS support: Detect removable media mounted through ChromeOS
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
9c80c6a4af
Disable multi-sampling with virgl (VirtualGL) on Linux.
...
Namely, on ChromeOS virgl flips red/blue channels at least on some computers with multi-sampling enabled.
It seems it is sufficient to disable multi-sampling after the OpenGL context is created.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
2494a8f384
Allowing ints with open enums in combo boxes.
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
73b88e6ce0
Splitting FDM support gap to top / bottom, introducing
...
support_material_bottom_contact_distance
Fixing Crash in support generation after fcb714c
(repro attached) #6195
2021-03-15 09:55:57 +01:00
Vojtech Bubnik
f3f10ff002
Follow up on https://github.com/prusa3d/PrusaSlicer/pull/5219#issuecomment-794515454
...
Initializing random generator in PlacholderParser from system clock.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
00db3dc419
WIP: Splitting the number of top / bottom support interface layers.
...
If the new support_material_bottom_interface_layers is left at default -1,
then support_material_interface_layers is used for both top and bottom
interface layers.
If support_material_interface_layers == 0, then neither top nor bottom
interface layers are being extruded.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
adcbe4347c
Fixed unit tests.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
f01f02154c
Reworked the "new" bridging to respect the bridge_flow_ratio
...
by maintaining extrusion spacing, but modifying the extrusion width
and / or height.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
ceea9de8b8
WIP: Refactored bridging flow from normal flow, new config value
...
'thick_bridges' to switch between the Slic3r vs. S3D/Cura/Ideamaker
way of printing 1st object layer over supports.
Simplified the PresetHints.
2021-03-15 09:55:56 +01:00
YuSanka
1569dad5de
Auto color change: Fixed show/hide for the notification.
2021-03-15 09:54:24 +01:00
David Kocik
ffb13767f4
typo correction
2021-03-14 18:35:36 +01:00
David Kocik
972dbe238f
preventing hidden notification to show when updated and close them correctly.
2021-03-14 18:01:10 +01:00
YuSanka
5f6253390f
Implemented suggestion of the auto color change, if model looks like sign
2021-03-12 16:35:07 +01:00
Lukas Matena
c18ad5f9d6
Added a missing include (gcc)
...
Removed several includes, hopefully they're not needed on any other platform.
2021-03-12 11:31:05 +01:00
David Kocik
15765eb99b
Commented Print host upload notification until its tested
2021-03-12 10:32:26 +01:00
David Kocik
62c2095fe8
Print host upload notification with more info and cancel button
2021-03-12 10:32:26 +01:00
David Kocik
44bfb914ab
progress bar notification - percentage text
2021-03-12 10:32:26 +01:00
David Kocik
6716492efa
Printhost upload progress bar notification
2021-03-12 10:32:26 +01:00
David Kocik
bf032524eb
notifications - minor changes in logic
2021-03-12 10:32:26 +01:00
David Kocik
6e325ee322
cleanup
2021-03-12 10:32:26 +01:00
David Kocik
bad12b5683
cleanup
2021-03-12 10:32:26 +01:00
David Kocik
80f0d305c1
request frame change in notification
2021-03-12 10:32:26 +01:00
David Kocik
32dd1f6e7c
notification time correction
2021-03-12 10:32:26 +01:00
David Kocik
c41df487bb
Notifications management and rendering refactoring.
...
With warning notification Model out of bed reworked to not show after dismiss.
2021-03-12 10:32:26 +01:00
Lukáš Hejl
08a826d237
Added a missing includes
2021-03-12 10:30:06 +01:00
David Kocik
58733e6807
print host upload queue dialog - precision in size column
2021-03-11 16:32:20 +01:00
David Kocik
b8adfbda66
saving size and position of print host queue dialog, added size column, sorting
2021-03-11 13:36:36 +01:00
tamasmeszaros
3c2d0b7c6e
Tiny cosmetics
2021-03-08 17:38:10 +01:00
tamasmeszaros
a62262666a
Exclude triangles of original interior mesh and drillholes from trimming
2021-03-08 17:38:10 +01:00
tamasmeszaros
fbc758642b
Fix crash when the interior is corrupted
2021-03-08 17:38:10 +01:00
tamasmeszaros
4374716bfb
Triangle trimming should handle drilled meshes separately
2021-03-08 17:38:10 +01:00
tamasmeszaros
1ec154012e
Add working version of triangle trimming for hollowed meshes
2021-03-08 17:38:10 +01:00
tamasmeszaros
b8c1c13666
Add max_concurrency method for various execution policies
2021-03-08 17:38:10 +01:00
tamasmeszaros
e3c2e513fa
Do grid redistance even with zero closing distance
...
This prevents having a leftover grid with zero at the exterior boundary. Trimming expects zero at (offset + closing distance) inwards
2021-03-08 17:38:10 +01:00
tamasmeszaros
7830c8f8aa
Add BoundingBox constructor with point set iterators
2021-03-08 17:38:10 +01:00
tamasmeszaros
195b39bb5b
Eliminate memory leaks from hollowing code
2021-03-08 17:38:10 +01:00
tamasmeszaros
06bf02df69
Fix Gizmo preview with hollowed mesh
2021-03-08 17:38:10 +01:00
tamasmeszaros
dd202af8cd
Fix stl export with hollowed mesh
2021-03-08 17:38:10 +01:00
tamasmeszaros
d48ca7fd03
Fix incorrect mesh shown on plater after hollowing
2021-03-08 17:38:10 +01:00
tamasmeszaros
527e675294
Use triangle removal only for visualized mesh
2021-03-08 17:38:10 +01:00
tamasmeszaros
82954ba715
Group hollowing result (including grid) into one struct
2021-03-08 17:38:10 +01:00
tamasmeszaros
e57eca0289
Add voxel scale to openvdb metadata.
...
To be able to retrieve that information from a generated grid alone.
To avoid the copying of input mesh (for scaling) when doing the hollowing
Also remove some unused stuff from OpenVDBUtils
2021-03-08 17:38:10 +01:00
YuSanka
7cb3e729ee
Fixed #6182 - First line custom gcode not aligned left in the tool tip
2021-03-08 14:19:58 +01:00
Vojtech Bubnik
8adb495e7d
Fix of 589d2be442
2021-03-08 11:29:52 +01:00
enricoturri1966
14aca210cb
Tech ENABLE_GCODE_WINDOW_USE_MAPPED_FILE merged into ENABLE_GCODE_WINDOW
2021-03-08 10:20:07 +01:00
Vojtech Bubnik
589d2be442
Fix of Repair with Netfabb does not work on builds after 2.3.0 release (Windows 10) #6193
...
This is more a workaround than a fix: Windows 10 3D model fixing API refuses
to load a zip64 encoded 3MF. We need to get in touch with Microsoft on that
issue, for now the 3MFs generated for the Windows 10 3D model fixing API
will be limited to 4GB. Saving a bigger 3MF will fail.
2021-03-08 09:36:21 +01:00
enricoturri1966
5998ee8f2e
Code cleanup
2021-03-08 09:29:47 +01:00
enricoturri1966
9359d6d3d0
Follow-up of 0472c84525
- Fixed syntax errors
2021-03-08 09:01:15 +01:00
enricoturri1966
8027c94a41
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-08 08:35:49 +01:00
enricoturri1966
0472c84525
G-code window uses file mapping
2021-03-08 08:35:32 +01:00
Lukas Matena
1efa9a06f6
Adjustable wipe tower brim
2021-03-05 16:41:02 +01:00
Lukas Matena
c25c435d52
Added a new placeholder for custom toolchange gcode (toolchange_z)
...
This always contains the actual print_z of the toolchange, while layer_z contains the print_z
of the print. The two differ in case that wipe tower without sparse layers is used.
Related to #3834 .
2021-03-05 13:58:45 +01:00
Lukas Matena
c8fdd837ae
Added a missing include for gcc
2021-03-05 11:27:25 +01:00
enricoturri1966
b6634b2ea0
Added progress dialog for adding parts from files
2021-03-04 15:09:50 +01:00
enricoturri1966
b748f36246
Fixed layout of loading file progress dialog
2021-03-04 13:36:07 +01:00
enricoturri1966
252aa9b229
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-04 13:24:08 +01:00
enricoturri1966
cee4ed9ff2
G-code window optimization: parse g-code lines only when needed
2021-03-04 13:23:24 +01:00
Lukas Matena
70573484c2
Show an error notification when attempting to save 3MF while editing SLA support points
...
The notification disappears when it is no longer valid.
2021-03-04 09:35:41 +01:00
Lukas Matena
abd5a9a46e
Add a notification when custom support enforcers are not used due to supports being off
...
It is now emitted from Print::validate and has a hyperlink to enable supports
2021-03-04 09:35:22 +01:00
enricoturri1966
a820e8c22f
Vertically center text in G-code window
2021-03-04 08:37:21 +01:00
tamasmeszaros
a7255235e5
Remove gcc warning about uninitialized values
2021-03-03 15:19:24 +01:00
enricoturri1966
d99895805c
Follow-up of 6a46b71dc1
- Fix build on non-Windows platforms
2021-03-03 15:17:45 +01:00
Vojtech Bubnik
5f5de1c812
Follow-up to 5276bd98d7
:
...
WIP: MutablePolygon - linked list based polygon implementation
allowing rapid insertion and removal of points.
WIP: porting smooth_outward() from Cura.
2021-03-03 15:04:26 +01:00
enricoturri1966
6a46b71dc1
#5843 - GCodeProcessor: added processing of lines G28
2021-03-03 13:53:37 +01:00
enricoturri1966
da7d7ae11b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-03 09:07:28 +01:00
enricoturri1966
f586bb6f9e
Fit G-code window between preview legend and view toolbar
2021-03-03 09:03:07 +01:00
Enrico Turri
91ffd8d501
Custom G-code validation - Do not veto setting tab switch when invalid g-code is found
2021-03-02 17:00:11 +01:00
YuSanka
28b92215c3
Follow-up 409849d238
:
...
Added check for visibility for all loaded presets.
Added notification about this action.
+ PresetComboBox: Fixed update() function for physical printers, when some of related presets are invisible.
2021-03-02 12:19:49 +01:00
enricoturri1966
2c8f385c7f
1st installment of g-code window in preview
2021-03-02 10:01:06 +01:00
Lukas Matena
92a2951b23
Fix build caused by missing returns
2021-03-02 08:17:27 +01:00
Vojtech Bubnik
5276bd98d7
WIP: MutablePolygon - linked list based polygon implementation
...
allowing rapid insertion and removal of points.
WIP: porting smooth_outward() from Cura.
2021-03-01 18:41:46 +01:00
YuSanka
409849d238
Fixed loading of the project file with filament which is not installed for the selected printers
...
If loaded filaments are invisible/non-instaled, set them as visible
2021-03-01 16:36:05 +01:00
YuSanka
70fc0c232c
Linux specific issue: DiffViewCtrl: Fixed scaling of the columns width
2021-03-01 16:01:53 +01:00
enricoturri1966
908c48ae6a
Follow-up of 86d7e1fb90
-> Fixed update after switching tab after editing custom g-code in settings tabs
2021-03-01 13:03:43 +01:00
Vojtech Bubnik
224f3e506c
Fix of Custom G-code for color change does not process macro #5782
...
Added macro processing of color_change_gcode, pause_print_gcode
and template_custom_gcode custom G-codes when emitting them into
the output G-code.
2021-03-01 12:52:40 +01:00
Vojtech Bubnik
d7a786e8c8
Bumping up wxWidgets to 3.1.4-patched on all platforms.
2021-03-01 11:36:11 +01:00
Lukas Matena
3f1299c9b7
Fix build against wxWidgets older than 3.1.1
2021-03-01 10:03:49 +01:00
Lukas Matena
b10d064a24
Added an empty category icon for Fuzzy Skin to prevent crashes in ObjectList
...
The icon should later be replaced by a proper one.
2021-02-26 16:08:51 +01:00
enricoturri1966
9a31580bde
GCodeProcessor -> use boost::starts_with()
2021-02-26 16:00:32 +01:00
enricoturri1966
c9666ea257
#4402 - Review and merge of #6106 Temperature visualization in preview and G-code Viewer by combolek
2021-02-26 14:17:53 +01:00
enricoturri1966
2d52e155a5
Follow-up of 86d7e1fb90
-> Fixed update after editing custom g-code in settings tabs
2021-02-26 13:56:51 +01:00
enricoturri1966
8cb8a24ded
Tech ENABLE_CUSTOMIZABLE_FILES_ASSOCIATION_ON_WIN set as default
2021-02-26 10:18:16 +01:00
Lukas Matena
19cfeb1a78
Fix of a crash when using active_step_add_warning on PrintObjects
...
PrintObjectBase::status_update_warnings called PrintBase::status_update_warnings, which in turn set
SlicingStatus flag to UPDATE_PRINT_STEP_WARNINGS (instead of UPDATE_PRINT_OBEJCT_STEP_WARNINGS) and
saved its own ObjectID. This led to spurious and hard to read thread-unsafe crashes.
2021-02-26 10:07:11 +01:00
Lukáš Hejl
a53de51b22
Fix of 8f293f0cb5
...
When was set use_external_mp_once to true then after first calling the avoid crossing perimeters this flag was reset which cases that on the second call of the avoid crossing perimeters the travel move didn't process as external.
2021-02-25 23:30:22 +01:00
YuSanka
55c62887cc
Fix of #5503 - Physical printer disappears from Slicer upon close of application
2021-02-25 20:36:23 +01:00
enricoturri1966
48481c10b4
Tech ENABLE_VOLUMETRIC_EXTRUSION_PROCESSING set as default
2021-02-25 16:29:18 +01:00
enricoturri1966
a7bb63dbf2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-02-25 15:22:54 +01:00
enricoturri1966
a3b60c09bc
Tech ENABLE_CTRL_M_ON_WINDOWS set as default
2021-02-25 15:22:12 +01:00
Vojtech Bubnik
750cfdd099
Fix of support generator after merging
...
Base type interfaces for soluble interface supports #6017
2021-02-25 14:50:44 +01:00
enricoturri1966
4146fd337a
Tech ENABLE_HACK_CLOSING_ON_OSX_10_9_5 set as default
2021-02-25 14:28:53 +01:00
enricoturri1966
8f8217723c
Tech ENABLE_OPENGL_ERROR_LOGGING set as default
2021-02-25 13:38:52 +01:00
YuSanka
21b044b556
Fix of #5152 assert ""HasFlag(0x0020)"" failed in GetSelection(): must be single selection listbox
...
This assert was invoked by list_printer->GetSelection() because of list_printer was created with wxLB_MULTIPLE flag.
2021-02-25 04:03:26 -08:00
YuSanka
89f065b57e
Fix of #5510 : ctrlsub.cpp(231): assert "IsValid(n)" failed in GetClientData(): Invalid index passed to GetClientData()
...
BitmapComboBox: Use virtual OnSelect() on wxEVT_COMBO event
Don't save information about preset combobox type to the evt.SetInt(). This information can be received from BitmapComboBox::get_type() now.
2021-02-25 12:55:28 +01:00
enricoturri1966
be7e2f2ae1
Tech ENABLE_WX_3_1_3_DPI_CHANGED_EVENT set as default
2021-02-25 12:40:42 +01:00
Vojtech Bubnik
6e73ddab8e
Support generator: Debugging visualization of "don't support bridges".
...
Fixed a bug in raft generator - 1st layer did not respect the 1st layer
density.
2021-02-25 12:29:08 +01:00
Vojtech Bubnik
43c05d35ea
Fix of crash when using raft with modified Shape-Box with height 0.5mm #5652
...
Reworked skirt generator to only generate skirt at non-empty layers
(layers that actually extruder object or support) and to respect minimum
layer height. Skirt generator stops at the first layer where those both
conditions cannot be met.
2021-02-25 12:18:11 +01:00
enricoturri1966
1e33b95ed7
Follow-up of 33aa6be7b7
-> Validation of custom g-code added using vertical slider in preview at gcode generation level
2021-02-25 08:23:45 +01:00
Vojtech Bubnik
6f5bf71f11
Fixing some compiler warnings
2021-02-24 19:53:50 +01:00
Vojtech Bubnik
539e80e890
Fix of supports create overkill material that actually sopports nothing above it. #2245
...
When expanding the 1st layer support layer, do it by small steps while
trimming with object to avoid supports to leak through object walls.
2021-02-24 19:49:38 +01:00
Vojtech Bubnik
e9875f57a9
Fix of Unnecessary raft on models with large perimeter but nothing inside. #430
...
Don't fill in the holes in 1st layer of the raft.
The user may apply a higher raft_expansion if one wants a better 1st layer adhesion.
2021-02-24 18:08:32 +01:00
Vojtech Bubnik
6bdd42b1cf
Fix of Support interface is generated across whole print layer regardless if it's needed or not #4570
...
Disabled a suspicious piece of legacy code inherited from Slic3r,
which tries to fill in spots inside support interfaces. The code was
too aggressive and it was doing more harm than good.
2021-02-24 17:34:51 +01:00
Vojtech Bubnik
61a5b43ac3
Fix of Add option to change support interface pattern #1197
...
New config field for switching the support interface pattern between
default (rectilinear for non-soluble interface, concentric for soluble interface),
explicit rectilinear and explicit concentric.
Also the config layer was reworked a bit to reduce some switch statements
on ConfigOptionEnum<> templates.
2021-02-24 15:59:18 +01:00
YuSanka
88bd189047
Some code refactoring follow-up 33aa6be7b7
and 92b1302a08
2021-02-24 15:50:18 +01:00
YuSanka
18ac892ed6
OSX specific: Fix of f11e81517d
2021-02-24 15:03:34 +01:00
YuSanka
d209c92c80
Merge remote-tracking branch 'origin/ys_auto_cp'
2021-02-24 14:33:31 +01:00
enricoturri1966
33aa6be7b7
Follow-up of 86d7e1fb90
-> Validation of custom g-code added using vertical slider in preview
2021-02-24 14:17:46 +01:00
Vojtech Bubnik
aee136cedd
Squash merge of pull request Raft enhancements #6003
...
thanks @nemart69
2021-02-24 11:59:22 +01:00
enricoturri1966
255b23f0fc
Added missing include
2021-02-24 11:31:08 +01:00
enricoturri1966
e44c1006d5
#6117 - Allow import of gcode files processed by ArcWelder
2021-02-24 09:46:42 +01:00
David Kocik
15d9751919
Delete lockfile at shutdown on linux and mac.
...
Passing lockfile on mac by sending message .
2021-02-24 09:31:51 +01:00
David Kocik
8ca225b38a
config wizard - hide logo if small height
2021-02-24 09:21:40 +01:00
Vojtech Bubnik
fcb714cd24
Added a single perimeter to the first layer of support or raft.
...
Fixes [Request] Add optional perimeter to raft #756
Fixes First support layer does not stick to bed #2101
New parameters raft_first_layer_density and raft_first_layer_expansion
to influence the 1st layer of raft or support.
Fixes Allow to disable raft under support structures. #3772
Fixes raft is larger than necessary #2568
Fixes Supports on the build plate should have a solid bottom interface for better adhesion #1165
Changed the 1st layer infill to rectilinear even for soluble materials.
Fixes first layer of support for multi filament support oddly spaced #1445
Fixes Full Soluble Materials interfacing into Models + Soluble material noise on Bed #684
2021-02-24 08:48:40 +01:00
Lukáš Hejl
77d007c484
Fixed calculation of a distance from begin of a contour in the avoid crossing perimeters.
...
The total length of a contour was incorrectly computed, which could cause the longest detour was selected instead of the shortest one in some cases.
2021-02-23 20:56:36 +01:00
Lukáš Hejl
dc576b0511
Fixed inner offset in the avoid crossing perimeters.
...
Minimum contour width was used incorrectly, which could lead to breaking contour to more disconnected polygons.
2021-02-23 20:43:34 +01:00
Lukáš Hejl
e123dfa8a4
Fixed wrong orientation of infill and gap-fill extrusion.
...
When an island contains exactly one infill ExtrusionEntity, this extrusion was oriented to maximize travel distance from the end of the previous extrusion of perimeters instead of minimizing it.
2021-02-23 20:07:40 +01:00
YuSanka
ad55756257
Implemented Auto Color Print
2021-02-23 18:46:05 +01:00
Vojtech Bubnik
d2c46025c7
Fix of Enforce support for first N layers has no effect #470
2021-02-23 15:31:21 +01:00
Vojtech Bubnik
055d2321e7
Trimming support base layer with brim.
...
Fixes Brim destroyed by support aka. Enable supports on top of brim #1156
Fixes Brim Priority/Support on Brim #713
Fixes Phantom Support columns interfere with brim #3396
Fixes false generation of brim when supports are used #3395
This is a work in progress, as the brim generator currently produces
different brim areas from what the support generator expects.
2021-02-23 14:43:47 +01:00
Vojtech Bubnik
8ba230db9f
Fix of Paint on support ignores some paints. #5948
...
When projecting the horizontal or nearly horizontal support enforcers or blockers
into object layers, the projection may fall on a layer above or below the layer
where it should in case the nearly horizontal support enforcer or blocker
triangles are intersecting the slicing plane of one of the object layers.
Due to numerical issues, projection of the support blocker or
enforcer triangles may not fall to the same side of the slicing plane
as when slicing the object. To make the projection robust, horizontal triangles
are newly projected to both the layer below and above if they are close
to the object slicing plane.
2021-02-23 12:30:15 +01:00
enricoturri1966
e1c201e714
Partial revert of 204714d566
-> Alternate fix for crash on printer presets switching between MM and SM printers
2021-02-23 12:00:23 +01:00
YuSanka
671efb02c9
Fix of #6110 - Preview: View Menu/List placement incorrect
...
Use wxComboBox with wxCB_READONLY flag instead of wxChoice
2021-02-23 10:04:43 +01:00
Vojtech Bubnik
7b52dc2324
Fixing build on gcc/clang
2021-02-22 19:43:18 +01:00
YuSanka
03dee86071
ObjectList: After deleting volumes from the object, update the extruder color for the object from the last and only volume
2021-02-22 18:50:38 +01:00
Vojtech Bubnik
032df7f18f
PNGReadWrite: png::write_gray_to_file(), png::write_gray_to_file_scaled()
2021-02-22 18:07:27 +01:00
Vojtech Bubnik
3985d7bb81
Fixes Support Interface printed on air #2903
...
Fixes Supports generated loose in space #4874
Fixes Support Interface layers in midair #5016
2021-02-22 18:07:27 +01:00
Vojtech Bubnik
d2ca4563e8
Extended SVG::export_expolygons() with legend.
2021-02-22 18:07:27 +01:00
YuSanka
204714d566
Fix a crash on printer presets switching between MM and SM printers:
...
1. DoubleSlider::Control : Update extruder colors before another updates for layers slider
2. GCodeViewer : Control count of extruders during the legend updating
2021-02-22 17:08:03 +01:00
YuSanka
f11e81517d
PresetComboBox: Fixed thin/wide_space_icon_width scale
...
+ Added border for the color_extruder bitmaps
2021-02-22 17:08:03 +01:00
Lukas Matena
3fd36f08e0
Show a notification when attempting to slice during SLA support points editing
...
This should also fix #5736 and a similar crash when deleting an object during manual editing (which was introduced between 2.2.0 and 2.3.0)
2021-02-22 16:26:16 +01:00
Lukas Matena
1904b7b904
Bugfix: custom seam did not work for triangles that were exactly vertical
...
The projection algorithm was originally made for custom supports, so vertical triangles
were not interesting. They are for seam. Instead of rewriting the algorithm and risking
more bugs, the edge case is detected and the triangle is tilted slightly.
2021-02-22 16:26:16 +01:00
Lukas Matena
bd2cbea202
Fix aligned seam when sequential printing is enabled
2021-02-22 16:26:16 +01:00
enricoturri1966
613f961b9f
#6095 - Fixed toolpaths generation
2021-02-22 15:27:40 +01:00
tamasmeszaros
9092033bea
Eliminate libnest2d warning on mac
2021-02-22 13:08:24 +01:00
YuSanka
791c191ea7
Fix of #6094 - Slicer crashes in MMU2S mode
2021-02-22 09:56:23 +01:00
enricoturri1966
92b1302a08
Follow-up of 86d7e1fb90
-> Custom gcode validation in Filament settings tab
2021-02-22 08:39:36 +01:00
enricoturri1966
9b0b0f5e27
Follow-up of 86d7e1fb90
-> Custom gcode validation in Printer settings tab
2021-02-22 08:13:48 +01:00
Vojtech Bubnik
ac97572cfe
Fixed compiler warnings
2021-02-19 20:09:57 +01:00
Vojtech Bubnik
12d14eaa2f
Fixing a constness issue of the preceding commit.
2021-02-19 19:00:43 +01:00
Vojtech Bubnik
cceaae84fb
Silencing compiler warning in AGGRaster on Visual Studio
2021-02-19 18:57:45 +01:00
Vojtech Bubnik
fb7b995050
Improvements in FDM support generator:
...
Projection into a grid has been reworked to use the AGG rasterizer.
This fixes #5209 and #6067 .
Also the raster is now being oversampled by maximum 8x8 samples
and the supports are only allowed to expand inside the cell.
This significantly reduces leakage of supports through object walls,
which fixes #5054 .
2021-02-19 18:50:44 +01:00
enricoturri1966
c3a52f9b01
Tech ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE set as default
2021-02-19 15:38:05 +01:00
enricoturri1966
bbf5c62af5
Follow-up of 9afaebac75
-> Fixed wrong gcode line numbers shown on preview horizontal slider when time estimation for silent mode is active
2021-02-19 14:12:49 +01:00
enricoturri1966
0a1448196b
Tech ENABLE_NEW_NOTIFICATIONS_FADE_OUT set as default
2021-02-19 12:18:09 +01:00
enricoturri1966
d3daea2df8
Follow-up of 86d7e1fb90
- Fixed build warning on OsX
2021-02-18 15:35:38 +01:00
Lukáš Hejl
8f293f0cb5
Fixed unnecessary travels after calling the avoid crossing perimeters when the wipe is enabled.
...
When the avoid crossing perimeters was enabled, and the wipe was enabled, there were unnecessary travels in the opposite direction than the wipe travel.
2021-02-18 14:41:56 +01:00
enricoturri1966
86d7e1fb90
#5538 - Validation of custom g-code against gcode processor reserved keywords
2021-02-18 14:34:40 +01:00
enricoturri1966
aec39aaba6
Tech ENABLE_PREVIEW_TYPE_CHANGE set as default
2021-02-18 11:52:14 +01:00
enricoturri1966
7c3e3272aa
Tech ENABLE_ARROW_KEYS_WITH_SLIDERS set as default
2021-02-17 17:21:06 +01:00
enricoturri1966
77be228b75
Tech ENABLE_DRAG_AND_DROP_FIX set as default
2021-02-17 14:52:58 +01:00
YuSanka
349ce7fd50
Fix of #6056 - Purging Volumes dialog doesn't save pasted values
2021-02-17 14:37:25 +01:00
enricoturri1966
50c6fc1719
Tech ENABLE_TOOLPATHS_WIDTH_HEIGHT_FROM_GCODE set as default
2021-02-17 11:23:17 +01:00
YuSanka
23b6a597a8
Fixed a bug with erase of the multiple instance selection in 3D-scene
...
+ Try to fix accidentally crash on Copy/Paste
2021-02-16 21:20:06 +01:00
Vojtech Bubnik
6ea5781709
Fix of Supports printed too slowly. #984
...
Processing of CoolingBuffer is newly staggered for support layers
until the 1st object layer above supports is received by CoolingBuffer.
2021-02-16 11:30:57 +01:00
enricoturri1966
b14d872104
Fixed update of the horizontal slider after changing visibility of options in preview
2021-02-16 10:46:15 +01:00
enricoturri1966
9afaebac75
#5611 - Added option to show gcode line number on horizontal slider in preview
2021-02-16 10:07:05 +01:00
Vojtech Bubnik
32db22b77c
Fix of Improve Support material adhesion by base type interface layers
...
under soluble supports. #5823
Implemented as a pull request #5903 by @spiky2021
and reworked.
commit c7993e619225553a2c4078787907b9ebbd9ac759
Author: spiky2021 <77010315+spiky2021@users.noreply.github.com>
Date: Thu Feb 11 12:39:25 2021 +0100
Base type interfaces for soluble interface supports
At the moment soluble support material adhesion is weak due to sparse support layers under soluble support layers. I reported as issue #5823 with pictures, as well.
I modified two methods to the SupportMaterial Class including their headers.
The new methods add two base type interface layers to the support structure, in case the extruders are different and soluble support is choosen.
Since it is conditionally activated, it in general doesn't need a GUI input. But a GUI option number of base interface layers may enabled users to adapt this feature to their needs.
This is my second try to provide a pull request on this topic. Reset my fromer repository, because first I merged this and all other changes to my master and couldn't provide separate pull request anymore.
2021-02-15 18:07:44 +01:00
YuSanka
b166bd7845
Follow-up 6effa30322
: Fixed a crash of stand-along GcodeViewer
...
when open/close Preferences
2021-02-15 15:57:31 +01:00
enricoturri1966
125fcd0623
Removed obsolete class GLCanvas3D::WarningTexture
2021-02-15 11:00:37 +01:00
Vojtech Bubnik
a6bd2d7664
Fix of 3DBed Regression #6029
2021-02-15 09:31:19 +01:00
Pascal de Bruijn
b75830df6e
UnsavedChangesDialog: fix wxString casts
...
similar instance: 08388d3daa
related to: #5752
2021-02-14 07:41:21 +01:00
Vojtech Bubnik
9c568a543c
Improving 3MF import: checking for invalid data.
2021-02-12 16:46:49 +01:00
YuSanka
2228c5e0bf
Fixed localization for the message text
2021-02-12 14:29:22 +01:00
Vojtech Bubnik
92d0bc2cfd
Fixing EdgeGrid after recent refactoring.
2021-02-11 13:40:15 +01:00
Vojtech Bubnik
bdd6685566
Reduction of dead code in FDM infill.
2021-02-11 12:24:10 +01:00
Vojtech Bubnik
9d479fcfb9
Make clang happy about the indentation
2021-02-11 12:06:12 +01:00
Vojtech Bubnik
7f95b280f0
FDM synchronization of front end with back end:
...
Fixed unnecessary invalidation of already calculated perimeters
if the infill density changes.
Fixed a race condition in invalidation of FDM regions.
2021-02-11 12:03:29 +01:00
enricoturri1966
cf260f6e44
#6006 - Gcode processor: fixed error prompt for gcode lines Tc, Tx, T?
2021-02-11 11:48:46 +01:00
tamasmeszaros
bf9f908685
Remove warning from zero division.
...
By changing the initial value of pixel size to 1. from 0.
2021-02-11 11:26:25 +01:00
Vojtech Bubnik
e026ed8718
Experimental: Switching all solid infills from Rectilinear to Monotonic
...
for regions with Monotonic top infill type.
This should likely implement Monotonic of last layer before ironing #4939
2021-02-11 11:15:14 +01:00
Vojtech Bubnik
039cf8f423
Fix of unnecessary splitting of solid fill surfaces.
...
This is a regression issue introduced in PrusaSlicer 2.3.0 with
the configurable anchoring.
2021-02-11 10:42:05 +01:00
Vojtech Bubnik
d39fd54e4f
Fixing one more Win32 warning
2021-02-11 08:42:52 +01:00
Lukas Matena
2cb3754af4
Fixed a typo in TriangleSelector.cpp (probably not causing any bug, just a warning)
2021-02-11 07:32:22 +01:00
YuSanka
e664100bf6
SPE-1103 Added menu items for the conversation of the volumes from/to meters
...
Related to #4521
2021-02-10 20:34:05 +01:00
Vojtech Bubnik
8049dd1f72
Trying to fix the remaining OSX warnings
2021-02-10 19:07:09 +01:00
Vojtech Bubnik
05a6cfeaea
Some more reduction of compiler warnings on MSVC
2021-02-10 18:04:16 +01:00
Vojtech Bubnik
db2d78ff21
Reduction on compiler warnings, mainly on MSVC.
...
Fix of the new gap_fill_enable flag: Take it into account when comparing
regions.
2021-02-10 17:29:07 +01:00
David Kocik
cb2d6e320a
Wizard: buttons for printer selection
2021-02-10 17:00:41 +01:00
Vojtech Bubnik
6555b32f5c
Squashed commit of the following:
...
commit 61b3ca0b4b4a0b4cfbbc706ede94ef7ccec4c91f
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Wed Feb 10 15:42:27 2021 +0100
Fix of fuzzy skin
commit d971ed51a5bb65e8bdfd326bc41b9d7ab2e20834
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Wed Feb 10 14:12:51 2021 +0100
CMake adjustment of MINIMUM_BOOST_VERSION
commit 5d8aa2c59ecf7e32456f2e43e07dedc7d24eb21c
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Wed Feb 10 14:12:33 2021 +0100
Fix of debug compilation after warning removal.
commit 5e339b3078f0c9d75b6fac28ed3c295ae9fbbef5
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Wed Feb 10 14:11:34 2021 +0100
Fuzzy Skin changes:
1) Moved the parameters to region
2) Removed experimental code.
3) Allowed fuzzyfication of both outer perimeter and holes.
2021-02-10 16:02:43 +01:00
Ilya
f639c08caf
Added separate checkbox for gap filling ( #5999 )
...
* in dev
* moved to Advanced menu
2021-02-10 16:01:40 +01:00
Boleslaw Ciesielski
22b2ccc474
Fixes issue #5979 - NULL pointer crash in ModelObject::split()
...
ModelObject::split() expects a non-NULL new_objects vector where it adds pointers to the new models resulting from the split.
But in the CLI case the caller does not care about this and passes NULL which causes a crash. To fix the crash we could pass
a dummy vector but it turns out that we actually have a use for the results because we should assign a unique name to each
new model the same way as the GUI does. These names show up as comments in the gcode so this change makes the gcode produced
by the GUI and the CLI more similar and diffable.
@lukasmatena has amended the original commit by @combolek (pull request #5991 ) in order to avoid code duplication
2021-02-10 12:30:06 +01:00
Vojtěch Bubník
eaf6e0dca7
Merge pull request #6000 from xorza/postprocessing_moved_to_temp_dir
...
Postprocessing moved to temp dir
2021-02-10 11:29:59 +01:00
YuSanka
3c37aed2f8
Fixed old (MSW specific) focus issue:
...
Description of issue:
When for some parameter set a value which is out of rage or inaccurate and than click to another parameter,
receive a warning message dialog with description of a problem.
After closing of this Dialog any button on settings tab doesn't work for first click.
Looks like after dialog is closed Notebook page loses a focus.
Workaround:
Use self-created WarningDialog (inherited from the wxDialog) instead of wxMessageDialog
2021-02-10 11:25:07 +01:00
Vojtěch Bubník
03c1045b46
Merge pull request #5740 from rsobik/patch-1
...
Use correct M204 command for acceleration
2021-02-10 11:12:15 +01:00
Vojtěch Bubník
20979556c3
Merge pull request #5723 from mathiasvr/patch-1
...
remove "Some text"
2021-02-10 11:06:45 +01:00
Vojtěch Bubník
b7ae342e8e
Merge pull request #5963 from wavexx/remove_undeeded_includes
...
Remove unneeded inclusion of boost::nowide
2021-02-10 10:43:56 +01:00
Vojtěch Bubník
f050bf7676
Merge pull request #5752 from sebastianha/master
...
Error compiling on Linux
2021-02-10 10:00:46 +01:00
Vojtech Bubnik
a5972e64fa
Fixing compiler warnings: Fixed broken Linux build.
2021-02-09 20:06:08 +01:00
Vojtech Bubnik
f61119e02f
Yet another clang compiler warning suppressed.
2021-02-09 20:04:11 +01:00
Vojtech Bubnik
2393d64a5a
Fixed some OSX Objective C warnings.
2021-02-09 19:51:56 +01:00
Vojtech Bubnik
20456b45e5
Fix of the previous commit (fixing warnings)
2021-02-09 19:46:09 +01:00
Vojtech Bubnik
5e9a8ea700
Fixed some clang warnings
2021-02-09 19:23:58 +01:00
Vojtech Bubnik
770d8b5d08
Finishing the "Iron all surfaces" feature.
...
Fixes Ironing all solid surface does not seem to work #5703
2021-02-09 18:49:33 +01:00
Vojtech Bubnik
5a638f10cc
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-02-09 18:36:36 +01:00
Vojtech Bubnik
2e55898d78
Removal of not numerically robust libraries "poly2tree" and "polypartition".
...
Adjustment of GUI/3DBed.cpp,hpp to use the more stable triangulation algoritm
derived from SGI glut.
Fix of an extremely slow bridging calculation, caused by an extremely
slow bridged area detection function, of which the results were never used.
Fixes "slicing fails or takes too long #5974 "
2021-02-09 18:36:28 +01:00
YuSanka
a86e7107a5
Added check for loaded STL file if it was saved in meters. Related to #4521 (Some files are imported in the wrong size)
2021-02-09 17:04:32 +01:00
YuSanka
a1e49e7f8c
Implemented #4931 - Added colored background for the Manipulation panel, if
...
option "Use colors for axes values in Manipulation panel" is enabled in Preferences -> GUI
+ Fix one more compilation warning in UnsavedChangesDialog.cpp
2021-02-09 16:04:03 +01:00
Vojtech Bubnik
820c18923b
Fixed compilation warning
2021-02-09 14:09:16 +01:00
enricoturri1966
28d2c122db
Fixed build on Windows
2021-02-09 10:24:08 +01:00
YuSanka
e833e63c42
Fixed a crash on language changing
...
(DiffPresetDialog should get mainframe as a parent explicitly)
2021-02-09 09:56:19 +01:00
xxorza
cfca723422
tabulation fix
2021-02-08 18:44:48 -08:00
xxorza
0ca4ccc828
moved postprocessing onto temp dir
2021-02-08 18:43:34 -08:00
Lukas Matena
a7728634f0
Clang: silence -Wdeprecated-declarations for now
...
RPi: hopefully silence a warning
2021-02-08 17:52:29 +01:00
Lukas Matena
1834ebe981
Fixing Clang warnings 3
2021-02-08 17:52:29 +01:00
Lukas Matena
b85de89751
Fixing Clang warnings 2
2021-02-08 17:52:29 +01:00
Lukas Matena
0ff0444dcc
Fixing Clang warnings 1
2021-02-08 17:52:29 +01:00
Lukas Matena
cd1322ce3f
FDM supports gizmo 'autoset by angle' improvements:
...
- Extra dialog for autosetting by angle in FDM supports gizmo was removed
- Highlighting facets by angle is now controlled by a slider in the main gizmo dialog
- User is allowed to paint even when using the slope highlighter
- The button to turn highlighted facets to blockers was removed, it made no sense
- Highlighted facets are now rendered in light blue
2021-02-08 17:49:36 +01:00
Vojtech Bubnik
672ed99320
Fix of Hilbert Curve Infill: Unable to slice, PrusaSlicer not responding. #5771
...
Fixed by hard limiting the number of iterations of
reorder_by_two_exchanges_with_segment_flipping()
2021-02-08 17:43:39 +01:00
YuSanka
ba479066b2
Fixed layout of the TreeCtrl for the Printer Settings Tab
2021-02-08 17:30:47 +01:00
Vojtech Bubnik
1f5b7fc162
Fix of a selection of default print / filament / sla print / sla material
...
profile after wizard closes for the first time with the first printer
installed.
2021-02-08 15:56:44 +01:00
enricoturri1966
a94de05499
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-02-08 13:23:34 +01:00
enricoturri1966
c767ce18de
Removed debug code
2021-02-08 13:23:11 +01:00
YuSanka
76291936d7
UnsavedChangesDialog: Fixed warnings
2021-02-08 13:16:06 +01:00
Vojtech Bubnik
de32992b49
Fix of Fan ramp not correct for layer 1 #5893
2021-02-08 12:43:27 +01:00
Vojtech Bubnik
5449e6c549
Fixing some compiler warnings on Linux
2021-02-08 11:58:03 +01:00
Vojtech Bubnik
cbee82dc95
Fix of "infill percentage not changing #5993 "
...
Fix of aa4c018cd5
Infill is a percent, which is a number from 0 to 100, not from 0 to 1.
2021-02-08 11:39:42 +01:00
Lukas Matena
d001195ebd
Restoring custom supports/seams after reload from disk
...
Until now, the custom data were lost.
2021-02-08 09:51:49 +01:00
Lukas Matena
f3c4888291
Added a missing include
2021-02-08 08:13:22 +01:00
Lukas Matena
53539a5993
Added a missing include
2021-02-08 08:10:14 +01:00
YuSanka
e7544ed0c4
Fix of #5888 - Pause Print M117 message not saved after reloading .3mf project
2021-02-05 19:39:28 +01:00
Vojtech Bubnik
aa4c018cd5
Fix of Slicing hangs when Infill Percentage set very low #5910
...
When passing a PrintRegionConfig to the slicing back end, zero an infill
density if it is already nearly zero. This avoids an ugly division by
zero in the infill code and it also makes clear to the back end that
we don't want an infill.
2021-02-05 17:58:55 +01:00
Vojtech Bubnik
c2e956c6d1
3MF and AMF error reporting: Use boost::log instead of printf().
2021-02-05 15:20:23 +01:00
Vojtech Bubnik
298097c814
Improved robustness of stl_fix_normal_directions(stl_file *stl)
...
by further C++isation of the legacy C code.
2021-02-05 14:54:05 +01:00
Vojtech Bubnik
828271d016
Improved AMF/3MF security when parsing invalid meshes.
2021-02-05 14:19:51 +01:00
YuSanka
f9451eaf81
Follow-up 1fff5a624c
: Respect border color to the dark/light mode
...
+ Fixed issue with tooltips for PresetComboBoxes on Windows 2004
2021-02-05 13:26:23 +01:00
enricoturri1966
76a92e40be
Toolpaths rendering - Reduced number of triangles per segment
2021-02-05 11:53:39 +01:00
Vojtech Bubnik
5f86d11c74
EdgeGrid refactoring to support both open and closed contours.
...
Squashed commit of the following:
commit 4e13a8fe19abcc9aae39a9bc4c7953a743196504
Merge: 6ae766409 6f89da1f3
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Fri Feb 5 11:19:35 2021 +0100
Merge remote-tracking branch 'remotes/origin/master' into vb_edgegrid_open_lines
commit 6ae76640942269993c942861f0444088843e3fa1
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Fri Feb 5 11:14:48 2021 +0100
EdgeGrid enhancement to accept both the open and closed lines.
commit 36a5efcd558bd5fd5f46b5f561387a2c73221553
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Fri Feb 5 10:52:14 2021 +0100
EdgeGrid improvements: Documentation, one bug fix after recent refactoring.
commit 6f89da1f39
Author: tamasmeszaros <meszaros.q@gmail.com>
Date: Thu Feb 4 20:31:50 2021 +0100
Disable libicu for boost-regex
Should have been disabled from the beginning
commit ffc77b1a72a0be9b5622fd33defeebb24bf07b34
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Thu Feb 4 18:40:33 2021 +0100
EdgeGrid: Annotated those methods that do not work with open contours.
commit 8039a645b4bf0c46c99b90a9c34e7189d7442f86
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Thu Feb 4 18:28:21 2021 +0100
Refactoring of EdgeGrid structure to support both closed and open lines.
2021-02-05 11:21:04 +01:00
Vojtech Bubnik
819a58579e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-02-04 15:48:44 +01:00
Vojtech Bubnik
ab6cc7085e
WIP Brim improvements:
...
Fix of connecting the brim polylines: Don't connect closed contours.
Some optimizations, documentation etc.
2021-02-04 15:48:36 +01:00
Scott Mudge
1fff5a624c
Add border to filament color in combo box to improve visibility of light filaments.
2021-02-04 06:47:48 -08:00
Vojtech Bubnik
d1dfbb31ab
WIP: Fixing brim generator unit tests by disabling connect_brim_lines()
2021-02-04 13:59:59 +01:00
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
Yuri D'Elia
c6fa06579f
Remove unneeded inclusion of boost::nowide
2021-02-03 20:41:04 +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
Vojtech Bubnik
6d7d482ca1
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
Vojtech Bubnik
979dfe50b8
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
Vojtech Bubnik
c506c15ed4
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
Vojtech Bubnik
b7c8d6db9f
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
Vojtech Bubnik
6d49bc1978
Follow-up to 2bc6679a62
...
Set the printer_technology field.
2021-01-19 15:35:27 +01:00
Vojtech Bubnik
2bc6679a62
Partial revert of 1bffc2b99b
...
(deriving the printer technology from the merged configs).
2021-01-19 15:18:03 +01:00
tamasmeszaros
56e7d83513
Implement exception rethrow for ui jobs
2021-01-19 15:01:20 +01:00
Lukas Matena
a5dc3c4b66
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
Vojtech Bubnik
5294a48ee8
Fix of prusa 2.3.0 crash with 0.25 nozzle #5825
...
Importing a config bundle as a config file was broken for
multi material FDM printers, where a different filament was active
for each extruder.
2021-01-19 09:58:14 +01:00
YuSanka
1efa129b67
Fix of #5619 - Copying Item with Printable Property
2021-01-18 15:19:02 +01:00
enricoturri1966
56d26ad491
ENABLE_SPLITTED_VERTEX_BUFFER - slightly faster indices buffers generation in GCodeViewer::load_toolpaths()
2021-01-18 13:55:45 +01:00
enricoturri1966
3a0aabb924
ENABLE_SPLITTED_VERTEX_BUFFER - small refactoring in GCodeViewer::load_toolpaths()
2021-01-18 11:37:23 +01:00
enricoturri1966
59cabc9712
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-18 09:59:26 +01:00
enricoturri1966
8f1bc02287
ENABLE_SPLITTED_VERTEX_BUFFER - fixed cracks in toolpaths when splitting vertex and index buffers
2021-01-18 09:59:05 +01:00
Vojtech Bubnik
9a2310ae98
Fix of [prusa3d/PrusaSlicer] Remove unnecessary null pointer checks ( #5813 )
...
Don't use
if (ptr)
delete ptr;
call
delete ptr;
directly, it contains the test for null ptr.
2021-01-18 09:33:19 +01:00
Vojtech Bubnik
59911e7c35
Slight improvement in Hilbert infill by using constexpr
2021-01-15 09:34:50 +01:00
Vojtech Bubnik
63e666b8d6
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2021-01-14 12:51:38 +01:00
Vojtech Bubnik
48877614e2
Fix of --scale-to-fit not accepting any input as valid ( #5772 )
...
Fixed parsing of Point3, fortunately Point3 was used at just a single
command line parameter, thus this was not a big deal.
2021-01-14 12:51:28 +01:00
enricoturri1966
f27032f603
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-14 11:38:22 +01:00
enricoturri1966
8bdfb6bbce
ENABLE_SPLITTED_VERTEX_BUFFER - fixed bugs in export of toolpaths to obj files and in index buffer splitting
2021-01-14 11:38:03 +01:00
YuSanka
af6ef2cb8a
Merge remote-tracking branch 'origin/master' into dev
2021-01-13 14:18:55 +01:00
enricoturri1966
bda43e4482
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-13 10:46:11 +01:00
enricoturri1966
67e144f329
ENABLE_SPLITTED_VERTEX_BUFFER - fixed export of toolpaths to obj files
2021-01-13 10:45:52 +01:00
Vojtech Bubnik
293f85b6cf
Fix of Invoking prusa-slicer from $PATH environment variable crashes #5542
...
Also it likely fixes Crashes when started from symbolic link #5751
2021-01-13 09:22:13 +01:00
YuSanka
0369caa9e1
Fix of #5163 and #5505 - Vertical cutting of the preset comboboxes on a sidebar
2021-01-12 14:54:58 +01:00
enricoturri1966
dc781535b2
Code cleanup
2021-01-12 14:34:52 +01:00
enricoturri1966
e443fe49ad
ENABLE_SPLITTED_VERTEX_BUFFER - fixed visualization of last segment for paths whose vertex buffer has been splitted
2021-01-12 14:03:58 +01:00
enricoturri1966
fb7dada01d
1st installment of tech ENABLE_SPLITTED_VERTEX_BUFFER - split vertex buffer when greater than a fixed max size
2021-01-12 09:03:35 +01:00
Sebastian Hammerl
f6f1a3265b
Added conversion to c_str
2021-01-12 08:54:39 +01:00
enricoturri1966
250adabd5c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-12 08:10:17 +01:00
Vojtech Bubnik
7d751753bc
Replaced __linux macro with __linux__
2021-01-11 13:31:30 +01:00
YuSanka
7a1574a853
Fix of #5720 - SL1 Printer Settings->Notes is not updated when switching tab
2021-01-11 13:11:35 +01:00
Vojtech Bubnik
5a1a41096b
Fix of a crash when slicing an object producing no layers and
...
elphant foot compensation is enabled.
2021-01-11 12:20:50 +01:00
Vojtech Bubnik
d46a756b98
Finally fixing the single instance for AppImage
2021-01-11 11:41:22 +01:00
Vojtech Bubnik
a900b7767b
Fix of previous commit
2021-01-11 11:29:27 +01:00
Vojtech Bubnik
7780221683
Fixed "Single instance" locking issue on Linux with AppImage,
...
where the PrusaSlicer binary is mounted at a different mount point
at each AppImage execution.
Fixes Lock files in the local configuration directory are not deleted (#5733 )
2021-01-11 11:14:59 +01:00
Raphael Sobik
2db704917a
Use correct M204 command for acceleration
...
M204 S is not supported for RepRapFrimware (https://duet3d.dozuki.com/Wiki/Gcode#Section_M204_Set_printing_and_travel_accelerations ).
2021-01-11 10:50:18 +01:00
Boleslaw Ciesielski
ecda157c51
Fixed build regression in commit a5882a1a1c
on some Linux platforms. We need to link with GTK libs after all.
2021-01-10 22:39:59 -08:00
Mathias Rasmussen
7db371f4df
remove "Some text"
2021-01-09 14:31:21 +01:00
tamasmeszaros
d19a7fcfad
Increase tolerance for objects being outside print bed.
2021-01-08 10:14:24 +01:00
enricoturri1966
2dfa91eaf9
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-08 08:48:10 +01:00
enricoturri1966
012a76e126
Removed obsolete method declaration in GLCanvas3D
2021-01-08 08:47:33 +01:00
enricoturri1966
2e6a0f1ae3
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-08 08:18:27 +01:00
Vojtech Bubnik
2b02747ec5
On OSX, we use boost::process::spawn() to launch new instances of PrusaSlicer from another PrusaSlicer.
...
boost::process::spawn() sets SIGCHLD to SIGIGN for the child process, thus if a child PrusaSlicer spawns another
subprocess and the subrocess dies, the child PrusaSlicer will not receive information on end of subprocess
(posix waitpid() call will always fail).
https://jmmv.dev/2008/10/boostprocess-and-sigchld.html
The child instance of PrusaSlicer has to reset SIGCHLD to its default, so that posix waitpid() and similar continue to work.
Fixes #5507
2021-01-07 19:14:48 +01:00
Vojtech Bubnik
71808dc006
boost::process::spawn() sets SIGINT to SIGIGN, which collides with boost::process waiting for a child to finish!
...
https://jmmv.dev/2008/10/boostprocess-and-sigchld.html
Thus reset the SIGINT to its default, so that posix waitpid() and similar continue to work.
Fixes Crash on Eject in Second Instance on macOS #5507
2021-01-07 17:38:56 +01:00
Vojtech Bubnik
2ad4447035
Fix of Ejecting of device has failed on Ubuntu Linux #3975
...
Eject failed due to superfluous escaping of spaces in path to the SD card
mount point.
2021-01-07 14:17:09 +01:00
Vojtech Bubnik
4988b93b8d
Merge remote-tracking branch 'remotes/origin/master' into vb_osx_eject
2021-01-07 14:12:40 +01:00
Vojtech Bubnik
8c597e9533
Merge remote-tracking branch 'remotes/origin/dk_refresh' into vb_osx_eject
2021-01-07 14:00:21 +01:00
tamasmeszaros
2505c0a82d
Fix for incorrect text fitting on gtk comboboxes.
...
fixes #4584
2021-01-07 13:38:29 +01:00
David Kocik
df59f9497a
request frame with delay when new notification pushed
2021-01-07 13:33:05 +01:00
tamasmeszaros
a5882a1a1c
success with text ellipsize for combobox
2021-01-07 13:24:26 +01:00
David Kocik
c61a6289c5
update notification before erasing finished ones
2021-01-07 13:16:23 +01:00
Vojtech Bubnik
c227e15794
Fixed compilation on OSX
2021-01-07 13:13:35 +01:00
David Kocik
f43b34fb57
wxWakeUpIdle when render timer ends to ensure idle function spawns and triggers rendering
2021-01-07 12:54:53 +01:00
YuSanka
8e7958da12
Fix of #5698 - When editing presets, list items are always green even if values have changed compared to preset or defaults
2021-01-07 12:26:16 +01:00
Vojtech Bubnik
546fbe1e8e
Fix of previous commit for OSX
2021-01-07 12:19:41 +01:00
Vojtech Bubnik
961abd75e8
Fix of previopus commut
2021-01-07 12:09:47 +01:00
Vojtech Bubnik
18cf1fdb43
Fixing the SD card eject issue on OSX by pushing the call to
...
"diskutil eject" to a worker thread.
Hopefully fixes Ejecting an SD card is slow and locks UI #4844
2021-01-07 12:02:44 +01:00
enricoturri1966
f5c3ca8eea
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-07 11:13:26 +01:00
enricoturri1966
77f6606771
Another refactoring in GCodeViewer::load_toolpaths()
2021-01-07 11:13:07 +01:00
enricoturri1966
83f60a9dd1
Small refactoring in GCodeViewer::load_toolpaths()
2021-01-07 10:11:50 +01:00
enricoturri1966
ebed29708d
Refactoring of GCodeViewer initialization
2021-01-07 09:57:37 +01:00
YuSanka
efd3002ea9
Fix of #5568 - Unselecting more than 10 copies stops at copy 10
...
But really bug was: incorrectly interrupted DnD.
2021-01-07 09:56:43 +01:00
enricoturri1966
27bd79e409
Fixed merging error after merge with master
2021-01-07 09:06:15 +01:00
YuSanka
3070e66aae
Fixed black rects for extruder colors, when we load 3mf project with MM-printer profile and extruder colors is set to the filament colors
...
+ Fixed a bug with updating colors in extruder editors in ObjectList, when we use filaments colors for extruders and some filament profile is switched
2021-01-07 08:52:45 +01:00
enricoturri1966
676540279d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-07 08:24:29 +01:00
Vojtech Bubnik
daa0bbdb0c
Fix of slow update when dragging the vertical slider in G-code viewer
...
with volumetric flow color mapping enabled.
Fixes "Volumetric flow rate computes very slowly #5572 "
2021-01-06 15:32:31 +01:00
YuSanka
939d08af19
Fix of #4532 - "Send G-Code to printer host" dialog box blanks out text on Linux
2021-01-06 12:24:00 +01:00
Vojtech Bubnik
67256d6bb0
Added a FIXME comment for
...
Sequential tool path ordering of multiple parts within the same object, aka. perimeter tracking (#5511 )
2021-01-06 12:19:08 +01:00
Vojtech Bubnik
93a5906a18
Fixed numerical issue with the new algorithm to connect infill lines
...
with perimeters:
1) Increased accuracy of the contour length parametrization from
float to double, as double should capture the difference of
32bit coord_t with full accuracy (or at least very close).
2) The algorithm to insert the T-joint points into the infill perimeter
contour was improved to avoid inserting duplicate points.
2021-01-06 12:18:05 +01:00
Vojtech Bubnik
3c9f3d2b66
Fixing the infill order for concentric infill to outside-in.
...
Relies to:
Concentric Fill Start Point - New Feature Request #4948
Feature Request: Archimedean Chords - Option to define direction of travel (Inside-Out or Outside-In) #5214
2021-01-06 11:05:32 +01:00
Lukas Matena
e733565031
Fix of #5632 (painter gizmos not working correctly with scaled objects)
...
This was broken since 8bcdbb7
.
2021-01-05 17:06:05 +01:00
YuSanka
48c7673cc6
Fix of #5584 - Information text on startup logo
2021-01-05 14:26:10 +01:00
Vojtěch Bubník
57d0f4b4f6
Merge pull request #5544 from hzeller/fix-assignment-of-charliteral-to-writable-charptr
...
Fix assignment of string literals to char*.
2021-01-05 13:11:29 +01:00
Vojtech Bubnik
fb29325b14
Fix of G-code Viewer not loading .gco files #5536
...
".gcode", ".gco", ".g" and ".ngc" were considered to be G-code file
extensions by the G-code import / export file dialogs, but not by
various other functions. Now the G-code extension is tested by
a single function is_gcode_file(string).
2021-01-05 12:26:11 +01:00
enricoturri1966
b93c2aea44
#5690 - Fixed thumbnail generation when a gizmo is active
2021-01-05 11:58:48 +01:00
tamasmeszaros
a629401916
Fix for "bed fill" discarding selected instance transformation.
...
fixes #5621
2021-01-04 20:33:17 +01:00
YuSanka
f119b80341
Fix of #5672 - Dubious grammar when closing Physical Printer dialog
2021-01-04 19:03:34 +01:00
YuSanka
c3f88db392
Fix of #5638
2021-01-04 18:05:20 +01:00
YuSanka
5845957c7d
Fix of second part of #5531
...
From the Win 2004 preset combobox lose a focus after change the preset selection and that is why the up/down arrow doesn't work properly.
So, set the focus to the combobox explicitly.
2021-01-04 16:51:29 +01:00
Vojtech Bubnik
1076e077ce
Fix of Adaptive cubic infill weird behavior #5633
...
Enabling reordering of infill paths for Support Cubic and Adaptive Cubic
infill types.
2021-01-04 15:42:23 +01:00
Lukas Matena
30c8592b10
Do not use ironing extrusions for autospeed calculations ( #5082 )
2021-01-04 14:21:24 +01:00
enricoturri1966
4d3cb19423
5677 - GCodeProcessor accepts gcode line T-1 as valid for RepRapFirmware and RepRapSprinter
2021-01-04 14:21:24 +01:00