Vojtech Bubnik
7d751753bc
Replaced __linux macro with __linux__
2021-01-11 13:31:30 +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
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
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
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
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
enricoturri1966
016042db10
Disabled tech ENABLE_RENDER_STATISTICS
2021-01-04 14:21:24 +01:00
Lukas Matena
837070a246
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
Lukas Matena
6c2ce4b6b6
Escape special xml characters when writing metadata into the model file
...
This should fix #5577
2021-01-04 14:21:24 +01:00
Vojtech Bubnik
2d428198b1
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
Vojtech Bubnik
b002c1485d
Fix of PrusaSlicer hangs on Linux when run with non standard task affinity #5661
2021-01-04 09:03:49 +01:00
Lukáš Hejl
dc2e7aeb4e
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
Lukáš Hejl
181642b85b
Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled.
2020-12-21 09:15:33 +01:00
Henner Zeller
79e041b961
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
Lukas Matena
1cbe2bd87e
Added a missing translation macro
2020-12-18 13:04:28 +01:00
Lukas Matena
8f3baeb1c9
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
Lukas Matena
6e3b4b6fd8
Random seam: optimization and fix of a possible infinite loop
2020-12-17 15:48:25 +01:00
enricoturri1966
ce32d68368
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-17 11:41:54 +01:00
enricoturri1966
b8fc1d3173
GCodeViewer - Fixed visualization of time estimates for silent mode
2020-12-17 11:41:41 +01:00
Vojtech Bubnik
ba9a9b4e7a
Fixed buffer overflow in the OBJ parser.
...
Improved error reporting on OBJ parser.
2020-12-17 09:53:21 +01:00
Vojtech Bubnik
7df9f3e422
Improvements of OBJ parser robustness.
2020-12-17 09:17:07 +01:00
Vojtech Bubnik
4d459f37de
Merge branch 'lm_230beta3_fixes'
2020-12-16 13:51:09 +01:00
Lukáš Hejl
80251e0cf9
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
Vojtech Bubnik
2f71af1ee4
Saving "converted from inches" to 3MF and AMF even if the file source
...
information is empty.
2020-12-16 12:05:29 +01:00
YuSanka
f37b9c4d51
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
enricoturri1966
9704eb6ece
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-15 15:57:32 +01:00
enricoturri1966
dcd69b4ef8
#5415 - Fixed preview when volumetric extrusion is turned on
2020-12-15 15:57:22 +01:00
Lukáš Hejl
d59f345fbb
Fix of #5443 - Assigned input file path for ModelVolume also for AMF archives
2020-12-15 14:18:11 +01:00
Lukáš Hejl
e62f014049
Corrected side text for avoid crossing perimeters max detour
2020-12-15 14:03:52 +01:00
Lukáš Hejl
161fb86c43
Fixed percentages in avoid crossing perimeters max detour
2020-12-15 13:49:35 +01:00
YuSanka
43581059ff
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
Lukáš Hejl
0ca337ac7a
Apply avoid crossing perimeters also for supports.
2020-12-15 06:46:44 +01:00
Lukas Matena
5553762d9c
Do not remove custom supports/seams when converting units to imperial
2020-12-14 20:27:19 +01:00
Lukas Matena
a5d363a9f4
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
Vojtěch Bubník
cbb306c86a
Merge pull request #5466 from wavexx/include_atomic
...
Include <atomic> for std::atomic where needed
2020-12-14 18:29:13 +01:00
Vojtech Bubnik
7b9f2093bb
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
enricoturri1966
cdb05d103a
Tweaked clamping of max toolpaths width
2020-12-14 15:11:38 +01:00
enricoturri1966
9605e235b8
#5378 - Do not apply machine limits for non-Marlin firmwares
2020-12-14 14:02:50 +01:00
Vojtech Bubnik
12303d93d5
Fixed previous merge
2020-12-14 12:49:16 +01:00
Vojtech Bubnik
e90120994e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-14 12:47:59 +01:00
Vojtech Bubnik
b5f95dd4b4
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:45:49 +01:00
Vojtech Bubnik
530148575b
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:36:55 +01:00
Yuri D'Elia
44f71f0ed1
Include <atomic> for std::atomic where needed
...
Fixes build on linux using clang 11
2020-12-13 19:41:47 +01:00
Vojtech Bubnik
9fdf8c8b8d
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