e7bb7ce7ad
Another refactoring in GCodeViewer::load_toolpaths()
2021-01-07 11:13:07 +01:00
65928d810d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2021-01-07 08:24:29 +01:00
d1ee2487b7
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
ee39ab8e69
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
f79054580f
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
9d187c06e6
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
29207ef0b7
Fix of #5632 (painter gizmos not working correctly with scaled objects)
...
This was broken since 8bcdbb7 .
2021-01-05 17:06:05 +01:00
1e9ba4b838
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
05f6215f54
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
5525455bfd
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
997e17b326
Do not use ironing extrusions for autospeed calculations ( #5082 )
2021-01-04 14:21:24 +01:00
e43373eade
5677 - GCodeProcessor accepts gcode line T-1 as valid for RepRapFirmware and RepRapSprinter
2021-01-04 14:21:24 +01:00
5bf6a24aa3
Disabled tech ENABLE_RENDER_STATISTICS
2021-01-04 14:21:24 +01:00
20be452332
Hotfix of a crash with raft and one-layer object ( #5652 )
...
The problem is that PrintObject support generator is only run when m_layers.size() > 1, so one-layer object will skip it.
It apparently never worked, after recent refactoring (probably 8bfc986 ) it started to crash in GCode generator.
This commit fixes the crash, but not the problem. The raft is still not generated (like in all versions since 2.0.0 at least).
2021-01-04 14:21:24 +01:00
7904fddb80
Escape special xml characters when writing metadata into the model file
...
This should fix #5577
2021-01-04 14:21:24 +01:00
7775649ca8
Fix of 2.3 rc1 can't load its own 3mf files (if they contain custom gcode) #5550
...
The issue was handling of the special "default_filament_profile" vector,
which is not being normalized in length to the number of extruders,
as this vector is being shown to the user at the Printer dependencies page,
and we don't want to present empty fields there, if the default filament
profile was not defined in the system preset.
2021-01-04 11:13:44 +01:00
703b84b165
Fix of PrusaSlicer hangs on Linux when run with non standard task affinity #5661
2021-01-04 09:03:49 +01:00
6c459418d6
Fixed wrong generation of Adaptive Cubic and Support Cubic infill when infill extrusion width is set in percent.
2020-12-21 14:14:06 +01:00
267477df00
Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled.
2020-12-21 09:15:33 +01:00
286672558c
Fix assignment of string literals to char*.
...
Fix some char *foo = "string literal" assignments that
really should be assigned to const char*.
(they also happen to be constexpr, but that only prevents
to assign something later to foo, but does not alter
the char* type).
Signed-off-by: Henner Zeller <h.zeller@acm.org >
2020-12-20 13:40:25 -08:00
a81b2846e1
Added a missing translation macro
2020-12-18 13:04:28 +01:00
0db4216d09
Fix of #5410 (Ironing untick/tick bug)
...
This is a follow-up of commit b1b7a5a which fixed several similar bugs
2020-12-18 12:44:24 +01:00
b8100c2164
Random seam: optimization and fix of a possible infinite loop
2020-12-17 15:48:25 +01:00
0236d980e1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-17 11:41:54 +01:00
62e24c2833
GCodeViewer - Fixed visualization of time estimates for silent mode
2020-12-17 11:41:41 +01:00
a8269f914f
Fixed buffer overflow in the OBJ parser.
...
Improved error reporting on OBJ parser.
2020-12-17 09:53:21 +01:00
a923d5da26
Improvements of OBJ parser robustness.
2020-12-17 09:17:07 +01:00
c34347c019
Merge branch 'lm_230beta3_fixes'
2020-12-16 13:51:09 +01:00
f4faa81b06
Fixed of unintentional disabling of wipe even in cases when avoid crossing perimeters weren't applied due to exceeding the maximum detour length.
2020-12-16 13:17:09 +01:00
3b6889e3cc
Saving "converted from inches" to 3MF and AMF even if the file source
...
information is empty.
2020-12-16 12:05:29 +01:00
9141495a58
Set limits to the "extrusion_multiplier" value and show warning message, if out of range value was inputted
2020-12-15 21:21:09 +01:00
277f455c71
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-15 15:57:32 +01:00
42571a0c3b
#5415 - Fixed preview when volumetric extrusion is turned on
2020-12-15 15:57:22 +01:00
097724307a
Fix of #5443 - Assigned input file path for ModelVolume also for AMF archives
2020-12-15 14:18:11 +01:00
92f51d554c
Corrected side text for avoid crossing perimeters max detour
2020-12-15 14:03:52 +01:00
dffaa78082
Fixed percentages in avoid crossing perimeters max detour
2020-12-15 13:49:35 +01:00
382f2b109f
Fix of #5450 - Wrong printer preset after loading 3mf project file when having multiple presets for one physical printer
2020-12-15 12:11:20 +01:00
0effc00ed7
Apply avoid crossing perimeters also for supports.
2020-12-15 06:46:44 +01:00
c26ba256bc
Do not remove custom supports/seams when converting units to imperial
2020-12-14 20:27:19 +01:00
79d091ea04
Do not emit M1 gcode for firmwares other than Marlin (after MM priming)
...
The M1 gcode is apparently only supported on Marlin, others do not support it or use it for something else
This should fix #5441
2020-12-14 20:27:19 +01:00
8c5a3bf09c
Merge pull request #5466 from wavexx/include_atomic
...
Include <atomic> for std::atomic where needed
2020-12-14 18:29:13 +01:00
e0edf3f4cc
Configuration layer: Support for vectors of FloatsOrPercents and
...
FloatsOrPercentsNullable, to support further filament overrides
of Print preset values, namely Avoid Crossing Perimeters.
2020-12-14 15:58:47 +01:00
21119dd9d7
Tweaked clamping of max toolpaths width
2020-12-14 15:11:38 +01:00
10d41b737e
#5378 - Do not apply machine limits for non-Marlin firmwares
2020-12-14 14:02:50 +01:00
e3752bd980
Fixed previous merge
2020-12-14 12:49:16 +01:00
99dafc3c7c
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-14 12:47:59 +01:00
09a1eebaf8
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:45:49 +01:00
a3ead5062c
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:36:55 +01:00
4ff8ff96de
Include <atomic> for std::atomic where needed
...
Fixes build on linux using clang 11
2020-12-13 19:41:47 +01:00
3dbb6fa7ad
Fixed retrieving of the "saved in inches" flag from 3MF.
...
Fixed "import STL from Inches" - it should always scale up even if the
object is bigger than 3x3x3mm.
2020-12-12 18:54:34 +01:00