Vojtech Bubnik
3dd9b8c718
Further improvement error reporting with buggy custom G-code sections #1516
...
1) The macro-processor sanitizes the source code line for invalid UTF-8
characters. Ideally these invalid characters would be replaced with ?,
they are just dropped as of now. Better than showing an empty string
when converting to wxString though.
2) G-code export collects full error message for 1st occurence of an error
for each custom G-code block.
3) The composite error message now displays the errors collected in 2).
4) The error window is now scaled bigger and the Slicer logo is smaller
if the text is to be rendered with monospaced font, as the monospaced
text will not be word wrapped.
2020-12-03 12:50:24 +01:00
tamasmeszaros
844ea89432
Fix out of bed items after arrange.
...
Disabled outline decimation for arrange and added very small (EPSILON) safety offset to bed detection boundaries.
2020-12-03 12:00:12 +01:00
Vojtech Bubnik
306acbdfb4
Improvement of Improve error reporting with buggy custom G-code sections #1516
...
Errors in the file output templates are reported in mono-spaced font,
so that the arrow character ^ is displayed at the right column
pointing to the offending spot.
2020-12-03 11:03:16 +01:00
Lukáš Hejl
98055de28c
External paths avoid crossing perimeters of holes
2020-12-03 09:43:21 +01:00
Vojtech Bubnik
0a33aedc3a
Documentation of OctoPrint behind HAProxy with basic auth enabled
...
in the print_host tooltip.
Improves Feature request: support for basic auth for octoprint #650
2020-12-03 08:22:55 +01:00
tamasmeszaros
869ae0247e
Use smarter object function in partial arrangement with empty bed.
2020-12-02 17:53:22 +01:00
tamasmeszaros
2813db8906
Fix for bed filling with some existing items out of bed.
2020-12-02 17:52:40 +01:00
YuSanka
9d34d350a5
Localization: Update POT
...
+ Fixed translation for the "Extruder n" category on the Printer Settings Tab
+ Fixed a crash, when scrolling inside Search imGui with some localization (e.t. Russion)
2020-12-01 16:44:53 +01:00
Lukáš Hejl
f25e5c0ec6
Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
2020-12-01 14:31:22 +01:00
Lukáš Hejl
f0616b0736
Fixed return value of liang_barsky_line_clipping
2020-12-01 14:28:27 +01:00
David Kocik
994b69f19b
cleanup
2020-12-01 12:06:10 +01:00
David Kocik
247f3a7dbe
Set boost to use utf8 for system messages (in cmake). Fix of #5180 .
2020-12-01 12:06:10 +01:00
enricoturri1966
dc736f7855
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-01 08:33:20 +01:00
enricoturri1966
6ae1a10614
#5333 - Reworked navigation of preview's sliders using the keyboard
2020-12-01 08:33:06 +01:00
Vojtech Bubnik
e62bb4a7c7
Fix of Head crash on completion with sequential printing #5349
...
In addition to an existing "layer_z" placeholder variable,
a new "max_layer_z" has been added to custom G-code sections accumulating
maximum of "layer_z" over the print. This value may be used for example
in the end G-code of a sequential print to lift the print head
up before travel over the whole print bed.
2020-12-01 08:23:46 +01:00
Vojtech Bubnik
518cbfa192
Renamed API key / user/password auth choices for SL1
2020-11-30 08:49:09 +01:00
Lukáš Hejl
f917b83706
Fixed compiler warnings
2020-11-29 17:29:11 +01:00
Lukáš Hejl
87879034f6
Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
...
# Conflicts:
# src/libslic3r/MotionPlanner.cpp
# src/libslic3r/libslic3r.h
2020-11-29 17:27:23 +01:00
Lukáš Hejl
dd97eaa812
Fixed case when lslices in Layer is empty
2020-11-29 17:26:02 +01:00
Lukáš Hejl
f16e8f1a72
Fixed uninitialized variable in ElephantFootCompensation
2020-11-29 14:00:34 +01:00
Lukáš Hejl
55c282d85d
Revamp of implementation of the avoid crossing perimeters algorithm.
...
The strategy for the avoid crossing perimeters algorithm has been redesigned. But external travels (travel between objects or supports) have not been solved yet. For these travels is used a direct path between two points.
Much of the code has been reworked, which leads to significant speedup compared to the previous implementation.
Also, several potential bugs have been fixed.
2020-11-29 13:58:36 +01:00
Lukas Matena
ca09bf0805
Fix random seam for single contour islands ( #5003 ) and for external_perimeters_first
2020-11-27 11:33:25 +01:00
Lukas Matena
f485f66b2a
Seam - fix indexing of layers ( #5112 , #5014 )
2020-11-27 10:09:20 +01:00
Lukas Matena
22f93a34a8
Fix horrible complexity of custom seam lookup ( #5067 )
...
- polygons are offset individually
- custom areas are kept separately for each PrintObject
- AABB tree is used to get logN lookup complexity
2020-11-27 10:09:20 +01:00
David Kocik
cbe0b4f0f1
Change log level of boost::filesystem::permisions error code message. Now it shouldnt bother like in #5254
2020-11-26 17:15:26 +01:00
enricoturri1966
00a67ba004
GCode Viewer -> Parse gcode produced by KISSSlicer
2020-11-26 16:07:07 +01:00
tamasmeszaros
dfbf4cbab2
Fix bed filling with more existing instances than needed
2020-11-26 15:11:54 +01:00
enricoturri1966
10fb75edf0
Enabled tech ENABLE_CTRL_M_ON_WINDOWS -> Added customizable support for legacy CTRL+M settings dialog on Windows in preference dialog
2020-11-26 11:00:24 +01:00
Vojtech Bubnik
2314a9e8c7
Fixing compilation issues on conforming compilers
2020-11-26 10:54:18 +01:00
enricoturri1966
67aaf0b78e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-11-26 10:09:53 +01:00
enricoturri1966
e2b4de455b
Customizable association of .3mf, .stl and .gcode files on Windows
2020-11-26 10:09:34 +01:00
Vojtech Bubnik
aa6ddfec85
Added functions to export raw image data to PNG for debugging purposes.
...
Renamed PNGRead.cpp/hpp to PNGReadWrite.cpp,hpp
EdgeGrid: Resurrected debugging output to PNG.
2020-11-26 09:01:44 +01:00
enricoturri1966
7da1622e76
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-11-26 08:43:22 +01:00
enricoturri1966
4d483f323f
GCode Viewer -> Show extimated layer time on the vertical slider for gcode produced by PrusaSlicer 2.3.0, Cura, Simplify3D, CraftWare, ideaMaker
2020-11-26 08:43:04 +01:00
Vojtech Bubnik
3e54c0b775
Gyroid infill: Lowered the threshold to drop infill line segments.
2020-11-25 14:56:11 +01:00
Vojtech Bubnik
e5b3af0e53
Fix of Monotonic infill leaves gaps in top infill where rectilinear does not #5259
...
and Chyba nebo vlastnost výplně Monotonic? #5225
2020-11-25 14:56:11 +01:00
enricoturri1966
f0aa4de20a
Fixed conflicts after merge with master
2020-11-25 12:42:26 +01:00
enricoturri1966
df40f6ba11
ENABLE_GCODE_VIEWER set as default
2020-11-25 10:31:58 +01:00
tamasmeszaros
0bfbe18a3c
Merge branch 'tm_arrange_perf_improve'
2020-11-24 16:20:17 +01:00
Vojtech Bubnik
62bdc192d8
Fix of [2.3.0-alpha4] Crash - several models cause crash when slicing #5208
...
Fixed some issues in internal anchors of the Adaptive Cubic infill.
The ugly and dangerous implicit casting operators in Line, MultiPoint,
Polyline and Polygon were made explicit.
2020-11-24 16:01:08 +01:00
tamasmeszaros
aa64902cf9
Increase arrange accuracy due to errors with large number of objects
2020-11-24 14:42:15 +01:00
tamasmeszaros
30693e29e4
Stop bed filling if enough instances are generated
2020-11-24 14:41:36 +01:00
enricoturri1966
9d71597e05
Fixed conflicts after merge with master
2020-11-24 13:37:52 +01:00
enricoturri1966
44fe3b8a00
Tech ENABLE_DRAG_AND_DROP_FIX -> Apply dialog implemented with 808c43cb4b also to drag and drop of project files into application executable
2020-11-24 13:35:43 +01:00
enricoturri1966
92953acc57
#5236 - Fixed color not correctly shown after slice
...
The bug was introduced with 148f4fe766 which is now replaced by this commit
2020-11-23 17:15:22 +01:00
enricoturri1966
f68cf49f3d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves
2020-11-23 10:11:04 +01:00
Vojtech Bubnik
3a75b0da7f
Update of the perimeter_acceleration tooltip
2020-11-23 09:13:58 +01:00
Paul Arden
003ccf388d
Add a new macro function random(min,max) which will return a random number in the range specified by the parameters. The type of parameters defines the type of the output, if the inputs are doubles then result will be a double and if the inputs are int the output will be in. Uses C++11 random functionality, compiler compatibility on Linux should be checked. Fixes #4001 .
2020-11-22 18:22:48 +11:00
Vojtech Bubnik
f0606c2a76
Merge of https://github.com/prusa3d/PrusaSlicer/pull/2856
...
Add aligned rectilinear infill functionality by @m-schubert
Implements [Feature Request] Aligned rectilinear infill #1938
2020-11-21 14:10:17 +01:00
Vojtech Bubnik
25ca1fcf77
Some minor refactoring / polishing.
2020-11-21 13:16:03 +01:00